org.apache.batik.gvt.text

Interface GVTAttributedCharacterIterator.AttributeFilter

public static interface GVTAttributedCharacterIterator.AttributeFilter

Interface for helper class which mutates the attributes of an AttributedCharacterIterator. Typically used to convert location and rotation attributes to TextAttribute.TRANSFORM attributes, or convert between implementations of AttributedCharacterIterator.Attribute.
Method Summary
AttributedCharacterIteratormutateAttributes(AttributedCharacterIterator aci)
Modify an AttributedCharacterIterator's attributes systematically.

Method Detail

mutateAttributes

public AttributedCharacterIterator mutateAttributes(AttributedCharacterIterator aci)
Modify an AttributedCharacterIterator's attributes systematically. Usually returns a copy since AttributedCharacterIterator instances are often immutable. The effect of the attribute modification is implementation dependent.

Parameters: aci an AttributedCharacterIterator whose attributes are to be modified.

Returns: an instance of AttributedCharacterIterator with mutated attributes.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.