Class AbstractEntityReference

    • Field Detail

      • nodeName

        protected java.lang.String nodeName
        The node name.
    • Constructor Detail

      • AbstractEntityReference

        protected AbstractEntityReference()
        Creates a new EntityReference object.
      • AbstractEntityReference

        protected AbstractEntityReference​(java.lang.String name,
                                          AbstractDocument owner)
                                   throws org.w3c.dom.DOMException
        Creates a new EntityReference object.
        Parameters:
        name - The entity name.
        owner - The owner document.
        Throws:
        org.w3c.dom.DOMException - INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character.
    • Method Detail

      • getNodeType

        public short getNodeType()
        DOM: Implements Node.getNodeType().
        Specified by:
        getNodeType in interface org.w3c.dom.Node
        Returns:
        Node.ENTITY_REFERENCE_NODE
      • getNodeName

        public java.lang.String getNodeName()
        DOM: Implements Node.getNodeName().
        Specified by:
        getNodeName in interface org.w3c.dom.Node
        Returns:
        nodeName.
      • export

        protected org.w3c.dom.Node export​(org.w3c.dom.Node n,
                                          AbstractDocument d)
        Exports this node to the given document.
        Overrides:
        export in class AbstractNode
      • copyInto

        protected org.w3c.dom.Node copyInto​(org.w3c.dom.Node n)
        Copy the fields of the current node into the given node.
        Overrides:
        copyInto in class AbstractNode
        Parameters:
        n - a node of the type of this.
      • deepCopyInto

        protected org.w3c.dom.Node deepCopyInto​(org.w3c.dom.Node n)
        Deeply copy the fields of the current node into the given node.
        Overrides:
        deepCopyInto in class AbstractParentNode
        Parameters:
        n - a node of the type of this.
      • checkChildType

        protected void checkChildType​(org.w3c.dom.Node n,
                                      boolean replace)
        Checks the validity of a node to be inserted.
        Overrides:
        checkChildType in class AbstractNode