Class GenericElementNS

    • Field Detail

      • nodeName

        protected java.lang.String nodeName
        The node name.
      • readonly

        protected boolean readonly
        Is this element immutable?
    • Constructor Detail

      • GenericElementNS

        protected GenericElementNS()
        Creates a new Element object.
      • GenericElementNS

        public GenericElementNS​(java.lang.String nsURI,
                                java.lang.String name,
                                AbstractDocument owner)
        Creates a new Element object.
        Parameters:
        nsURI - The element namespace URI.
        name - The element qualified name.
        owner - The owner document.
        Throws:
        org.w3c.dom.DOMException - INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.
        NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the qualifiedName has a prefix and the namespaceURI is null or an empty string, or if the qualifiedName has a prefix that is "xml" and the namespaceURI is different from "http://www.w3.org/XML/1998/namespace" .
    • Method Detail

      • getNodeName

        public java.lang.String getNodeName()
        DOM: Implements Node.getNodeName().
        Returns:
        nodeName
      • isReadonly

        public boolean isReadonly()
        Tests whether this node is readonly.
      • setReadonly

        public void setReadonly​(boolean v)
        Sets this node readonly attribute.
      • 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 AbstractElementNS
        Parameters:
        n - The clone node.
        d - The destination document.
      • deepExport

        protected org.w3c.dom.Node deepExport​(org.w3c.dom.Node n,
                                              AbstractDocument d)
        Deeply exports this node to the given document.
        Overrides:
        deepExport in class AbstractElementNS
        Parameters:
        n - The clone node.
        d - The destination document.
      • 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 AbstractElementNS
        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 AbstractElementNS
        Parameters:
        n - a node of the type of this.
      • newNode

        protected org.w3c.dom.Node newNode()
        Returns a new uninitialized instance of this object's class.
        Specified by:
        newNode in class AbstractNode