APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xml.internal.utils

public Class NSInfo

extends Object
Class Inheritance

This class holds information about the namespace info of a node. It is used to optimize namespace lookup in a generic DOM.

Field Summary

Modifier and TypeField and Description
public static final int
ANCESTORHASXMLNS

Constant indicating an ancestor has an XMLNS attribute

public static final int
ANCESTORNOXMLNS

Constant indicating ancestors don't have an XMLNS attribute

public static final int
ANCESTORXMLNSUNPROCESSED

Constant for ancestors XMLNS atributes not processed

public int
m_ancestorHasXMLNSAttrs

Flag indicating whether one of this node's ancestor has an XMLNS attribute

public boolean
m_hasProcessedNS

Flag indicating whether namespaces have been processed for this node

public boolean
m_hasXMLNSAttrs

Flag indicating whether this node has an XMLNS attribute

public String
m_namespace

The namespace URI

Constructor Summary

AccessConstructor and Description
public
NSInfo(boolean
Flag indicating whether namespaces have been processed for this node
hasProcessedNS
,
boolean
Flag indicating whether this node has XMLNS attributes.
hasXMLNSAttrs
)

Constructor NSInfo

public
NSInfo(boolean
Flag indicating whether namespaces have been processed for this node
hasProcessedNS
,
boolean
Flag indicating whether this node has XMLNS attributes.
hasXMLNSAttrs
,
int
Flag indicating whether one of this node's ancestor has XMLNS attributes.
ancestorHasXMLNSAttrs
)

Constructor NSInfo

public
NSInfo(String
The namespace URI
namespace
,
boolean
Flag indicating whether this node has XMLNS attributes.
hasXMLNSAttrs
)

Constructor NSInfo

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ANCESTORHASXMLNSback to summary
public static final int ANCESTORHASXMLNS

Constant indicating an ancestor has an XMLNS attribute

ANCESTORNOXMLNSback to summary
public static final int ANCESTORNOXMLNS

Constant indicating ancestors don't have an XMLNS attribute

ANCESTORXMLNSUNPROCESSEDback to summary
public static final int ANCESTORXMLNSUNPROCESSED

Constant for ancestors XMLNS atributes not processed

m_ancestorHasXMLNSAttrsback to summary
public int m_ancestorHasXMLNSAttrs

Flag indicating whether one of this node's ancestor has an XMLNS attribute

m_hasProcessedNSback to summary
public boolean m_hasProcessedNS

Flag indicating whether namespaces have been processed for this node

m_hasXMLNSAttrsback to summary
public boolean m_hasXMLNSAttrs

Flag indicating whether this node has an XMLNS attribute

m_namespaceback to summary
public String m_namespace

The namespace URI

Constructor Detail

NSInfoback to summary
public NSInfo(boolean hasProcessedNS, boolean hasXMLNSAttrs)

Constructor NSInfo

Parameters
hasProcessedNS:boolean

Flag indicating whether namespaces have been processed for this node

hasXMLNSAttrs:boolean

Flag indicating whether this node has XMLNS attributes.

NSInfoback to summary
public NSInfo(boolean hasProcessedNS, boolean hasXMLNSAttrs, int ancestorHasXMLNSAttrs)

Constructor NSInfo

Parameters
hasProcessedNS:boolean

Flag indicating whether namespaces have been processed for this node

hasXMLNSAttrs:boolean

Flag indicating whether this node has XMLNS attributes.

ancestorHasXMLNSAttrs:int

Flag indicating whether one of this node's ancestor has XMLNS attributes.

NSInfoback to summary
public NSInfo(String namespace, boolean hasXMLNSAttrs)

Constructor NSInfo

Parameters
namespace:String

The namespace URI

hasXMLNSAttrs:boolean

Flag indicating whether this node has XMLNS attributes.