org.crosswire.jsword.book.filter.thml
Class RootTag
java.lang.Object
org.crosswire.jsword.book.filter.thml.AbstractTag
org.crosswire.jsword.book.filter.thml.RootTag
- All Implemented Interfaces:
- Tag
public class RootTag
- extends AbstractTag
THML Tag to process the root element.
- Author:
- Joe Walker [joe at eireneh dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
Field Summary |
protected static String |
TAG_ROOT
This is added by the parser to we make the string accessible |
Method Summary |
String |
getTagName()
What element does this class represent. |
org.jdom2.Element |
processTag(Book book,
Key key,
org.jdom2.Element ele,
Attributes attrs)
Make changes to the specified OSIS element given the attributes passed in
the source document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG_ROOT
protected static final String TAG_ROOT
- This is added by the parser to we make the string accessible
- See Also:
- Constant Field Values
RootTag
public RootTag()
getTagName
public String getTagName()
- Description copied from interface:
Tag
- What element does this class represent. For example the Tag that
represents the font element would return the string "font".
- Returns:
- the element's tag name
processTag
public org.jdom2.Element processTag(Book book,
Key key,
org.jdom2.Element ele,
Attributes attrs)
- Description copied from interface:
Tag
- Make changes to the specified OSIS element given the attributes passed in
the source document.
- Specified by:
processTag
in interface Tag
- Overrides:
processTag
in class AbstractTag
ele
- The OSIS element to use as a parentattrs
- The source document attributes.
- Returns:
- the element to which content is attached