avignon.loaders
Class JavaTagLoader

java.lang.Object
  extended byavignon.loaders.JavaTagLoader
All Implemented Interfaces:
TagLoader

public class JavaTagLoader
extends java.lang.Object
implements TagLoader

The standard tag loader for loading AvignonTagHandlers written in Java.


Constructor Summary
JavaTagLoader()
           
 
Method Summary
 boolean equals(java.lang.Object value)
          Simple equals method used for unit testing.
 AvignonTagHandler findTagHandler(java.lang.String name)
          Searches for tags by using the tag name followed by "Handler" as an unqualified class name and qualifying it with the different prefixes specified in the HandlerPath property of the avignon.properties file.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaTagLoader

public JavaTagLoader()
Method Detail

findTagHandler

public AvignonTagHandler findTagHandler(java.lang.String name)
Searches for tags by using the tag name followed by "Handler" as an unqualified class name and qualifying it with the different prefixes specified in the HandlerPath property of the avignon.properties file.

Specified by:
findTagHandler in interface TagLoader
Parameters:
name - The name of the tag.
Returns:
An AvignonTagHandler implementing the tag or null if one cannot be found.

equals

public boolean equals(java.lang.Object value)
Simple equals method used for unit testing. Any two JavaTagLoaders are equal.

Parameters:
value - The object being tested for equality.
Returns:
True if the given parameter is a JavaTagLoader or subclass of one.

SourceForge.net Logo