org.crosswire.jsword.book.filter.gbf
Class GBFTagBuilders

java.lang.Object
  extended by org.crosswire.jsword.book.filter.gbf.GBFTagBuilders

public final class GBFTagBuilders
extends Object

This class is a convienence to get GBF Tags. The best place to go for more information about the GBF spec that I have found is: http://ebible.org/bible/gbf.htm

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

Nested Class Summary
private static class GBFTagBuilders.BoldStartTagBuilder
           
private static class GBFTagBuilders.CrossRefStartTagBuilder
           
private static class GBFTagBuilders.DefaultEndTagBuilder
           
private static class GBFTagBuilders.EndOfLineTagBuilder
           
private static class GBFTagBuilders.FootnoteEndTagBuilder
           
private static class GBFTagBuilders.FootnoteStartTagBuilder
           
private static class GBFTagBuilders.HeaderStartTagBuilder
           
private static class GBFTagBuilders.IgnoredTagBuilder
           
private static class GBFTagBuilders.ItalicStartTagBuilder
           
private static class GBFTagBuilders.JustifyRightTagBuilder
           
private static class GBFTagBuilders.OTQuoteStartTagBuilder
           
private static class GBFTagBuilders.ParagraphTagBuilder
           
private static class GBFTagBuilders.PoetryStartTagBuilder
           
private static class GBFTagBuilders.PsalmTitleStartTagBuilder
           
private static class GBFTagBuilders.RedLetterStartTagBuilder
           
private static class GBFTagBuilders.StrongsMorphTagBuilder
           
private static class GBFTagBuilders.StrongsWordTagBuilder
           
private static class GBFTagBuilders.TextFootnoteTagBuilder
           
private static class GBFTagBuilders.TitleStartTagBuilder
           
private static class GBFTagBuilders.UnderlineStartTagBuilder
           
 
Field Summary
private static Map BUILDERS
          The BUILDERS maps the 2 letter GBF tag to a class that proxies for the tag.
private static Logger log
          The log stream
 
Constructor Summary
private GBFTagBuilders()
           
 
Method Summary
static Tag getTag(String name)
           
static Tag getTextTag(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final Logger log
The log stream


BUILDERS

private static final Map BUILDERS
The BUILDERS maps the 2 letter GBF tag to a class that proxies for the tag.

Constructor Detail

GBFTagBuilders

private GBFTagBuilders()
Method Detail

getTag

public static Tag getTag(String name)
Parameters:
name -
Returns:
return a GBF Tag for the given tag name

getTextTag

public static Tag getTextTag(String text)
Parameters:
text -
Returns:
get a Text Tag object containing the text

Copyright ยจ 2003-2005