com.ctc.wstx.osgi
Class ValidationSchemaFactoryProviderImpl
java.lang.Object
com.ctc.wstx.osgi.ValidationSchemaFactoryProviderImpl
- All Implemented Interfaces:
- Stax2ValidationSchemaFactoryProvider
public abstract class ValidationSchemaFactoryProviderImpl
- extends Object
- implements Stax2ValidationSchemaFactoryProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationSchemaFactoryProviderImpl
protected ValidationSchemaFactoryProviderImpl(String st)
createAll
public static ValidationSchemaFactoryProviderImpl[] createAll()
createValidationSchemaFactory
public abstract XMLValidationSchemaFactory createValidationSchemaFactory()
- Description copied from interface:
Stax2ValidationSchemaFactoryProvider
- Method called to create a new
XMLValidationSchemaFactory
instance. Each schema factory supports a single schema type;
so caller has to ensure that the factory it is using supports
schema it needs to instantiate. This can be done either by using
service properties, or by inspecting provider instances for
schema type they support (see Stax2ValidationSchemaFactoryProvider.getSchemaType()
).
- Specified by:
createValidationSchemaFactory
in interface Stax2ValidationSchemaFactoryProvider
- Returns:
- ValidationSchema factory configured to implementation-specific
default settings, if type is supported by this provider; null
if not.
getSchemaType
public String getSchemaType()
- Description copied from interface:
Stax2ValidationSchemaFactoryProvider
- Method that can be used to determine which schema type this
provider (or, rather, factory instances of which provider
constructs) supports.
- Specified by:
getSchemaType
in interface Stax2ValidationSchemaFactoryProvider
- Returns:
- Id of schema type that the factory instantiated by this
provider will support.
getProperties
public Properties getProperties()