Class ParseConfiguration.PrologParseConfiguration

java.lang.Object
org.attoparser.config.ParseConfiguration.PrologParseConfiguration
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
ParseConfiguration

public static class ParseConfiguration.PrologParseConfiguration extends Object implements Serializable, 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: