com.aspose.html.dom

Class Entity

    • Constructor Detail

      • Entity

        public Entity(java.lang.String name,
                      java.lang.String publicId,
                      java.lang.String systemId,
                      java.lang.String notationName,
                      java.lang.String inputEncoding,
                      java.lang.String xmlEncoding,
                      java.lang.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 java.lang.String getPublicId()

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

        Value: The public identifier.
      • getSystemId

        @DOMNameAttribute(name="systemId")
        public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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.
      • getNodeName

        @DOMNameAttribute(name="NodeName")
        public java.lang.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