Class UnconstructedElement
java.lang.Object
net.sf.saxon.pull.UnconstructedParent
net.sf.saxon.pull.UnconstructedElement
- All Implemented Interfaces:
Source, Item, NodeInfo, ValueRepresentation
An element node whose construction is deferred.
-
Field Summary
Fields inherited from class UnconstructedParent
instruction, node, savedXPathContextFields inherited from interface NodeInfo
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACESFields inherited from interface ValueRepresentation
EMPTY_VALUE_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet name code.intGet the kind of node.voidsetNameCode(int nameCode) Methods inherited from class UnconstructedParent
atomize, compareOrder, construct, copy, equals, generateId, getAttributeValue, getBaseURI, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getInstruction, getLineNumber, getLocalPart, getNamePool, getParent, getPrefix, getPuller, getRoot, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getURI, getXPathContext, hasChildNodes, hashCode, isSameNodeInfo, iterateAxis, iterateAxis, sendNamespaceDeclarations, setSystemId, tryToConstruct
-
Constructor Details
-
UnconstructedElement
-
-
Method Details
-
setNameCode
public void setNameCode(int nameCode) -
getNameCode
public int getNameCode()Get name code. The name code is a coded form of the node name: two nodes with the same name code have the same namespace URI, the same local name, and the same prefix. By masking the name code with invalid input: '&'0xfffff, you get a fingerprint: two nodes with the same fingerprint have the same local name and namespace URI.- Returns:
- an integer name code, which may be used to obtain the actual node name from the name pool
- See Also:
-
getNodeKind
public int getNodeKind()Description copied from interface:NodeInfoGet the kind of node. This will be a value such asType.ELEMENTorType.ATTRIBUTE. There are seven kinds of node: documents, elements, attributes, text, comments, processing-instructions, and namespaces.- Returns:
- an integer identifying the kind of node. These integer values are the same as those used in the DOM
- See Also:
-