Class ParseConfiguration.PrologParseConfiguration

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Enclosing class:
    ParseConfiguration

    public static class ParseConfiguration.PrologParseConfiguration
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable

    Class encapsulating the configuration parameters used for parsing and validating the "prolog" section of a markup document. The prolog is the section of an XML/HTML document containing the XML declaration and the DOCTYPE clause (if these exist).

    If validateProlog is set to false, all other parameters should be ignored.

    If validateProlog is true, then the rest of the parameters will be considered.

    Not all combinations of values of the getPrologPresence(), getXmlDeclarationPresence() and getDoctypePresence() are considered valid. See validateConfiguration() for details.

    Since:
    2.0.0
    See Also:
    Serialized Form