public class DivTag extends AbstractTag
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private int |
level
The level of the division
|
Constructor and Description |
---|
DivTag()
Create an div tag
|
DivTag(int level)
Create an div tag of the given level
|
Modifier and Type | Method and Description |
---|---|
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.
|
processContent
public DivTag()
public DivTag(int level)
level
- public String getTagName()
Tag
public org.jdom2.Element processTag(Book book, Key key, org.jdom2.Element ele, Attributes attrs)
Tag
processTag
in interface Tag
processTag
in class AbstractTag
book
- the bookkey
- the keyele
- The OSIS element to use as a parentattrs
- The source document attributes.