|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.stream.xml.XmlRecordMarshaller
public class XmlRecordMarshaller
A RecordMarshaller
implementation for XML formatted records.
Field Summary | |
---|---|
static String |
IS_NAMESPACE_IGNORED
The DOM user data key to indicate whether the namespace of a DOM element should be ignored when writing to the output stream. |
Constructor Summary | |
---|---|
XmlRecordMarshaller()
Constructs a new XmlRecordMarshaller. |
|
XmlRecordMarshaller(XmlParserConfiguration config)
Constructs a new XmlRecordMarshaller. |
Method Summary | |
---|---|
protected String |
marshal(Document document)
Marshals a Document . |
String |
marshal(Object record)
Marshals a single record object to a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String IS_NAMESPACE_IGNORED
Constructor Detail |
---|
public XmlRecordMarshaller()
public XmlRecordMarshaller(XmlParserConfiguration config)
config
- the XmlParserConfiguration
Method Detail |
---|
public String marshal(Object record) throws RecordIOException
RecordMarshaller
marshal
in interface RecordMarshaller
record
- the record object to marshal
RecordIOException
protected String marshal(Document document) throws XMLStreamException
Document
.
document
- the Document
to marshal
XMLStreamException
|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |