net.sf.saxon.pull

Class UnconstructedElement

public class UnconstructedElement extends UnconstructedParent

An element node whose construction is deferred.
Constructor Summary
UnconstructedElement(ElementCreator instruction, XPathContext context)
Method Summary
intgetNameCode()
Get name code.
intgetNodeKind()
voidsetNameCode(int nameCode)

Constructor Detail

UnconstructedElement

public UnconstructedElement(ElementCreator instruction, XPathContext context)

Method Detail

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 &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: allocate getFingerprint

getNodeKind

public int getNodeKind()

setNameCode

public void setNameCode(int nameCode)