Top Fields Constructors Methods
com.ctc.wstx.api

public final Class ValidatorConfig

extends CommonConfig
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final ValidatorConfig
sInstance

For now, since there are no mutable properties, we can share a singleton instance.

Inherited from com.ctc.wstx.api.CommonConfig:
CPROP_IMPL_NAMECPROP_IMPL_VERSIONCPROP_RETURN_NULL_FOR_DEFAULT_NAMESPACECPROP_SUPPORT_XMLIDCPROP_SUPPORTS_XML11IMPL_NAMEIMPL_VERSIONmReturnNullForDefaultNamespacesStdProperties

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ValidatorConfig
protected int
protected Object
protected boolean
setProperty(String propName, int id, Object value)

Implements abstract com.ctc.wstx.api.CommonConfig.setProperty.

Inherited from com.ctc.wstx.api.CommonConfig:
doesSupportXml11doesSupportXmlIdfindStdPropertyIdgetImplNamegetImplVersiongetPropertygetStdPropertyisPropertySupportedreportUnknownPropertyreturnNullForDefaultNamespacesafeGetPropertysetPropertysetStdProperty

Field Detail

sInstanceback to summary
pack-priv static final ValidatorConfig sInstance

For now, since there are no mutable properties, we can share a singleton instance.

Constructor Detail

ValidatorConfigback to summary
private ValidatorConfig(ValidatorConfig base)

Method Detail

createDefaultsback to summary
public static ValidatorConfig createDefaults()
findPropertyIdback to summary
protected int findPropertyId(String propName)

Implements abstract com.ctc.wstx.api.CommonConfig.findPropertyId.

Returns:int

Doc from com.ctc.wstx.api.CommonConfig.findPropertyId.

Internal enumerated int matching the String name of the property, if one found: -1 to indicate no match was found.

Annotations
@Override
getPropertyback to summary
protected Object getProperty(int id)

Implements abstract com.ctc.wstx.api.CommonConfig.getProperty.

Annotations
@Override
setPropertyback to summary
protected boolean setProperty(String propName, int id, Object value)

Implements abstract com.ctc.wstx.api.CommonConfig.setProperty.

Annotations
@Override