com.aspose.html.dom

Class Entity

    • Constructor Detail

      • Entity

        public Entity(String name,
                      String publicId,
                      String systemId,
                      String notationName,
                      String inputEncoding,
                      String xmlEncoding,
                      String xmlVersion,
                      Document doc)

        Initializes a new instance of the Entity class.

        Parameters:
        name - The entity name.
        publicId - The public id.
        systemId - The system id.
        notationName - Name of the notation.
        inputEncoding - The input encoding.
        xmlEncoding - The XML encoding.
        xmlVersion - The XML version.
        doc - The document.
    • Method Detail

      • getPublicId

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

        The public identifier associated with the entity if specified, and null otherwise.

      • getSystemId

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

        The system identifier associated with the entity if specified, and null otherwise. This may be an absolute URI or not.

      • getNotationName

        @DOMNameAttribute(name="notationName")
        public String getNotationName()

        For unparsed entities, the name of the notation for the entity. For parsed entities, this is null.

      • getInputEncoding

        @DOMNameAttribute(name="inputEncoding")
        public String getInputEncoding()

        An attribute specifying the encoding used for this entity at the time of parsing, when it is an external parsed entity. This is null if it an entity from the internal subset or if it is not known.

      • getXmlEncoding

        @DOMNameAttribute(name="xmlEncoding")
        public String getXmlEncoding()

        An attribute specifying, as part of the text declaration, the encoding of this entity, when it is an external parsed entity. This is null otherwise.

      • getXmlVersion

        @DOMNameAttribute(name="xmlVersion")
        public String getXmlVersion()

        An attribute specifying, as part of the text declaration, the version number of this entity, when it is an external parsed entity. This is null otherwise.

      • getLocalName

        @DOMNameAttribute(name="Entity")
        public String getLocalName()

        Returns the local part of the qualified name of this node. For nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE and nodes created with a DOM Level 1 method, such as Document.createElement(), this is always null.

        Value: The name of the local.
        Overrides:
        getLocalName 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