public final class ValidatorConfig extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
IMPL_NAME |
protected static String |
IMPL_VERSION
This is "major.minor" version used for purposes of determining
the feature set.
|
protected boolean |
mReturnNullForDefaultNamespace
As per [WSTX-277], can specify whether prefix for the
"default namespace" is return as null (true) or empty String (false)
|
Modifier and Type | Method and Description |
---|---|
static ValidatorConfig |
createDefaults() |
boolean |
doesSupportXml11() |
boolean |
doesSupportXmlId() |
protected int |
findPropertyId(String propName) |
protected int |
findStdPropertyId(String propName) |
static String |
getImplName()
Method used to figure out the official implementation name
for input/output/validation factories.
|
static String |
getImplVersion()
Method used to figure out the official implementation version
for input/output/validation factories.
|
protected Object |
getProperty(int id) |
Object |
getProperty(String propName) |
protected Object |
getStdProperty(int id) |
boolean |
isPropertySupported(String propName) |
protected void |
reportUnknownProperty(String propName) |
boolean |
returnNullForDefaultNamespace() |
Object |
safeGetProperty(String propName) |
protected boolean |
setProperty(String propName,
int id,
Object value) |
boolean |
setProperty(String propName,
Object value) |
protected boolean |
setStdProperty(String propName,
int id,
Object value) |
protected static final String IMPL_NAME
protected static final String IMPL_VERSION
protected boolean mReturnNullForDefaultNamespace
public static ValidatorConfig createDefaults()
protected int findPropertyId(String propName)
protected Object getProperty(int id)
public boolean isPropertySupported(String propName)
public boolean setProperty(String propName, Object value)
protected void reportUnknownProperty(String propName)
public static String getImplName()
public static String getImplVersion()
public boolean doesSupportXml11()
public boolean doesSupportXmlId()
public boolean returnNullForDefaultNamespace()
protected int findStdPropertyId(String propName)
protected boolean setStdProperty(String propName, int id, Object value)
propName
- Name of standard property to setid
- Internal id matching the namevalue
- Value to set the standard property toprotected Object getStdProperty(int id)
Copyright © 2018 FasterXML. All rights reserved.