Class UnconstructedElement

    • Method Detail

      • 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 &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()
        Description copied from interface: NodeInfo
        Get the kind of node. This will be a value such as Type.ELEMENT or Type.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:
        Type