public class DoccatFactory extends BaseToolFactory
| Constructor and Description |
|---|
DoccatFactory()
Creates a
DoccatFactory that provides the default implementation of
the resources. |
DoccatFactory(Tokenizer tokenizer,
FeatureGenerator[] featureGenerators)
Creates a
DoccatFactory. |
| Modifier and Type | Method and Description |
|---|---|
static DoccatFactory |
create(String subclassName,
Tokenizer tokenizer,
FeatureGenerator[] featureGenerators) |
Map<String,String> |
createManifestEntries()
Creates the manifest entries that will be added to the model manifest
|
FeatureGenerator[] |
getFeatureGenerators() |
Tokenizer |
getTokenizer() |
void |
setFeatureGenerators(FeatureGenerator[] featureGenerators) |
void |
setTokenizer(Tokenizer tokenizer) |
void |
validateArtifactMap()
Validates the parsed artifacts.
|
create, create, createArtifactMap, createArtifactSerializersMappublic DoccatFactory()
DoccatFactory that provides the default implementation of
the resources.public DoccatFactory(Tokenizer tokenizer, FeatureGenerator[] featureGenerators)
DoccatFactory. Use this constructor to programmatically
create a factory.tokenizer - featureGenerators - public Map<String,String> createManifestEntries()
BaseToolFactorycreateManifestEntries in class BaseToolFactorypublic void validateArtifactMap()
throws InvalidFormatException
BaseToolFactoryInvalidFormatException.
Note:
Subclasses should generally invoke super.validateArtifactMap at the beginning
of this method.validateArtifactMap in class BaseToolFactoryInvalidFormatExceptionpublic static DoccatFactory create(String subclassName, Tokenizer tokenizer, FeatureGenerator[] featureGenerators) throws InvalidFormatException
InvalidFormatExceptionpublic FeatureGenerator[] getFeatureGenerators()
public void setFeatureGenerators(FeatureGenerator[] featureGenerators)
public Tokenizer getTokenizer()
public void setTokenizer(Tokenizer tokenizer)
Copyright © 2015 The Apache Software Foundation. All rights reserved.