com.aspose.html.dom

Class Notation

    • Constructor Detail

      • Notation

        public Notation(String name,
                        String publicId,
                        String systemId,
                        Document doc)

        Initializes a new instance of the Notation class.

        Parameters:
        name - The name.
        publicId - The public id.
        systemId - The system id.
        doc - The doc.
    • Method Detail

      • getPublicId

        @DOMNameAttribute(name="publicId")
        public String getPublicId()

        The public identifier of this notation. If the public identifier was not specified, this is null.

      • getSystemId

        @DOMNameAttribute(name="systemId")
        public String getSystemId()

        The system identifier of this notation. If the system identifier was not specified, this is null. This may be an absolute URI or not.

      • getNodeName

        public String getNodeName()

        The name of this node, depending on its type.

        Value: The name of the node.
        Specified by:
        getNodeName in class Node
      • getNodeType

        public int getNodeType()

        A code representing the type of the underlying object.

        Value: The type of the node.
        Specified by:
        getNodeType in class Node
      • cloneNode

        public Node cloneNode(boolean deep)

        Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. The duplicate node has no parent (parentNode is null) and no user data.

        Specified by:
        cloneNode in class Node
        Parameters:
        deep - if set to true [deep].
        Returns:
        Returns node