org.apache.xml.serialize
Class ElementState
public
class
ElementState
extends Object
Holds the state of the currently serialized element.
Version: $Revision: 1.11 $ $Date: 2004/02/24 23:34:03 $
Author: Assaf Arkin
See Also: BaseMarkupSerializer
Field Summary |
boolean | afterComment
True if the last serialized node was a comment node. |
boolean | afterElement
True if the last serialized node was an element node. |
boolean | doCData
True if textual content of current element should be
serialized as CDATA section. |
boolean | empty
True if element is empty. |
boolean | inCData
True while inside CData and printing text as CData. |
String | localName
The element's local tag name. |
String | namespaceURI
The element's namespace URI. |
Hashtable | prefixes
Association between namespace URIs (keys) and prefixes (values). |
boolean | preserveSpace
True if element is space preserving. |
String | rawName
The element's raw tag name (local or prefix:local). |
boolean | unescaped
True if textual content of current element should be
serialized as raw characters (unescaped). |
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. Turns false immediately
after serializing the first contents of the element.
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 Hashtable 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).
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.