public abstract class SchemaFactory extends Object
Some ideas used here have been shamelessly copied from the wonderful JAXP and Xerces work.
| Constructor and Description |
|---|
SchemaFactory() |
| Modifier and Type | Method and Description |
|---|---|
static DefaultSchema |
getDefaultSchema()
Get the default parent
|
static SchemaFactory |
newInstance()
Get a new instance of a SchemaFactory.
|
abstract Schema |
newSchema()
Create a new instance of a Definition.
|
abstract SchemaReader |
newSchemaReader()
Create a new instance of a SchemaReaderImpl.
|
abstract SchemaReader |
newSchemaReader(Map<SchemaReader.FeatureConstants,Object> features)
Create a new instance of a SchemaReaderImpl.
|
abstract SchemaWriter |
newSchemaWriter()
Create a new instance of a SchemaWriterImpl.
|
public static SchemaFactory newInstance() throws SchemaException
The steps in order are:
Once an instance of a SchemaFactory is obtained, invoke newDefinition(), newSchemaReader(), or newSchemaWriter(), to create the desired instances.
SchemaExceptionpublic abstract Schema newSchema() throws SchemaException
SchemaExceptionpublic abstract SchemaReader newSchemaReader() throws SchemaException
SchemaExceptionpublic abstract SchemaReader newSchemaReader(Map<SchemaReader.FeatureConstants,Object> features) throws SchemaException
SchemaExceptionpublic abstract SchemaWriter newSchemaWriter() throws SchemaException
SchemaExceptionpublic static DefaultSchema getDefaultSchema()
Copyright © 2008-2015 Petals Link (previously EBM WebSourcing). All Rights Reserved.