public static class XmlParser.Options
extends java.lang.Object
XMP parser options
Constructor and Description |
---|
Options() |
Modifier and Type | Method and Description |
---|---|
boolean |
getDecompress()
Return if the document is compressed, then should it be decompressed while parsing.
|
boolean |
getNoDuplicateCheck()
Return set this to
true to disable checking for duplicate attributes. |
boolean |
getNoNameValidation()
Return set this to
true to disable validation of element/attribute names. |
void |
setDecompress(boolean value)
Set if the document is compressed, then should it be decompressed while parsing.
|
void |
setNoDuplicateCheck(boolean value)
Set set this to
true to disable checking for duplicate attributes. |
void |
setNoNameValidation(boolean value)
Set set this to
true to disable validation of element/attribute names. |
public boolean getDecompress()
Return if the document is compressed, then should it be decompressed while parsing.
public boolean getNoDuplicateCheck()
Return set this to true
to disable checking for duplicate attributes.
This may result in a performance improvement during parsing, although it may permit some invalid documents to be successfully parsed.
true
to disable checking for duplicate attributes.public boolean getNoNameValidation()
Return set this to true
to disable validation of element/attribute names.
This may result in a performance improvement during parsing, although it may permit some invalid documents to be successfully parsed.
true
to disable validation of element/attribute names.public void setDecompress(boolean value)
Set if the document is compressed, then should it be decompressed while parsing.
value
- If the document is compressed, then should it be decompressed while parsing.public void setNoDuplicateCheck(boolean value)
Set set this to true
to disable checking for duplicate attributes.
This may result in a performance improvement during parsing, although it may permit some invalid documents to be successfully parsed.
value
- Set this to true
to disable checking for duplicate attributes.public void setNoNameValidation(boolean value)
Set set this to true
to disable validation of element/attribute names.
This may result in a performance improvement during parsing, although it may permit some invalid documents to be successfully parsed.
value
- Set this to true
to disable validation of element/attribute names.