org.ujac.print
Class EscapeSequenceTextAttributeHandler

java.lang.Object
  extended by org.ujac.print.TypedAttributeHandler
      extended by org.ujac.print.EscapeSequenceTextAttributeHandler

public class EscapeSequenceTextAttributeHandler
extends TypedAttributeHandler

Name: EscapeSequenceTextAttributeHandler
Description: Attribute handler for texts which may hold escape sequences.

Author:
lauerc

Field Summary
 
Fields inherited from class org.ujac.print.TypedAttributeHandler
attributeHandler
 
Constructor Summary
EscapeSequenceTextAttributeHandler(AttributeHandler attributeHandler)
          Constructs a EscapeSequenceTextAttributeHandler instance with specific attributes.
 
Method Summary
 Object parseAttribute(Locator locator, String attrName, Object attrValue, boolean evaluate)
          Gets the value for the given attribute's name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EscapeSequenceTextAttributeHandler

public EscapeSequenceTextAttributeHandler(AttributeHandler attributeHandler)
Constructs a EscapeSequenceTextAttributeHandler instance with specific attributes.

Parameters:
attributeHandler - The attribute handler to use.
Method Detail

parseAttribute

public Object parseAttribute(Locator locator,
                             String attrName,
                             Object attrValue,
                             boolean evaluate)
                      throws TagAttributeException
Description copied from class: TypedAttributeHandler
Gets the value for the given attribute's name.

Specified by:
parseAttribute in class TypedAttributeHandler
Parameters:
locator - The tag source locator.
attrName - The attribute's name.
attrValue - The argument value.
evaluate - If this flag is set to true, the attribute will get evaluated.
Returns:
The determined value.
Throws:
TagAttributeException - if the item contains an invalid value or an required attribute was not defined.
See Also:
TypedAttributeHandler.parseAttribute(org.xml.sax.Locator, java.lang.String, java.lang.Object, boolean)


Copyright © 2003-2004 UJAC.org. All Rights Reserved.