public class OMResult
extends javax.xml.transform.sax.SAXResult
Result for AXIOM.
The implementation is based on SAXResult and transforms the stream
of SAX events to an AXIOM tree using SAXOMBuilder.
Note that building OMDocType nodes from DTD information is
not supported.
| Modifier and Type | Field and Description |
|---|---|
private SAXOMBuilder |
builder |
| Constructor and Description |
|---|
OMResult() |
OMResult(OMFactory omFactory) |
| Modifier and Type | Method and Description |
|---|---|
OMDocument |
getDocument() |
OMElement |
getRootElement() |
private final SAXOMBuilder builder
public OMResult(OMFactory omFactory)
public OMResult()
public OMDocument getDocument()
public OMElement getRootElement()