public class UnconstructedElement extends UnconstructedParent
instruction, node, savedXPathContext
ALL_NAMESPACES, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES
Constructor and Description |
---|
UnconstructedElement(ElementCreator instruction,
XPathContext context)
Create an unconstructed (pending) element node
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseURI()
Get the Base URI for the node, that is, the URI used for resolving a relative URI contained
in the node.
|
String |
getDisplayName()
Get the display name of this node, in the form of a lexical QName.
|
NodeName |
getElementName() |
int |
getFingerprint()
Get fingerprint.
|
String |
getLocalPart()
Get the local part of the name of this node.
|
int |
getNodeKind()
Get the kind of node.
|
NodeName |
getNodeName()
Get the name of this node
|
String |
getPrefix()
Get the prefix of the name of the node.
|
String |
getURI()
Get the URI part of the name of this node.
|
void |
setElementName(NodeName nameCode)
Set the name of the element node
|
atomize, compareOrder, comparePosition, copy, equals, generateId, getAttributeValue, getColumnNumber, getConfiguration, getDeclaredNamespaces, getInstruction, getLineNumber, getNamePool, getParent, getPublicId, getPuller, getRoot, getSchemaType, getStringValue, getStringValueCS, getSystemId, getTreeInfo, getXPathContext, hasChildNodes, hashCode, head, isId, isIdref, isNilled, isSameNodeInfo, iterate, iterateAxis, iterateAxis, saveLocation, setSystemId
public UnconstructedElement(ElementCreator instruction, XPathContext context)
instruction
- the instruction responsible for creating the nodecontext
- the XPath dynamic contextpublic void setElementName(NodeName nameCode)
nameCode
- the namepool code for the element namepublic NodeName getElementName()
public int getFingerprint()
public String getLocalPart()
public String getURI()
public String getDisplayName()
public String getPrefix()
public NodeName getNodeName()
public int getNodeKind()
NodeInfo
Type.ELEMENT
or Type.ATTRIBUTE
. There are seven kinds of node: documents, elements, attributes,
text, comments, processing-instructions, and namespaces.Type
public String getBaseURI()
getBaseURI
in interface NodeInfo
getBaseURI
in class UnconstructedParent
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.