public class XMLBasicNote extends XMLParagraph implements NoteContent
elementsALIGNMENT_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()
Return the list of note references which refer to this note.
|
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, waitgetRefcountElements, 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 NoteContentindex - the node indexpublic void setID(java.lang.String id)
id - the node IDpublic boolean hasID()
hasID in interface NoteContentpublic java.lang.String getID()
getID in interface NoteContentpublic int getIndex()
getIndex in interface NoteContentpublic java.util.List<XMLNoteRef> getNoteReferences()
NoteContentgetNoteReferences in interface NoteContentCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence