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