Class DOMDocumentType

    • Constructor Detail

      • DOMDocumentType

        public DOMDocumentType​(int start,
                               int end)
    • Method Detail

      • getKind

        public String getKind()
        Returns the document type kind (PUBLIC or SYSTEM)
        Returns:
        the document type kind (PUBLIC or SYSTEM)
      • getKindNode

        public DTDDeclParameter getKindNode()
        Returns the node where document type kind (PUBLIC or SYSTEM) is declared
        Returns:
        the node where document type kind (PUBLIC or SYSTEM) is declared
      • setStartInternalSubset

        public void setStartInternalSubset​(int start)
      • setEndInternalSubset

        public void setEndInternalSubset​(int end)
      • isInternalSubset

        public boolean isInternalSubset​(DTDDeclParameter parameter)
      • getPublicIdWithoutQuotes

        public String getPublicIdWithoutQuotes()
      • getSystemIdWithoutQuotes

        public String getSystemIdWithoutQuotes()
      • getSubstring

        public String getSubstring​(int start,
                                   int end)
        Returns a substring of the whole document. Since offset values are relative to 'this.start' we need to subtract getStart() to make them relative to 'content'
      • getInternalSubsetNode

        public DTDDeclParameter getInternalSubsetNode()
        Returns the declaration parameter that represents the internal subset, or null if there is no internal subset
        Returns:
        the declaration parameter that represents the internal subset, or null if there is no internal subset