Package com.ctc.wstx.api
Class ValidatorConfig
- java.lang.Object
-
- com.ctc.wstx.api.CommonConfig
-
- com.ctc.wstx.api.ValidatorConfig
-
- All Implemented Interfaces:
org.codehaus.stax2.XMLStreamProperties
public final class ValidatorConfig extends CommonConfig
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static ValidatorConfig
sInstance
For now, since there are no mutable properties, we can share a singleton instance.-
Fields inherited from class com.ctc.wstx.api.CommonConfig
CPROP_IMPL_NAME, CPROP_IMPL_VERSION, CPROP_RETURN_NULL_FOR_DEFAULT_NAMESPACE, CPROP_SUPPORT_XMLID, CPROP_SUPPORTS_XML11, IMPL_NAME, IMPL_VERSION, mReturnNullForDefaultNamespace, sStdProperties
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ValidatorConfig(ValidatorConfig base)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidatorConfig
createDefaults()
protected int
findPropertyId(java.lang.String propName)
protected java.lang.Object
getProperty(int id)
protected boolean
setProperty(java.lang.String propName, int id, java.lang.Object value)
-
Methods inherited from class com.ctc.wstx.api.CommonConfig
doesSupportXml11, doesSupportXmlId, findStdPropertyId, getImplName, getImplVersion, getProperty, getStdProperty, isPropertySupported, reportUnknownProperty, returnNullForDefaultNamespace, safeGetProperty, setProperty, setStdProperty
-
-
-
-
Field Detail
-
sInstance
static final ValidatorConfig sInstance
For now, since there are no mutable properties, we can share a singleton instance.
-
-
Constructor Detail
-
ValidatorConfig
private ValidatorConfig(ValidatorConfig base)
-
-
Method Detail
-
createDefaults
public static ValidatorConfig createDefaults()
-
findPropertyId
protected int findPropertyId(java.lang.String propName)
- Specified by:
findPropertyId
in classCommonConfig
- 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)
- Specified by:
getProperty
in classCommonConfig
-
setProperty
protected boolean setProperty(java.lang.String propName, int id, java.lang.Object value)
- Specified by:
setProperty
in classCommonConfig
-
-