Package org.apache.xml.serialize
Class ElementState
java.lang.Object
org.apache.xml.serialize.ElementState
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.
- Version:
- $Revision: 476047 $ $Date: 2006-11-17 09:57:45 +0530 (Fri, 17 Nov 2006) $
- Author:
- Assaf Arkin
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
Deprecated.True if the last serialized node was a comment node.boolean
Deprecated.True if the last serialized node was an element node.boolean
Deprecated.True if textual content of current element should be serialized as CDATA section.boolean
Deprecated.True if element is empty.boolean
Deprecated.True while inside CData and printing text as CData.Deprecated.The element's local tag name.Deprecated.The element's namespace URI.Deprecated.Association between namespace URIs (keys) and prefixes (values).boolean
Deprecated.True if element is space preserving.Deprecated.The element's raw tag name (local or prefix:local).boolean
Deprecated.True if textual content of current element should be serialized as raw characters (unescaped). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
rawName
Deprecated.The element's raw tag name (local or prefix:local). -
localName
Deprecated.The element's local tag name. -
namespaceURI
Deprecated.The element's namespace URI. -
preserveSpace
public boolean preserveSpaceDeprecated.True if element is space preserving. -
empty
public boolean emptyDeprecated.True if element is empty. Turns false immediately after serializing the first contents of the element. -
afterElement
public boolean afterElementDeprecated.True if the last serialized node was an element node. -
afterComment
public boolean afterCommentDeprecated.True if the last serialized node was a comment node. -
doCData
public boolean doCDataDeprecated.True if textual content of current element should be serialized as CDATA section. -
unescaped
public boolean unescapedDeprecated.True if textual content of current element should be serialized as raw characters (unescaped). -
inCData
public boolean inCDataDeprecated.True while inside CData and printing text as CData. -
prefixes
Deprecated.Association between namespace URIs (keys) and prefixes (values).
-
-
Constructor Details
-
ElementState
public ElementState()Deprecated.
-