public class ImplementationFactory extends java.lang.Object implements ImplementationFactoryIF
Modifier and Type | Method and Description |
---|---|
ImplementationIF |
createImplementation(XSDContextIF ctx,
Extensionpoint implementation)
Get an implementation that is decribed by an XML implementation tag.
|
ImplementationIF |
createImplementation(XSDContextIF ctx,
java.util.Properties properties,
java.lang.String classname,
java.lang.String jarFile)
Create an implementation.
|
static ImplementationFactory |
getInstance()
Get an instance of a factory.
|
public static ImplementationFactory getInstance()
public ImplementationIF createImplementation(XSDContextIF ctx, Extensionpoint implementation) throws java.io.FileNotFoundException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, InvalidDescriptorException, InvalidArgumentException, InitializationFailedException
createImplementation
in interface ImplementationFactoryIF
ctx
- the context.implementation
- the implementation tag descriptor.java.io.FileNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
InvalidDescriptorException
InvalidArgumentException
InitializationFailedException
public ImplementationIF createImplementation(XSDContextIF ctx, java.util.Properties properties, java.lang.String classname, java.lang.String jarFile) throws java.io.FileNotFoundException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException, InvalidArgumentException, InitializationFailedException
createImplementation
in interface ImplementationFactoryIF
ctx
- The context.properties
- the argumentsclassname
- the classnamejarFile
- the jarfilejava.io.FileNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.Exception
InvalidArgumentException
InitializationFailedException