com.ctc.wstx.osgi
public abstract class ValidationSchemaFactoryProviderImpl extends java.lang.Object implements Stax2ValidationSchemaFactoryProvider
OSGI_SVC_PROP_IMPL_NAME, OSGI_SVC_PROP_IMPL_VERSION, OSGI_SVC_PROP_SCHEMA_TYPE
Modifier | Constructor and Description |
---|---|
protected |
ValidationSchemaFactoryProviderImpl(java.lang.String st) |
Modifier and Type | Method and Description |
---|---|
static ValidationSchemaFactoryProviderImpl[] |
createAll() |
abstract XMLValidationSchemaFactory |
createValidationSchemaFactory()
Method called to create a new
XMLValidationSchemaFactory
instance. |
java.util.Properties |
getProperties() |
java.lang.String |
getSchemaType()
Method that can be used to determine which schema type this
provider (or, rather, factory instances of which provider
constructs) supports.
|
protected ValidationSchemaFactoryProviderImpl(java.lang.String st)
public static ValidationSchemaFactoryProviderImpl[] createAll()
public abstract XMLValidationSchemaFactory createValidationSchemaFactory()
Stax2ValidationSchemaFactoryProvider
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()
).createValidationSchemaFactory
in interface Stax2ValidationSchemaFactoryProvider
public java.lang.String getSchemaType()
Stax2ValidationSchemaFactoryProvider
getSchemaType
in interface Stax2ValidationSchemaFactoryProvider
public java.util.Properties getProperties()