public class TokenNameFinderFactory extends BaseToolFactory
Constructor and Description |
---|
TokenNameFinderFactory()
Creates a
TokenNameFinderFactory that provides the default implementation
of the resources. |
TokenNameFinderFactory(byte[] featureGeneratorBytes,
java.util.Map<java.lang.String,java.lang.Object> resources,
SequenceCodec<java.lang.String> seqCodec) |
Modifier and Type | Method and Description |
---|---|
static TokenNameFinderFactory |
create(java.lang.String subclassName,
byte[] featureGeneratorBytes,
java.util.Map<java.lang.String,java.lang.Object> resources,
SequenceCodec<java.lang.String> seqCodec) |
NameContextGenerator |
createContextGenerator() |
AdaptiveFeatureGenerator |
createFeatureGenerators()
Creates the
AdaptiveFeatureGenerator . |
SequenceCodec<java.lang.String> |
createSequenceCodec() |
static SequenceCodec<java.lang.String> |
instantiateSequenceCodec(java.lang.String sequenceCodecImplName) |
void |
validateArtifactMap()
Validates the parsed artifacts.
|
create, create, createArtifactMap, createArtifactSerializersMap, createManifestEntries
public TokenNameFinderFactory()
TokenNameFinderFactory
that provides the default implementation
of the resources.public TokenNameFinderFactory(byte[] featureGeneratorBytes, java.util.Map<java.lang.String,java.lang.Object> resources, SequenceCodec<java.lang.String> seqCodec)
public static TokenNameFinderFactory create(java.lang.String subclassName, byte[] featureGeneratorBytes, java.util.Map<java.lang.String,java.lang.Object> resources, SequenceCodec<java.lang.String> seqCodec) throws InvalidFormatException
InvalidFormatException
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 SequenceCodec<java.lang.String> createSequenceCodec()
public NameContextGenerator createContextGenerator()
public AdaptiveFeatureGenerator createFeatureGenerators()
AdaptiveFeatureGenerator
. Usually this
is a set of generators contained in the AggregatedFeatureGenerator
.
Note:
The generators are created on every call to this method.public static SequenceCodec<java.lang.String> instantiateSequenceCodec(java.lang.String sequenceCodecImplName)
Copyright © 2010 - 2020 Adobe. All Rights Reserved