| 
 | BeanIO 1.2.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.parser.Record
org.beanio.parser.xml.XmlRecord
public class XmlRecord
Record used for parsing XML input streams. A XML record is represented by a document object model (DOM).
| Constructor Summary | |
|---|---|
| XmlRecord()Constructs a new XmlRecord. | |
| Method Summary | |
|---|---|
|  void | clear()Clears the current state of the record before the next record is read. | 
|  Document | getDocument()Returns the XML document object model (DOM) for the current record. | 
|  Node | getPosition()Returns the parent node currently being parsed in the DOM tree. | 
|  Element | getPreviousElement()Returns the last parsed DOM element for a field or bean collection. | 
|  void | popField()Pops the last field from the stack. | 
|  void | pushField()Pushes a field onto the stack. | 
|  void | setPosition(Node position)Sets the parent node currently being parsed in the DOM tree. | 
|  void | setPreviousElement(Element e)Sets the last parsed DOM element for a field or bean collection. | 
|  void | setValue(Object value)Sets the value of the record as returned from the RecordReader | 
| Methods inherited from class org.beanio.parser.Record | 
|---|
| addFieldError, addFieldErrorMessage, addRecordError, addRecordErrorMessage, getContext, getFieldOffset, getFieldOffsets, getFieldText, getFieldText, getLocale, getRecordLineNumber, getRecordName, getRecordText, hasFieldErrors, hasFieldErrors, hasRecordErrors, setFieldOffset, setFieldText, setLineNumber, setLocale, setMessageContext, setRecordName, setRecordText, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public XmlRecord()
| Method Detail | 
|---|
public void clear()
Record
clear in class Recordpublic void setValue(Object value)
Record
setValue in class Recordvalue - the record value read by a record readerRecordReaderpublic void pushField()
Record
pushField in class Recordpublic void popField()
Record
popField in class Recordpublic Element getPreviousElement()
public void setPreviousElement(Element e)
e - the last parsed elementpublic Document getDocument()
public Node getPosition()
public void setPosition(Node position)
position - the current parent DOM node| 
 | BeanIO 1.2.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||