| Modifier and Type | Field and Description |
|---|---|
| private Node | |
| private int | |
| private NamespaceSupport | |
| private boolean[] | |
| private Node | |
| private Document | |
| private int | |
| private StringBuffer |
| Access | Constructor and Description |
|---|---|
| public | XMLDOMWriterImpl(DOMResult
DOMResult object @javax.xml.transform.dom.DOMResult result)Creates a new instance of XMLDOMwriterImpl |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public NamespaceContext | getNamespaceContext()
Implements javax. Returns the current namespace context. |
| private Node | |
| public String | getPrefix(String namespaceURI)
Implements javax. Gets the prefix the uri is bound to. |
| public Object | getProperty(String str)
Implements javax. Is not supported in this implementation. |
| private String | |
| private void | |
| public void | setDefaultNamespace(String uri)
Implements javax. Is not supported in this version of the implementation. |
| public void | setNamespaceContext(NamespaceContext namespaceContext)
Implements javax. Sets the current namespace context for prefix and uri bindings. |
| public void | setPrefix(String prefix, String uri)
Implements javax. Is not supported in this version of the implementation. |
| public void | writeAttribute(String localName, String value)
Implements javax. Creates a DOM Attribute |
| public void | writeAttribute(String namespaceURI, String localName, String value)
Implements javax. Creates a DOM Attribute |
| public void | writeAttribute(String prefix, String namespaceURI, String localName, String value)
Implements javax. Creates a DOM Attribute |
| public void | writeCData(String data)
Implements javax. Creates a CDATA object |
| public void | writeCharacters(String charData)
Implements javax. Creates a character object |
| public void | writeCharacters(char[] values, int param, int param2)
Implements javax. Creates a character object |
| public void | writeComment(String str)
Implements javax. Creates a Comment object |
| public void | writeDefaultNamespace(String namespaceURI)
Implements javax. Creates a DOM attribute and adds it to the current element in the DOM tree. |
| public void | writeDTD(String str)
Implements javax. This method is not supported in this implementation. |
| public void | writeEmptyElement(String localName)
Implements javax. creates a DOM Element and appends it to the current element in the tree. |
| public void | writeEmptyElement(String namespaceURI, String localName)
Implements javax. creates a DOM Element and appends it to the current element in the tree. |
| public void | writeEmptyElement(String prefix, String localName, String namespaceURI)
Implements javax. creates a DOM Element and appends it to the current element in the tree. |
| public void | writeEndDocument()
Implements javax. Will reset current Node pointer maintained by the implementation. |
| public void | writeEndElement()
Implements javax. Internal current Node pointer will point to the parent of the current Node. |
| public void | writeEntityRef(String name)
Implements javax. Is not supported in this implementation. |
| public void | writeNamespace(String prefix, String namespaceURI)
Implements javax. creates a namespace attribute and will associate it with the current element in the DOM tree. |
| public void | writeProcessingInstruction(String target)
Implements javax. is not supported in this release. |
| public void | writeProcessingInstruction(String target, String data)
Implements javax. is not supported in this release. |
| public void | writeStartDocument()
Implements javax. will set version on the Document object when the DOM Node passed to this implementation supports DOM Level3 API's. |
| public void | writeStartDocument(String version)
Implements javax. will set version on the Document object when the DOM Node passed to this implementation supports DOM Level3 API's. |
| public void | writeStartDocument(String encoding, String version)
Implements javax. will set version on the Document object when the DOM Node passed to this implementation supports DOM Level3 API's. |
| public void | writeStartDocument(String encoding, String version, boolean standalone, boolean standaloneSet)
Implements com. Writes the XML declaration. |
| public void | writeStartElement(String localName)
Implements javax. creates a DOM Element and appends it to the current element in the tree. |
| public void | writeStartElement(String namespaceURI, String localName)
Implements javax. creates a DOM Element and appends it to the current element in the tree. |
| public void | writeStartElement(String prefix, String localName, String namespaceURI)
Implements javax. creates a DOM Element and appends it to the current element in the tree. |
| currentNode | back to summary |
|---|---|
| private Node currentNode | |
| depth | back to summary |
|---|---|
| private int depth | |
| namespaceContext | back to summary |
|---|---|
| private NamespaceSupport namespaceContext | |
| needContextPop | back to summary |
|---|---|
| private boolean[] needContextPop | |
| node | back to summary |
|---|---|
| private Node node | |
| ownerDoc | back to summary |
|---|---|
| private Document ownerDoc | |
| resizeValue | back to summary |
|---|---|
| private int resizeValue | |
| stringBuffer | back to summary |
|---|---|
| private StringBuffer stringBuffer | |
| XMLDOMWriterImpl | back to summary |
|---|---|
| public XMLDOMWriterImpl(DOMResult result) Creates a new instance of XMLDOMwriterImpl
| |
| close | back to summary |
|---|---|
| public void close() throws XMLStreamException Implements javax. This method has no effect when called.
| |
| flush | back to summary |
|---|---|
| public void flush() throws XMLStreamException Implements javax. This method has no effect when called.
| |
| getNamespaceContext | back to summary |
|---|---|
| public NamespaceContext getNamespaceContext() Implements javax. Doc from javax. Returns the current namespace context. | |
| getNode | back to summary |
|---|---|
| private Node getNode() | |
| getPrefix | back to summary |
|---|---|
| public String getPrefix(String namespaceURI) throws XMLStreamException Implements javax. Doc from javax. Gets the prefix the uri is bound to.
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String str) throws IllegalArgumentException Implements javax. Is not supported in this implementation.
| |
| getQName | back to summary |
|---|---|
| private String getQName(String prefix, String localName) | |
| incDepth | back to summary |
|---|---|
| private void incDepth() | |
| setDefaultNamespace | back to summary |
|---|---|
| public void setDefaultNamespace(String uri) throws XMLStreamException Implements javax. Is not supported in this version of the implementation.
| |
| setNamespaceContext | back to summary |
|---|---|
| public void setNamespaceContext(NamespaceContext namespaceContext) throws XMLStreamException Implements javax. Doc from javax. Sets the current namespace context for prefix and uri bindings. This context becomes the root namespace context for writing and will replace the current root namespace context. Subsequent calls to setPrefix and setDefaultNamespace will bind namespaces using the context passed to the method as the root context for resolving namespaces. This method may only be called once at the start of the document. It does not cause the namespaces to be declared. If a namespace URI to prefix mapping is found in the namespace context it is treated as declared and the prefix may be used by the StreamWriter.
| |
| setPrefix | back to summary |
|---|---|
| public void setPrefix(String prefix, String uri) throws XMLStreamException Implements javax. Is not supported in this version of the implementation.
| |
| writeAttribute | back to summary |
|---|---|
| public void writeAttribute(String localName, String value) throws XMLStreamException Implements javax. Creates a DOM Attribute
| |
| writeAttribute | back to summary |
|---|---|
| public void writeAttribute(String namespaceURI, String localName, String value) throws XMLStreamException Implements javax. Creates a DOM Attribute
| |
| writeAttribute | back to summary |
|---|---|
| public void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException Implements javax. Creates a DOM Attribute
| |
| writeCData | back to summary |
|---|---|
| public void writeCData(String data) throws XMLStreamException Implements javax. Creates a CDATA object
| |
| writeCharacters | back to summary |
|---|---|
| public void writeCharacters(String charData) throws XMLStreamException Implements javax. Creates a character object
| |
| writeCharacters | back to summary |
|---|---|
| public void writeCharacters(char[] values, int param, int param2) throws XMLStreamException Implements javax. Creates a character object
| |
| writeComment | back to summary |
|---|---|
| public void writeComment(String str) throws XMLStreamException Implements javax. Creates a Comment object
| |
| writeDefaultNamespace | back to summary |
|---|---|
| public void writeDefaultNamespace(String namespaceURI) throws XMLStreamException Implements javax. Creates a DOM attribute and adds it to the current element in the DOM tree.
| |
| writeDTD | back to summary |
|---|---|
| public void writeDTD(String str) throws XMLStreamException Implements javax. This method is not supported in this implementation.
| |
| writeEmptyElement | back to summary |
|---|---|
| public void writeEmptyElement(String localName) throws XMLStreamException Implements javax. creates a DOM Element and appends it to the current element in the tree.
| |
| writeEmptyElement | back to summary |
|---|---|
| public void writeEmptyElement(String namespaceURI, String localName) throws XMLStreamException Implements javax. creates a DOM Element and appends it to the current element in the tree.
| |
| writeEmptyElement | back to summary |
|---|---|
| public void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException Implements javax. creates a DOM Element and appends it to the current element in the tree.
| |
| writeEndDocument | back to summary |
|---|---|
| public void writeEndDocument() throws XMLStreamException Implements javax. Will reset current Node pointer maintained by the implementation.
| |
| writeEndElement | back to summary |
|---|---|
| public void writeEndElement() throws XMLStreamException Implements javax. Internal current Node pointer will point to the parent of the current Node.
| |
| writeEntityRef | back to summary |
|---|---|
| public void writeEntityRef(String name) throws XMLStreamException Implements javax. Is not supported in this implementation.
| |
| writeNamespace | back to summary |
|---|---|
| public void writeNamespace(String prefix, String namespaceURI) throws XMLStreamException Implements javax. creates a namespace attribute and will associate it with the current element in the DOM tree.
| |
| writeProcessingInstruction | back to summary |
|---|---|
| public void writeProcessingInstruction(String target) throws XMLStreamException Implements javax. is not supported in this release.
| |
| writeProcessingInstruction | back to summary |
|---|---|
| public void writeProcessingInstruction(String target, String data) throws XMLStreamException Implements javax. is not supported in this release.
| |
| writeStartDocument | back to summary |
|---|---|
| public void writeStartDocument() throws XMLStreamException Implements javax. will set version on the Document object when the DOM Node passed to this implementation supports DOM Level3 API's.
| |
| writeStartDocument | back to summary |
|---|---|
| public void writeStartDocument(String version) throws XMLStreamException Implements javax. will set version on the Document object when the DOM Node passed to this implementation supports DOM Level3 API's.
| |
| writeStartDocument | back to summary |
|---|---|
| public void writeStartDocument(String encoding, String version) throws XMLStreamException Implements javax. will set version on the Document object when the DOM Node passed to this implementation supports DOM Level3 API's.
| |
| writeStartDocument | back to summary |
|---|---|
| public void writeStartDocument(String encoding, String version, boolean standalone, boolean standaloneSet) throws XMLStreamException Implements com. Doc from com. Writes the XML declaration.
| |
| writeStartElement | back to summary |
|---|---|
| public void writeStartElement(String localName) throws XMLStreamException Implements javax. creates a DOM Element and appends it to the current element in the tree.
| |
| writeStartElement | back to summary |
|---|---|
| public void writeStartElement(String namespaceURI, String localName) throws XMLStreamException Implements javax. creates a DOM Element and appends it to the current element in the tree.
| |
| writeStartElement | back to summary |
|---|---|
| public void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException Implements javax. creates a DOM Element and appends it to the current element in the tree.
| |