avignon.loaders
Class XmlTagLoader

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

public class XmlTagLoader
extends java.lang.Object
implements TagLoader

A tag loader that makes it possible to use an abbreviated format to include test content in other XML files - makes it possible to "implement" handlers in XML. For example, an include block that currently requires can now be written as


Constructor Summary
XmlTagLoader()
           
 
Method Summary
 AvignonTagHandler findTagHandler(java.lang.String name)
          An implementation of this method should attempt to load the handler associated with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlTagLoader

public XmlTagLoader()
Method Detail

findTagHandler

public AvignonTagHandler findTagHandler(java.lang.String name)
Description copied from interface: TagLoader
An implementation of this method should attempt to load the handler associated with the given name. If the loader cannot find a matching handler, it should return null.

Specified by:
findTagHandler in interface TagLoader
Parameters:
name - The name of the XML element for which a handler is being searched.
Returns:
An AvignonTagHandler implementing the actions required for the XML element or null if one cannot be found.

SourceForge.net Logo