Class ParserSettings

java.lang.Object
net.sourceforge.jnlp.ParserSettings

public class ParserSettings extends Object
Contains settings to be used by the Parser while parsing JNLP files. Immutable and therefore thread-safe.
  • 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 strict
      extensionAllowed - true if extensions are allowed
      malformedXmlAllowed - true if xml sanitizer should be used