public class DefaultTagFactory extends Object implements TagFactory
DefaultTagFactory a default implementation of TagFactory
which creates new instances of a given class.
| Constructor and Description |
|---|
DefaultTagFactory() |
DefaultTagFactory(Class tagClass) |
| Modifier and Type | Method and Description |
|---|---|
Tag |
createTag(String name,
Attributes attributes)
Creates a Tag for the given local name and the SAX attributes
|
Class |
getTagClass()
Returns the tagClass.
|
void |
setTagClass(Class tagClass)
Sets the tagClass.
|
public DefaultTagFactory()
public DefaultTagFactory(Class tagClass)
public Tag createTag(String name, Attributes attributes) throws JellyException
TagFactorycreateTag in interface TagFactoryJellyExceptionpublic Class getTagClass()
public void setTagClass(Class tagClass)
tagClass - The tagClass to setCopyright © 2012 Apache Software Foundation. All Rights Reserved.