Package org.apache.wsil
Class WSILDocumentFactory
- java.lang.Object
-
- org.apache.wsil.WSILDocumentFactory
-
- Direct Known Subclasses:
WSILDocumentFactoryImpl
public abstract class WSILDocumentFactory extends java.lang.Object
This class is used to access an implementation of a WSILDocument abstract class.- Version:
- 1.0
- Author:
- Peter Brittenham
-
-
Constructor Summary
Constructors Constructor Description WSILDocumentFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract WSILDocument
newDocument()
Create a new instance of a WS-Inspection document.static WSILDocumentFactory
newInstance()
Instantiate the implementation of the WSILDocumentFactory class.
-
-
-
Method Detail
-
newDocument
public abstract WSILDocument newDocument() throws WSILException
Create a new instance of a WS-Inspection document.- Returns:
- Returns an object that implements the WSILDocument interface.
- Throws:
WSILException
-
newInstance
public static WSILDocumentFactory newInstance() throws WSILException
Instantiate the implementation of the WSILDocumentFactory class. The implementation class for this interface is specified in the following Java system property:- wsil.document.factory
- Returns:
- Throws:
WSILException
-
-