public class SMOutputDocument extends SMRootFragment
_active_context, _firstChild, _lastChild, _parent_next| Modifier | Constructor and Description |
|---|---|
protected |
SMOutputDocument(SMOutputContext ctxt) |
protected |
SMOutputDocument(SMOutputContext ctxt,
String version,
String encoding) |
protected |
SMOutputDocument(SMOutputContext ctxt,
String version,
String encoding,
boolean standalone) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDoctypeDecl(String rootName,
String systemId,
String publicId) |
void |
addDoctypeDecl(String rootName,
String systemId,
String publicId,
String intSubset) |
void |
closeRoot()
Method that HAS to be called when all additions have been done
via StaxMate API.
|
_canOutputNewChild, _childReleased, _forceOutput, _output, closeRootAndWriter, getPath_closeAllButLastChild, _closeAndOutputChildren, _forceChildOutput, _linkNewChild, _throwClosed, _throwRelinking, _verifyNamespaceArg, addAndReleaseBuffered, addBuffered, addCData, addCData, addCharacters, addCharacters, addComment, addElement, addElement, addElementWithCharacters, addEntityRef, addProcessingInstruction, addValue, addValue, addValue, addValue, addValue, addValue, createBufferedElement, createBufferedFragment, getContext, getNamespace, getNamespace, getParent, getPath, setIndentation_linkNext, getNextprotected SMOutputDocument(SMOutputContext ctxt) throws XMLStreamException
XMLStreamExceptionprotected SMOutputDocument(SMOutputContext ctxt, String version, String encoding) throws XMLStreamException
XMLStreamExceptionprotected SMOutputDocument(SMOutputContext ctxt, String version, String encoding, boolean standalone) throws XMLStreamException
XMLStreamExceptionpublic void addDoctypeDecl(String rootName, String systemId, String publicId) throws XMLStreamException
XMLStreamExceptionpublic void addDoctypeDecl(String rootName, String systemId, String publicId, String intSubset) throws XMLStreamException
XMLStreamExceptionpublic void closeRoot()
throws XMLStreamException
closeRoot in class SMRootFragmentXMLStreamExceptionCopyright © 2025 FasterXML. All rights reserved.