Deprecated
As of JDK 9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
is replaced by that of Xalan. Main class
com. is replaced
by com..
BaseMarkupSerializer
| Modifier and Type | Field and Description |
|---|---|
| public boolean | afterComment
True if the last serialized node was a comment node. |
| public boolean | afterElement
True if the last serialized node was an element node. |
| public boolean | doCData
True if textual content of current element should be serialized as CDATA section. |
| public boolean | empty
True if element is empty. |
| public boolean | inCData
True while inside CData and printing text as CData. |
| public String | localName
The element's local tag name. |
| public String | namespaceURI
The element's namespace URI. |
| public Map | prefixes
Association between namespace URIs (keys) and prefixes (values). |
| public boolean | preserveSpace
True if element is space preserving. |
| public String | rawName
The element's raw tag name (local or prefix:local). |
| public boolean | unescaped
True if textual content of current element should be serialized as raw characters (unescaped). |
| Access | Constructor and Description |
|---|---|
| public |
| afterComment | back to summary |
|---|---|
| public boolean afterComment True if the last serialized node was a comment node. | |
| afterElement | back to summary |
|---|---|
| public boolean afterElement True if the last serialized node was an element node. | |
| doCData | back to summary |
|---|---|
| public boolean doCData True if textual content of current element should be serialized as CDATA section. | |
| empty | back to summary |
|---|---|
| public boolean empty True if element is empty. Turns false immediately after serializing the first contents of the element. | |
| inCData | back to summary |
|---|---|
| public boolean inCData True while inside CData and printing text as CData. | |
| localName | back to summary |
|---|---|
| public String localName The element's local tag name. | |
| namespaceURI | back to summary |
|---|---|
| public String namespaceURI The element's namespace URI. | |
| prefixes | back to summary |
|---|---|
| public Map<String, String> prefixes Association between namespace URIs (keys) and prefixes (values). | |
| preserveSpace | back to summary |
|---|---|
| public boolean preserveSpace True if element is space preserving. | |
| rawName | back to summary |
|---|---|
| public String rawName The element's raw tag name (local or prefix:local). | |
| unescaped | back to summary |
|---|---|
| public boolean unescaped True if textual content of current element should be serialized as raw characters (unescaped). | |
| ElementState | back to summary |
|---|---|
| public ElementState() | |