public class XMLAnchor extends org.docgene.model.AbstractStylableText implements ParagraphElement, org.docgene.model.AnchorElement
TYPE_NONE| Constructor and Description |
|---|
XMLAnchor(java.lang.String id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.lang.String |
getID()
Return the ID of the anchor.
|
java.lang.String |
getStyle()
Return the style class of the element.
|
java.lang.String |
getText()
Return the anchor text.
|
void |
setID(java.lang.String id)
Set the ID of the anchor.
|
void |
setText(java.lang.String text)
Set the anchor text.
|
getBackgroundColor, getColor, getFontFace, getNamedSize, getNumericSize, getParentStyle, getSize, getType, hasDecoration, hasFontFace, hasSize, setBackgroundColor, setColor, setFontFace, setParentStyle, setSize, setSize, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCustomStyles, getInlinedStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStylepublic XMLAnchor(java.lang.String id)
id - the ID of the anchorpublic java.lang.String getDeclaration()
getDeclaration in interface StyledElementpublic java.lang.String getStyle()
getStyle in interface org.docgene.model.StylableTextgetStyle in interface StyledElementpublic void setText(java.lang.String text)
text - the anchor textpublic java.lang.String getText()
getText in interface org.docgene.model.StylableTextpublic java.lang.String getID()
getID in interface org.docgene.model.AnchorElementpublic void setID(java.lang.String id)
setID in interface org.docgene.model.AnchorElementid - the ID of the anchorCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence