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

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

public class IgnoreTag
extends Object
implements Tag

THML Tag to process the pb 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
private  String name
          The tag name that we are ignoring
 
Constructor Summary
IgnoreTag(String name)
          Simple ctor
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name
The tag name that we are ignoring

Constructor Detail

IgnoreTag

public IgnoreTag(String name)
Simple ctor

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".

Specified by:
getTagName in interface Tag

processTag

public org.jdom.Element processTag(org.jdom.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
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