java.lang.Object | |
↳ | org.apache.xml.serialize.ElementState |
This class is deprecated.
This class was deprecated in Xerces 2.9.0. It is recommended
that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation
API for XML (TrAX) for serializing XML. See the Xerces documentation for more
information.
Holds the state of the currently serialized element.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
afterComment | True if the last serialized node was a comment node. | ||||||||||
afterElement | True if the last serialized node was an element node. | ||||||||||
doCData | True if textual content of current element should be serialized as CDATA section. | ||||||||||
empty | True if element is empty. | ||||||||||
inCData | True while inside CData and printing text as CData. | ||||||||||
localName | The element's local tag name. | ||||||||||
namespaceURI | The element's namespace URI. | ||||||||||
prefixes | Association between namespace URIs (keys) and prefixes (values). | ||||||||||
preserveSpace | True if element is space preserving. | ||||||||||
rawName | The element's raw tag name (local or prefix:local). | ||||||||||
unescaped | True if textual content of current element should be serialized as raw characters (unescaped). |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
True if the last serialized node was a comment node.
True if the last serialized node was an element node.
True if textual content of current element should be serialized as CDATA section.
True if element is empty. Turns false immediately after serializing the first contents of the element.
True while inside CData and printing text as CData.
True if element is space preserving.
True if textual content of current element should be serialized as raw characters (unescaped).