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
TagFactory
createTag
in interface TagFactory
JellyException
public Class getTagClass()
public void setTagClass(Class tagClass)
tagClass
- The tagClass to setCopyright © 2014 Apache Software Foundation. All rights reserved.