org.apache.xml.serialize
Class ElementState
java.lang.Object
org.apache.xml.serialize.ElementState
public class ElementState
extends java.lang.Object
Holds the state of the currently serialized element.
$Revision: 476047 $ $Date: 2006-11-16 23:27:45 -0500 (Thu, 16 Nov 2006) $ 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).
|
afterComment
public boolean afterComment
True if the last serialized node was a comment node.
afterElement
public boolean afterElement
True if the last serialized node was an element node.
doCData
public boolean doCData
True if textual content of current element should be
serialized as CDATA section.
empty
public boolean empty
True if element is empty. Turns false immediately
after serializing the first contents of the element.
inCData
public boolean inCData
True while inside CData and printing text as CData.
localName
public String localName
The element's local tag name.
namespaceURI
public String namespaceURI
The element's namespace URI.
prefixes
public Hashtable prefixes
Association between namespace URIs (keys) and prefixes (values).
preserveSpace
public boolean preserveSpace
True if element is space preserving.
rawName
public String rawName
The element's raw tag name (local or prefix:local).
unescaped
public boolean unescaped
True if textual content of current element should be
serialized as raw characters (unescaped).
Copyright © 1999-2007 The Apache Software Foundation. All Rights Reserved.