class DefaultDocumentFactory extends java.lang.Object
Handles the creation of a BaseSchemaDocument.
| Type | Name and description |
|---|---|
SchemaDocumentFactory |
schemaDocumentFactoryGuice's Assisted Inject Factory Interface |
| Constructor and description |
|---|
DefaultDocumentFactory
(SchemaDocumentFactory schemaDocFactory)Create this DocumentFactory. |
| Type | Name and description |
|---|---|
BaseSchemaDocument |
createDocument(java.io.File document)Creates a BaseSchemaDocument.
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Guice's Assisted Inject Factory Interface
Create this DocumentFactory.
schemaDocFactory - Guice's Interface to create with Assisted inject. Creates a BaseSchemaDocument.
Returns a WsdlDocument if the file has extension of .wsdl and
Returns a XsdDocument if the file has extension of .xsd.
.wsdl or .xsddocument - absolute path File to schema documentGroovy Documentation