public final class ValidatorConfig extends Object
Modifier and Type | Field | 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 | 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.
|
Object |
getProperty(String propName) |
|
protected Object |
getProperty(int id) |
|
protected Object |
getStdProperty(int id) |
|
boolean |
isPropertySupported(String propName) |
|
protected void |
reportUnknownProperty(String propName) |
|
boolean |
returnNullForDefaultNamespace() |
|
Object |
safeGetProperty(String propName) |
|
boolean |
setProperty(String propName,
Object value) |
|
protected boolean |
setProperty(String propName,
int id,
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 © 2019 FasterXML. All rights reserved.