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_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() |
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
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 org.docgene.model.NoteContent
index
- the node indexpublic void setID(java.lang.String id)
id
- the node IDpublic boolean hasID()
hasID
in interface org.docgene.model.NoteContent
public java.lang.String getID()
getID
in interface org.docgene.model.NoteContent
public int getIndex()
getIndex
in interface org.docgene.model.NoteContent
public java.util.List<XMLNoteRef> getNoteReferences()
getNoteReferences
in interface org.docgene.model.NoteContent
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence