com.ctc.wstx.api
Class ValidatorConfig
java.lang.Object
com.ctc.wstx.api.CommonConfig
com.ctc.wstx.api.ValidatorConfig
- All Implemented Interfaces:
- XMLStreamProperties
- public final class ValidatorConfig
- extends com.ctc.wstx.api.CommonConfig
|
Field Summary |
protected static java.lang.String |
IMPL_NAME
|
protected static java.lang.String |
IMPL_VERSION
This is "major.minor" version used for purposes of determining
the feature set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMPL_NAME
protected static final java.lang.String IMPL_NAME
- See Also:
- Constant Field Values
IMPL_VERSION
protected static final java.lang.String IMPL_VERSION
- This is "major.minor" version used for purposes of determining
the feature set. Patch level is not included, since those should
not affect API or feature set. Using applications should be
prepared to take additional levels, however, just not depend
on those being available.
- See Also:
- Constant Field Values
createDefaults
public static ValidatorConfig createDefaults()
findPropertyId
protected int findPropertyId(java.lang.String propName)
- Returns:
- Internal enumerated int matching the String name
of the property, if one found: -1 to indicate no match
was found.
getProperty
protected java.lang.Object getProperty(int id)
setProperty
protected boolean setProperty(java.lang.String propName,
int id,
java.lang.Object value)
getProperty
public final java.lang.Object getProperty(java.lang.String propName)
isPropertySupported
public final boolean isPropertySupported(java.lang.String propName)
setProperty
public final boolean setProperty(java.lang.String propName,
java.lang.Object value)
- Returns:
- True, if the specified property was succesfully
set to specified value; false if its value was not changed
doesSupportXml11
protected boolean doesSupportXml11()
findStdPropertyId
protected int findStdPropertyId(java.lang.String propName)
setStdProperty
protected boolean setStdProperty(java.lang.String propName,
int id,
java.lang.Object value)
getStdProperty
protected java.lang.Object getStdProperty(int id)