public class XMLBasicNote extends XMLParagraph implements org.docgene.model.NoteContent
ALIGNMENT_CENTER, ALIGNMENT_INHERIT, ALIGNMENT_JUSTIFIED, ALIGNMENT_LEFT, ALIGNMENT_NONE, ALIGNMENT_RIGHT, JUSTIFIED_AUTO, JUSTIFIED_CHARACTER, JUSTIFIED_INHERIT, JUSTIFIED_NONE, JUSTIFIED_WORDTYPE_NONE| Constructor and Description |
|---|
XMLBasicNote()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.lang.String |
getID()
Return the node ID.
|
int |
getIndex()
Return the node index.
|
java.util.List<XMLNoteRef> |
getNoteReferences() |
boolean |
hasID()
Return true if the node has an ID.
|
void |
setID(java.lang.String id)
Set the node ID
|
void |
setIndex(int index)
Set the node index.
|
getAlignment, getJustification, setAlignment, setJustificationaddElement, getElements, removeLastElement, setElementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountElements, getElement, getFirstElement, getLastElement, hasElements, isEmptygetCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStylepublic java.lang.String getDeclaration()
getDeclaration in interface StyledElementgetDeclaration in class XMLParagraphpublic void setIndex(int index)
setIndex in interface org.docgene.model.NoteContentindex - the node indexpublic void setID(java.lang.String id)
id - the node IDpublic boolean hasID()
hasID in interface org.docgene.model.NoteContentpublic java.lang.String getID()
getID in interface org.docgene.model.NoteContentpublic int getIndex()
getIndex in interface org.docgene.model.NoteContentpublic java.util.List<XMLNoteRef> getNoteReferences()
getNoteReferences in interface org.docgene.model.NoteContentCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence