Interface XmlDoctype

  • All Superinterfaces:
    XmlContainer

    public interface XmlDoctype
    extends XmlContainer
    Represents Document Type Declaration Information Item. If the XML document has a document type declaration, then the information set contains a single document type declaration information item. Note that entities and notations are provided as properties of the document information item, not the document type declaration information item.
    Version:
    $Revision: 1.2 $
    Author:
    Aleksander Slominski
    • Method Detail

      • getSystemIdentifier

        String getSystemIdentifier()
        The system identifier of the external subset, as it appears in the DOCTYPE declaration, without any additional URI escaping applied by the processor. If there is no external subset this property has no value.
      • getPublicIdentifier

        String getPublicIdentifier()
        The public identifier of the external subset, normalized as described in 4.2.2 External Entities [XML]. If there is no external subset or if it has no public identifier, this property has no value.
      • children

        Iterator children()
        An ordered list of processing instruction information items representing processing instructions appearing in the DTD, in the original document order. Items from the internal DTD subset appear before those in the external subset.
      • getParent

        XmlDocument getParent()
        The document information item.
      • addProcessingInstruction

        XmlProcessingInstruction addProcessingInstruction​(String target,
                                                          String content)
        Add to list of children (only processing instruction information items are allowed).
      • removeAllProcessingInstructions

        void removeAllProcessingInstructions()
        Remove all children.