Package org.apache.commons.jelly.impl
Class DefaultTagFactory
java.lang.Object
org.apache.commons.jelly.impl.DefaultTagFactory
- All Implemented Interfaces:
TagFactory
DefaultTagFactory a default implementation of TagFactory
which creates new instances of a given class.
- Version:
- $Revision: 155420 $
- Author:
- James Strachan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTag(String name, Attributes attributes) Creates a Tag for the given local name and the SAX attributesReturns the tagClass.voidsetTagClass(Class tagClass) Sets the tagClass.
-
Constructor Details
-
DefaultTagFactory
public DefaultTagFactory() -
DefaultTagFactory
-
-
Method Details
-
createTag
Description copied from interface:TagFactoryCreates a Tag for the given local name and the SAX attributes- Specified by:
createTagin interfaceTagFactory- Throws:
JellyException
-
getTagClass
Returns the tagClass.- Returns:
- Class
-
setTagClass
Sets the tagClass.- Parameters:
tagClass- The tagClass to set
-