javax.xml.transform.Source
, PullEvent
, Item
, NodeInfo
, ValueRepresentation
public class UnconstructedElement extends UnconstructedParent
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES
instruction, node, savedXPathContext
EMPTY_VALUE_ARRAY
Constructor | Description |
---|---|
UnconstructedElement(ElementCreator instruction,
XPathContext context) |
Create an unconstructed (pending) element node
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getBaseURI() |
Get the Base URI for the node, that is, the URI used for resolving a relative URI contained
in the node.
|
int |
getNameCode() |
Get name code.
|
int |
getNodeKind() |
Get the kind of node.
|
void |
setNameCode(int nameCode) |
Set the name of the element node
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getInstruction, getLineNumber, getLocalPart, getNamePool, getParent, getPrefix, getPuller, getRoot, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getURI, getXPathContext, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis, setSystemId
public UnconstructedElement(ElementCreator instruction, XPathContext context)
instruction
- the instruction responsible for creating the nodecontext
- the XPath dynamic contextpublic void setNameCode(int nameCode)
nameCode
- the namepool code for the element namepublic int getNameCode()
allocate
,
getFingerprint
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 java.lang.String getBaseURI()
getBaseURI
in interface NodeInfo
getBaseURI
in class UnconstructedParent