org.apache.lucene.util
public abstract static class AttributeSource.AttributeFactory extends Object
AttributeImpl
s.Modifier and Type | Field and Description |
---|---|
static AttributeSource.AttributeFactory |
DEFAULT_ATTRIBUTE_FACTORY
This is the default factory that creates
AttributeImpl s using the
class name of the supplied Attribute interface class by appending Impl to it. |
Constructor and Description |
---|
AttributeSource.AttributeFactory() |
Modifier and Type | Method and Description |
---|---|
abstract AttributeImpl |
createAttributeInstance(Class<? extends Attribute> attClass)
returns an
AttributeImpl for the supplied Attribute interface class. |
public static final AttributeSource.AttributeFactory DEFAULT_ATTRIBUTE_FACTORY
AttributeImpl
s using the
class name of the supplied Attribute
interface class by appending Impl
to it.public abstract AttributeImpl createAttributeInstance(Class<? extends Attribute> attClass)
AttributeImpl
for the supplied Attribute
interface class.Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.