public class AliasTag extends AbstractTag
The GNU Lesser General Public License for details.
Modifier and Type | Field and Description |
---|---|
private String |
alias
The alias that we are using for the other tag
|
private Tag |
tag
The tag we are aliasing to
|
Constructor and Description |
---|
AliasTag(String alias,
Tag tag)
simple ctor
|
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
private Tag tag
private String alias
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.