BeanIO 1.2.3

org.beanio.parser.xml
Class XmlRecordDefinition

java.lang.Object
  extended by org.beanio.parser.NodeDefinition
      extended by org.beanio.parser.RecordDefinition
          extended by org.beanio.parser.xml.XmlRecordDefinition

public class XmlRecordDefinition
extends RecordDefinition

Record definition for XML formatted streams.

Since:
1.1
Author:
Kevin Seim

Constructor Summary
XmlRecordDefinition()
          Constructs a new XmlRecordDefinition.
 
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.
 
Methods inherited from class org.beanio.parser.RecordDefinition
findDefinitionFor, formatBean, getBeanDefinition, getChildren, isRecordDefinition, matches, parseBean, setBeanDefinition, toString, validateRecord
 
Methods inherited from class org.beanio.parser.NodeDefinition
getMaxOccurs, getMinOccurs, getName, getOrder, setMaxOccurs, setMinOccurs, setName, setOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlRecordDefinition

public XmlRecordDefinition()
Constructs a new XmlRecordDefinition.

Method Detail

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 to
bean - the bean object to format
Returns:
the parent node

BeanIO 1.2.3

Copyright © 2010-2012 Kevin Seim