public class SchemaServiceFactory
extends java.lang.Object
SchemaService
Constructor and Description |
---|
SchemaServiceFactory() |
Modifier and Type | Method and Description |
---|---|
static SchemaService |
createDefaultInstance()
Creates the default instance of
SchemaService . |
static SchemaService |
createInstance(RelaxNGProvider provider,
SchemaCache cache)
Creates an instance of
SchemaService that is configured
with custom provider, cache and prefix mapping implementations. |
public static SchemaService createInstance(RelaxNGProvider provider, SchemaCache cache) throws SchemaServiceException
SchemaService
that is configured
with custom provider, cache and prefix mapping implementations.provider
- an instance of RelaxNGProvider
cache
- an instance of SchemaCache
SchemaService
.SchemaServiceException
- Thrown if parameters are null or initialization fails.public static SchemaService createDefaultInstance() throws SchemaServiceException
SchemaService
.
It provides the schemas that are included in the library.SchemaService
SchemaServiceException
- Thrown if initialization fails.Copyright © 2010 - 2020 Adobe. All Rights Reserved