| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.adobe.xmp.options.Options
com.adobe.xmp.options.ParseOptions
public final class ParseOptions
Options for XMPMetaFactory.parse(InputStream, ParseOptions).
| Field Summary | |
|---|---|
| static int | ACCEPT_LATIN_1If the input is not unicode, try to parse it as ISO-8859-1. | 
| static int | FIX_CONTROL_CHARSConvert ASCII control characters 0x01 - 0x1F (except tab, cr, and lf) to spaces. | 
| static int | OMIT_NORMALIZATIONDo not carry run the XMPNormalizer on a packet, leave it as it is. | 
| static int | REQUIRE_XMP_METARequire a surrounding "x:xmpmeta" element in the xml-document. | 
| static int | STRICT_ALIASINGDo not reconcile alias differences, throw an exception instead. | 
| Constructor Summary | |
|---|---|
| ParseOptions()Sets the options to the default values. | |
| Method Summary | |
|---|---|
|  boolean | getAcceptLatin1() | 
|  boolean | getFixControlChars() | 
|  boolean | getOmitNormalization() | 
|  boolean | getRequireXMPMeta() | 
|  boolean | getStrictAliasing() | 
|  ParseOptions | setAcceptLatin1(boolean value) | 
|  ParseOptions | setFixControlChars(boolean value) | 
|  ParseOptions | setOmitNormalization(boolean value) | 
|  ParseOptions | setRequireXMPMeta(boolean value) | 
|  ParseOptions | setStrictAliasing(boolean value) | 
| Methods inherited from class com.adobe.xmp.options.Options | 
|---|
| clear, containsAllOptions, containsOneOf, equals, getOptions, getOptionsString, hashCode, isExactly, setOption, setOptions, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
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 static final int OMIT_NORMALIZATION
| Constructor Detail | 
|---|
public ParseOptions()
| Method Detail | 
|---|
public boolean getRequireXMPMeta()
public ParseOptions setRequireXMPMeta(boolean value)
value - the value to set
public boolean getStrictAliasing()
public ParseOptions setStrictAliasing(boolean value)
value - the value to set
public boolean getFixControlChars()
public ParseOptions setFixControlChars(boolean value)
value - the value to set
public boolean getAcceptLatin1()
public ParseOptions setOmitNormalization(boolean value)
value - the value to set
public boolean getOmitNormalization()
public ParseOptions setAcceptLatin1(boolean value)
value - the value to set
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||