Class ParseOptions

    • Field Detail

      • REQUIRE_XMP_META

        public static final int REQUIRE_XMP_META
        Require a surrounding "x:xmpmeta" element in the xml-document.
        See Also:
        Constant Field Values
      • STRICT_ALIASING

        public static final int STRICT_ALIASING
        Do not reconcile alias differences, throw an exception instead.
        See Also:
        Constant Field Values
      • FIX_CONTROL_CHARS

        public static final int FIX_CONTROL_CHARS
        Convert ASCII control characters 0x01 - 0x1F (except tab, cr, and lf) to spaces.
        See Also:
        Constant Field Values
      • ACCEPT_LATIN_1

        public static final int ACCEPT_LATIN_1
        If the input is not unicode, try to parse it as ISO-8859-1.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ParseOptions

        public ParseOptions()
        Sets the options to the default values.
    • Method Detail

      • getRequireXMPMeta

        public boolean getRequireXMPMeta()
        Returns:
        Returns the requireXMPMeta.
      • setRequireXMPMeta

        public ParseOptions setRequireXMPMeta​(boolean value)
        Parameters:
        value - the value to set
        Returns:
        Returns the instance to call more set-methods.
      • getStrictAliasing

        public boolean getStrictAliasing()
        Returns:
        Returns the strictAliasing.
      • setStrictAliasing

        public ParseOptions setStrictAliasing​(boolean value)
        Parameters:
        value - the value to set
        Returns:
        Returns the instance to call more set-methods.
      • getFixControlChars

        public boolean getFixControlChars()
        Returns:
        Returns the strictAliasing.
      • setFixControlChars

        public ParseOptions setFixControlChars​(boolean value)
        Parameters:
        value - the value to set
        Returns:
        Returns the instance to call more set-methods.
      • getAcceptLatin1

        public boolean getAcceptLatin1()
        Returns:
        Returns the strictAliasing.
      • setAcceptLatin1

        public ParseOptions setAcceptLatin1​(boolean value)
        Parameters:
        value - the value to set
        Returns:
        Returns the instance to call more set-methods.