private static final class LegacyNumericTokenStream.NumericAttributeFactory extends AttributeFactory
AttributeFactory.StaticImplementationAttributeFactory<A extends AttributeImpl>
Modifier and Type | Field and Description |
---|---|
private AttributeFactory |
delegate |
DEFAULT_ATTRIBUTE_FACTORY
Constructor and Description |
---|
NumericAttributeFactory(AttributeFactory delegate) |
Modifier and Type | Method and Description |
---|---|
AttributeImpl |
createAttributeInstance(java.lang.Class<? extends Attribute> attClass)
Returns an
AttributeImpl for the supplied Attribute interface class. |
getStaticImplementation
private final AttributeFactory delegate
NumericAttributeFactory(AttributeFactory delegate)
public AttributeImpl createAttributeInstance(java.lang.Class<? extends Attribute> attClass)
AttributeFactory
AttributeImpl
for the supplied Attribute
interface class.createAttributeInstance
in class AttributeFactory