org.pf.pax
Class BaseXMLTagInterpreterFactory

java.lang.Object
  extended by org.pf.pax.BaseXMLTagInterpreterFactory
All Implemented Interfaces:
XMLTagInterpreterFactory

public abstract class BaseXMLTagInterpreterFactory
extends java.lang.Object
implements XMLTagInterpreterFactory

This is the basic implemenatation of a registry of tag interpreter classes an their associated tag names.

Version:
2.0
Author:
Manfred Duchrow

Constructor Summary
BaseXMLTagInterpreterFactory()
           
 
Method Summary
 XMLTagInterpreter getInterpreterFor(java.lang.String tagName)
          Returns an instance of the tag interpreter class associated that is associated to the specified tag name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseXMLTagInterpreterFactory

public BaseXMLTagInterpreterFactory()
Method Detail

getInterpreterFor

public XMLTagInterpreter getInterpreterFor(java.lang.String tagName)
                                    throws org.xml.sax.SAXException
Returns an instance of the tag interpreter class associated that is associated to the specified tag name.

Specified by:
getInterpreterFor in interface XMLTagInterpreterFactory
Parameters:
tagName - The name of the tag, the interpreter is looked up for.
Returns:
The tag interpreter instance or null, if the tag isn't supported.
Throws:
org.xml.sax.SAXException