|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easywsdl.schema.SchemaFactory
public abstract class SchemaFactory
This abstract class defines a factory API that enables applications to obtain a SchemaFactory capable of producing new Definitions, new SchemaReaders, and new SchemaWriters. Some ideas used here have been shamelessly copied from the wonderful JAXP and Xerces work.
Constructor Summary | |
---|---|
SchemaFactory()
|
Method Summary | |
---|---|
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(java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features)
Create a new instance of a SchemaReaderImpl. |
abstract SchemaWriter |
newSchemaWriter()
Create a new instance of a SchemaWriterImpl. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaFactory()
Method Detail |
---|
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.
SchemaException
public abstract Schema newSchema() throws SchemaException
SchemaException
public abstract SchemaReader newSchemaReader() throws SchemaException
SchemaException
public abstract SchemaReader newSchemaReader(java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features) throws SchemaException
SchemaException
public abstract SchemaWriter newSchemaWriter() throws SchemaException
SchemaException
public static DefaultSchema getDefaultSchema()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |