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
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final ValidatorConfig
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
Fields inherited from interface org.codehaus.stax2.XMLStreamProperties
XSP_IMPLEMENTATION_NAME, XSP_IMPLEMENTATION_VERSION, XSP_NAMESPACE_AWARE, XSP_PROBLEM_REPORTER, XSP_SUPPORT_XMLID, XSP_SUPPORTS_XML11, XSP_V_XMLID_FULL, XSP_V_XMLID_NONE, XSP_V_XMLID_TYPING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidatorConfig
protected int
findPropertyId
(String propName) protected Object
getProperty
(int id) protected boolean
setProperty
(String propName, int id, 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 Details
-
sInstance
For now, since there are no mutable properties, we can share a singleton instance.
-
-
Constructor Details
-
ValidatorConfig
-
-
Method Details
-
createDefaults
-
findPropertyId
- 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
- Specified by:
getProperty
in classCommonConfig
-
setProperty
- Specified by:
setProperty
in classCommonConfig
-