org.crosswire.jsword.book.filter.thml
Class ScripRefTag

java.lang.Object
  extended by org.crosswire.jsword.book.filter.thml.AbstractTag
      extended by org.crosswire.jsword.book.filter.thml.ScripRefTag
All Implemented Interfaces:
Tag

public class ScripRefTag
extends AbstractTag

THML Tag to process the scripRef element.

Author:
Joe Walker
See Also:
The GNU Lesser General Public License for details.

Constructor Summary
ScripRefTag()
           
 
Method Summary
 String getTagName()
          What element does this class represent.
 void processContent(Book book, Key key, org.jdom2.Element ele)
          Do additional processing of the tag after the element has been created.
 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
 

Constructor Detail

ScripRefTag

public ScripRefTag()
Method Detail

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
Parameters:
book - the book
key - the key
ele - The OSIS element to use as a parent
attrs - The source document attributes.
Returns:
the element to which content is attached

processContent

public void processContent(Book book,
                           Key key,
                           org.jdom2.Element ele)
Description copied from interface: Tag
Do additional processing of the tag after the element has been created.

Specified by:
processContent in interface Tag
Overrides:
processContent in class AbstractTag
Parameters:
book - the book
key - the key
ele - the created element to process

Copyright ยจ 2003-2015