public static final class Token.TokenAttributeFactory extends AttributeSource.AttributeFactory
Token as instance for the basic attributes
and for all other attributes calls the given delegate factory.DEFAULT_ATTRIBUTE_FACTORY| Constructor | Description |
|---|---|
TokenAttributeFactory(AttributeSource.AttributeFactory delegate) |
Expert: Creates an AttributeFactory returning
Token as instance for the basic attributes
and for all other attributes calls the given delegate factory. |
| Modifier and Type | Method | Description |
|---|---|---|
AttributeImpl |
createAttributeInstance(Class<? extends Attribute> attClass) |
returns an
AttributeImpl for the supplied Attribute interface class. |
boolean |
equals(Object other) |
|
int |
hashCode() |
public TokenAttributeFactory(AttributeSource.AttributeFactory delegate)
Token as instance for the basic attributes
and for all other attributes calls the given delegate factory.public AttributeImpl createAttributeInstance(Class<? extends Attribute> attClass)
AttributeSource.AttributeFactoryAttributeImpl for the supplied Attribute interface class.createAttributeInstance in class AttributeSource.AttributeFactoryCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.