org.beanio.parser.xml
Class XmlRecordDefinition
java.lang.Object
org.beanio.parser.NodeDefinition
org.beanio.parser.RecordDefinition
org.beanio.parser.xml.XmlRecordDefinition
public class XmlRecordDefinition
- extends RecordDefinition
Record definition for XML formatted streams.
- Since:
- 1.1
- Author:
- Kevin Seim
Method Summary |
Object |
formatBean(Node parent,
Object bean)
Formats the given bean into XML and appends the resulting DOM nodes
to the given parent node. |
XmlRecordDefinition
public XmlRecordDefinition()
- Constructs a new XmlRecordDefinition.
formatBean
public Object formatBean(Node parent,
Object bean)
- Formats the given bean into XML and appends the resulting DOM nodes
to the given parent node.
- Parameters:
parent
- the parent node to append the formatted XML tobean
- the bean object to format
- Returns:
- the parent node
Copyright © 2010-2012 Kevin Seim