org.crosswire.jsword.book.filter.thml
Interface Tag

All Known Implementing Classes:
AliasTag, ATag, BlockquoteTag, BrTag, BTag, CenterTag, CitationTag, DivTag, FontTag, ForeignTag, HrTag, IgnoreTag, ITag, LiTag, NameTag, NoteTag, OlTag, PbTag, PTag, RootTag, ScripRefTag, ScriptureTag, SmallTag, SupTag, SyncTag, TableTag, TdTag, TermTag, ThTag, TrTag, UlTag, UTag

public interface Tag

THML Tag interface - there should be one implementation of this class for each THML tag.

Author:
Joe Walker [joe at eireneh dot com]
See Also:
for license details. The copyright to this program is held by it's authors.

Method Summary
 String getTagName()
          What element does this class represent.
 org.jdom.Element processTag(org.jdom.Element ele, Attributes attrs)
          Make changes to the specified OSIS element given the attributes passed in the source document.
 

Method Detail

getTagName

String getTagName()
What element does this class represent. For example the Tag that represents the >font ...> element would return the string "font".


processTag

org.jdom.Element processTag(org.jdom.Element ele,
                            Attributes attrs)
Make changes to the specified OSIS element given the attributes passed in the source document.

Parameters:
ele - The OSIS element to use as a parent
attrs - The source document attributes.
Returns:
the element to which content is attached

Copyright ยจ 2003-2005