org.idoox.wasp.tools.java2schema
Class Java2SchemaFactory

java.lang.Object
  extended byorg.idoox.wasp.tools.java2schema.Java2SchemaFactory

public abstract class Java2SchemaFactory
extends java.lang.Object

A factory which creates an implementation of Java2Schema interface.

Since:
4.5
Component:
Core

Field Summary
static java.lang.String CONTEXT_JAVA2SCHEMA_FACTORY
          This key represents instance of Java2SchemaFactory in the org.idoox.wasp.Context.
 
Constructor Summary
Java2SchemaFactory()
           
 
Method Summary
protected abstract  Java2Schema getJava2SchemaInstance()
          Returns an implementation of Java2Schema interface.
static Java2Schema newJava2Schema()
          Returns an implementation of Java2Schema interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_JAVA2SCHEMA_FACTORY

public static final java.lang.String CONTEXT_JAVA2SCHEMA_FACTORY
This key represents instance of Java2SchemaFactory in the org.idoox.wasp.Context.

See Also:
Constant Field Values
Constructor Detail

Java2SchemaFactory

public Java2SchemaFactory()
Method Detail

newJava2Schema

public static final Java2Schema newJava2Schema()
Returns an implementation of Java2Schema interface.

Returns:
the Java2Schema implementation

getJava2SchemaInstance

protected abstract Java2Schema getJava2SchemaInstance()
Returns an implementation of Java2Schema interface. Each factory implementation has to implement this method.

Returns:
the Java2Schema implementation
Since:
4.5