Package net.sourceforge.jnlp
Class ParserSettings
java.lang.Object
net.sourceforge.jnlp.ParserSettings
Contains settings to be used by the Parser while parsing JNLP files.
Immutable and therefore thread-safe.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new ParserSettings with the default parser settingsParserSettings(boolean strict, boolean extensionAllowed, boolean malformedXmlAllowed) Create a new ParserSettings object -
Method Summary
-
Constructor Details
-
ParserSettings
public ParserSettings()Create a new ParserSettings with the default parser settings -
ParserSettings
public ParserSettings(boolean strict, boolean extensionAllowed, boolean malformedXmlAllowed) Create a new ParserSettings object- Parameters:
strict- true if parser should be strictextensionAllowed- true if extensions are allowedmalformedXmlAllowed- true if xml sanitizer should be used
-