|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to arbitrary source of XML element data. This provides the hook for using a general data source (such as data binding frameworks) as the backing source of data for an element.
Method Summary | |
javax.xml.stream.XMLStreamReader |
getReader()
Get parser for element data. |
void |
serialize(java.io.OutputStream output,
OMOutputFormat format)
Serializes element data directly to stream. |
void |
serialize(java.io.Writer writer,
OMOutputFormat format)
Serializes element data directly to writer. |
void |
serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
Serializes element data directly to StAX writer. |
Method Detail |
public void serialize(java.io.OutputStream output, OMOutputFormat format) throws javax.xml.stream.XMLStreamException
output
- destination stream for element XML textformat
- output format information (null
if none; may be ignored if not
supported by data binding even if supplied)
javax.xml.stream.XMLStreamException
public void serialize(java.io.Writer writer, OMOutputFormat format) throws javax.xml.stream.XMLStreamException
writer
- destination writer for element XML textformat
- output format information (null
if none; may be ignored if not
supported by data binding even if supplied)
javax.xml.stream.XMLStreamException
public void serialize(javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException
xmlWriter
- destination writer
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamReader getReader() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |