org.gjt.xpp.impl.node
public class Node extends StartTag implements XmlNode
Field Summary | |
---|---|
protected Vector | children |
protected int | childrenCount |
protected String[] | declaredNs |
protected int | declaredNsEnd |
protected String[] | declaredPrefixes |
protected String | defaultNamespaceUri |
protected static Enumeration | EMPTY_ENUMERATION |
protected Object | oneChild |
protected XmlNode | parent |
protected Hashtable | prefix2Ns |
Constructor Summary | |
---|---|
Node() |
Method Summary | |
---|---|
void | addDeclaredNamespaces(String[] prefix, int off, int len, String[] namespaceUri) |
void | addNamespaceDeclaration(String prefix, String namespaceUri) |
void | appendChild(Object child) |
Enumeration | children() |
void | ensureChildrenCapacity(int minCapacity) |
void | ensureDeclaredNamespacesCapacity(int minCapacity) |
boolean | equals(Object o) |
Object | getChildAt(int pos) |
int | getChildrenCount() it may need to reconsruct whole subtree to get count ... |
int | getDeclaredNamespaceLength() |
String | getDefaultNamespaceUri() |
XmlNode | getParentNode() |
String | getQNameLocal(String qName) |
String | getQNameUri(String qName) |
void | insertChildAt(int pos, Object child) |
String | namespace2Prefix(String namespaceUri) |
XmlNode | newNode() context sensitive factory method to create the same type of node |
XmlNode | newNode(String namespaceUri, String localName) |
String | prefix2Namespace(String prefix) |
protected void | printFields(StringBuffer buf)
Print into StringBuffer element name |
void | readDeclaredNamespaceUris(String[] uris, int off, int len) |
void | readDeclaredPrefixes(String[] prefixes, int off, int len) |
void | removeChildAt(int pos) |
void | removeChildren() |
void | removeDeclaredNamespaces() |
void | replaceChildAt(int pos, Object child) |
void | resetNode() |
void | setDefaultNamespaceUri(String defaultNamespaceUri) |
void | setParentNode(XmlNode parent) |
String | toString()
Return string representation of start tag including name
and list of attributes. |