Class DTDEntityDecl

All Implemented Interfaces:
DOMRange, Entity, Node

public class DTDEntityDecl extends DTDDeclNode implements Entity
DOM Entity declaration <!ENTITY
  • Constructor Details

    • DTDEntityDecl

      public DTDEntityDecl(int start, int end)
  • Method Details

    • getPercent

      public String getPercent()
      Returns the '%' and null otherwise.

      <!ENTITY |% ...

      Returns:
      the '%' and null otherwise.
    • setPercent

      public void setPercent(int start, int end)
    • getValueNode

      public DTDDeclParameter getValueNode()
      Returns the entity value node and null otherwise.

      <!ENTITY % entity-name |"entity-value" ...

      Returns:
      the entity value node and null otherwise.
    • getValue

      public String getValue()
      Returns the entity value content and null otherwise.

      <!ENTITY % entity-name |"entity-value" ...

      Returns:
      the entity value content and null otherwise.
    • setValue

      public void setValue(int start, int end)
    • getKind

      public String getKind()
      Returns the entity kind (PUBLIC, SYSTEM) and null otherwise.

      <!ENTITY % entity-name |PUBLIC

      Returns:
      the entity kind (PUBLIC, SYSTEM) and null otherwise.
    • setKind

      public void setKind(int start, int end)
    • getNodeType

      public short getNodeType()
      Specified by:
      getNodeType in interface Node
      Overrides:
      getNodeType in class DTDDeclNode
    • getInputEncoding

      public String getInputEncoding()
      Specified by:
      getInputEncoding in interface Entity
    • getNotationName

      public String getNotationName()
      Specified by:
      getNotationName in interface Entity
    • getPublicId

      public String getPublicId()
      Specified by:
      getPublicId in interface Entity
    • setPublicId

      public void setPublicId(int start, int end)
    • getSystemId

      public String getSystemId()
      Specified by:
      getSystemId in interface Entity
    • getSystemIdNode

      public DTDDeclParameter getSystemIdNode()
      Returns the system id node and null otherwise.
      Returns:
      the system id node and null otherwise.
    • setSystemId

      public void setSystemId(int start, int end)
    • getXmlEncoding

      public String getXmlEncoding()
      Specified by:
      getXmlEncoding in interface Entity
    • getXmlVersion

      public String getXmlVersion()
      Specified by:
      getXmlVersion in interface Entity