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.

        Value: The public identifier.
      • 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.

        Value: The system identifier.
      • getNotationName

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

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

        Value: The name of the notation.
      • 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.

        Value: The input encoding.
      • 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.

        Value: The XML encoding.
      • 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.

        Value: The XML version.
      • 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