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 ValidatorConfigsInstanceFor 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 privateValidatorConfig(ValidatorConfig base)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidatorConfigcreateDefaults()protected intfindPropertyId(java.lang.String propName)protected java.lang.ObjectgetProperty(int id)protected booleansetProperty(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:
findPropertyIdin 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:
getPropertyin classCommonConfig
-
setProperty
protected boolean setProperty(java.lang.String propName, int id, java.lang.Object value)- Specified by:
setPropertyin classCommonConfig
-
-