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, createArtifactSerializersMap
public 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()
BaseToolFactory
createManifestEntries
in class BaseToolFactory
public void validateArtifactMap() throws InvalidFormatException
BaseToolFactory
InvalidFormatException
.
Note:
Subclasses should generally invoke super.validateArtifactMap at the beginning
of this method.validateArtifactMap
in class BaseToolFactory
InvalidFormatException
public static DoccatFactory create(String subclassName, Tokenizer tokenizer, FeatureGenerator[] featureGenerators) throws InvalidFormatException
InvalidFormatException
public FeatureGenerator[] getFeatureGenerators()
public void setFeatureGenerators(FeatureGenerator[] featureGenerators)
public Tokenizer getTokenizer()
public void setTokenizer(Tokenizer tokenizer)
Copyright © 2015 The Apache Software Foundation. All rights reserved.