org.apache.xml.utils
Class NSInfo
This class holds information about the namespace info
of a node. It is used to optimize namespace lookup in
a generic DOM.
NSInfo(String namespace, boolean hasXMLNSAttrs) - Constructor NSInfo
|
NSInfo(boolean hasProcessedNS, boolean hasXMLNSAttrs) - Constructor NSInfo
|
NSInfo(boolean hasProcessedNS, boolean hasXMLNSAttrs, int ancestorHasXMLNSAttrs) - Constructor NSInfo
|
ANCESTORHASXMLNS
public static final int ANCESTORHASXMLNS
Constant indicating an ancestor has an XMLNS attribute
ANCESTORNOXMLNS
public static final int ANCESTORNOXMLNS
Constant indicating ancestors don't have an XMLNS attribute
ANCESTORXMLNSUNPROCESSED
public static final int ANCESTORXMLNSUNPROCESSED
Constant for ancestors XMLNS atributes not processed
m_ancestorHasXMLNSAttrs
public int m_ancestorHasXMLNSAttrs
Flag indicating whether one of this node's ancestor has an XMLNS attribute
m_hasProcessedNS
public boolean m_hasProcessedNS
Flag indicating whether namespaces have been processed for this node
m_hasXMLNSAttrs
public boolean m_hasXMLNSAttrs
Flag indicating whether this node has an XMLNS attribute
m_namespace
public String m_namespace
The namespace URI
NSInfo
public NSInfo(String namespace,
boolean hasXMLNSAttrs)
Constructor NSInfo
namespace
- The namespace URIhasXMLNSAttrs
- Flag indicating whether this node
has XMLNS attributes.
NSInfo
public NSInfo(boolean hasProcessedNS,
boolean hasXMLNSAttrs)
Constructor NSInfo
hasProcessedNS
- Flag indicating whether namespaces
have been processed for this nodehasXMLNSAttrs
- Flag indicating whether this node
has XMLNS attributes.
NSInfo
public NSInfo(boolean hasProcessedNS,
boolean hasXMLNSAttrs,
int ancestorHasXMLNSAttrs)
Constructor NSInfo
hasProcessedNS
- Flag indicating whether namespaces
have been processed for this nodehasXMLNSAttrs
- Flag indicating whether this node
has XMLNS attributes.
Copyright B) 2004 Apache XML Project. All Rights Reserved.