public class XMLBasicNote extends XMLParagraph implements NoteContent
ALIGNMENT_CENTER, ALIGNMENT_INHERIT, ALIGNMENT_JUSTIFIED, ALIGNMENT_LEFT, ALIGNMENT_NONE, ALIGNMENT_RIGHT, JUSTIFIED_AUTO, JUSTIFIED_CHARACTER, JUSTIFIED_INHERIT, JUSTIFIED_NONE, JUSTIFIED_WORD
TYPE_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, setJustification
addElement, getElements, removeLastElement, setElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRef
countElements, getElement, getFirstElement, getLastElement, hasElements, isEmpty
getCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
getDeclaration
in class XMLParagraph
public void setIndex(int index)
setIndex
in interface NoteContent
index
- the node indexpublic void setID(java.lang.String id)
id
- the node IDpublic boolean hasID()
hasID
in interface NoteContent
public java.lang.String getID()
getID
in interface NoteContent
public int getIndex()
getIndex
in interface NoteContent
public java.util.List<XMLNoteRef> getNoteReferences()
NoteContent
getNoteReferences
in interface NoteContent
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence