|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xpath.model.NodeName
A NodeName represents the name of a XPath node. NodeNames are created and managed by a NodeNamePool.
NodeNamePool
Field Summary | |
int |
index
|
static int |
INVALID_ID
|
boolean |
isXmlSpace
|
String |
localName
|
int |
nameId
|
String |
namespaceUri
|
int |
namespaceUriId
|
(package private) NodeName |
next_
|
String |
prefix
|
String |
qname
|
Constructor Summary | |
(package private) |
NodeName(NodeName nodeName,
String qname,
int index)
Create a copy of a NodeName with a non null namespace uri. |
(package private) |
NodeName(String namespaceUri,
String localName,
String qname,
int namespaceUriId,
int nameId,
int index)
Create a NodeName. |
Method Summary | |
Object |
clone()
Return a copy of the NodeName. |
boolean |
equalsName(String namespaceUri,
String localName)
Test if the NodeName has the same uri and local name. |
boolean |
isCDataSectionName()
Return if elements with this NodeName should output their text childs as cdata section. |
boolean |
preserveSpace()
Return if elements with this NodeName preserve whitespace text when transformed with a XSLT stylesheet. |
(package private) void |
setCDataSectionName()
Set if elements with this NodeName should output their text childs as cdata section. |
(package private) void |
setPreserveSpace(boolean preserve)
Setup the whitespace preserve flag. |
String |
toString()
Return the qname. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int INVALID_ID
public final int nameId
public final String namespaceUri
public final String prefix
public final String localName
public final String qname
public final int namespaceUriId
public final int index
public final boolean isXmlSpace
NodeName next_
Constructor Detail |
NodeName(String namespaceUri, String localName, String qname, int namespaceUriId, int nameId, int index)
NodeName(NodeName nodeName, String qname, int index)
nodeName
- the other NodeNameqname
- a qname from which the prefix is derivedindex
- the node indexMethod Detail |
public boolean equalsName(String namespaceUri, String localName)
namespaceUri
- a namespaceUri, can be nulllocalName
- a localNamepublic boolean isCDataSectionName()
void setCDataSectionName()
public boolean preserveSpace()
void setPreserveSpace(boolean preserve)
public Object clone()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |