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 and Description |
---|
Token.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 and Description |
---|---|
AttributeImpl |
createAttributeInstance(Class<? extends Attribute> attClass)
returns an
AttributeImpl for the supplied Attribute interface class. |
boolean |
equals(Object other) |
int |
hashCode() |
public Token.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.AttributeFactory
AttributeImpl
for the supplied Attribute
interface class.createAttributeInstance
in class AttributeSource.AttributeFactory
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.