public final class ParseOptions extends Options
XMPMetaFactory.parse(InputStream, ParseOptions)
.Modifier and Type | Field and Description |
---|---|
static int |
ACCEPT_LATIN_1
If the input is not unicode, try to parse it as ISO-8859-1.
|
static int |
FIX_CONTROL_CHARS
Convert ASCII control characters 0x01 - 0x1F (except tab, cr, and lf) to spaces.
|
static int |
REQUIRE_XMP_META
Require a surrounding "x:xmpmeta" element in the xml-document.
|
static int |
STRICT_ALIASING
Do not reconcile alias differences, throw an exception instead.
|
Constructor and Description |
---|
ParseOptions()
Sets the options to the default values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAcceptLatin1() |
boolean |
getFixControlChars() |
boolean |
getRequireXMPMeta() |
boolean |
getStrictAliasing() |
ParseOptions |
setAcceptLatin1(boolean value) |
ParseOptions |
setFixControlChars(boolean value) |
ParseOptions |
setRequireXMPMeta(boolean value) |
ParseOptions |
setStrictAliasing(boolean value) |
clear, containsAllOptions, containsOneOf, equals, getOptions, getOptionsString, hashCode, isExactly, setOption, setOptions, toString
public static final int REQUIRE_XMP_META
public static final int STRICT_ALIASING
public static final int FIX_CONTROL_CHARS
public static final int ACCEPT_LATIN_1
public boolean getRequireXMPMeta()
public ParseOptions setRequireXMPMeta(boolean value)
value
- the value to setpublic boolean getStrictAliasing()
public ParseOptions setStrictAliasing(boolean value)
value
- the value to setpublic boolean getFixControlChars()
public ParseOptions setFixControlChars(boolean value)
value
- the value to setpublic boolean getAcceptLatin1()
public ParseOptions setAcceptLatin1(boolean value)
value
- the value to setCopyright © 2010 - 2020 Adobe. All Rights Reserved