public class NSInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ANCESTORHASXMLNS
Constant indicating an ancestor has an XMLNS attribute
|
static int |
ANCESTORNOXMLNS
Constant indicating ancestors don't have an XMLNS attribute
|
static int |
ANCESTORXMLNSUNPROCESSED
Constant for ancestors XMLNS atributes not processed
|
int |
m_ancestorHasXMLNSAttrs
Flag indicating whether one of this node's ancestor has an XMLNS attribute
|
boolean |
m_hasProcessedNS
Flag indicating whether namespaces have been processed for this node
|
boolean |
m_hasXMLNSAttrs
Flag indicating whether this node has an XMLNS attribute
|
String |
m_namespace
The namespace URI
|
Constructor and Description |
---|
NSInfo(boolean hasProcessedNS,
boolean hasXMLNSAttrs)
Constructor NSInfo
|
NSInfo(boolean hasProcessedNS,
boolean hasXMLNSAttrs,
int ancestorHasXMLNSAttrs)
Constructor NSInfo
|
NSInfo(String namespace,
boolean hasXMLNSAttrs)
Constructor NSInfo
|
public String m_namespace
public boolean m_hasXMLNSAttrs
public boolean m_hasProcessedNS
public int m_ancestorHasXMLNSAttrs
public static final int ANCESTORXMLNSUNPROCESSED
public static final int ANCESTORHASXMLNS
public static final int ANCESTORNOXMLNS
public NSInfo(boolean hasProcessedNS, boolean hasXMLNSAttrs)
hasProcessedNS
- Flag indicating whether namespaces
have been processed for this nodehasXMLNSAttrs
- Flag indicating whether this node
has XMLNS attributes.public NSInfo(boolean hasProcessedNS, boolean hasXMLNSAttrs, int ancestorHasXMLNSAttrs)
hasProcessedNS
- Flag indicating whether namespaces
have been processed for this nodehasXMLNSAttrs
- Flag indicating whether this node
has XMLNS attributes.ancestorHasXMLNSAttrs
- Flag indicating whether one of this node's
ancestor has XMLNS attributes.public NSInfo(String namespace, boolean hasXMLNSAttrs)
namespace
- The namespace URIhasXMLNSAttrs
- Flag indicating whether this node
has XMLNS attributes.Copyright © 2018 JBoss by Red Hat. All rights reserved.