|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.charlesames.utility.common.Disposable
net.charlesames.music.musicxml.MusicXmlEntity
net.charlesames.music.musicxml.notation.Notation
net.charlesames.music.musicxml.OtherNotation
public class OtherNotation
The OtherNotation class implements the MusicXML <other-notation> notation.
| Method Summary | |
|---|---|
boolean |
equals(MusicXmlEntity other)
Test if this MusicXML entity has the same content as another object. |
static OtherNotation |
fromXmlNode(org.w3c.dom.Element element,
NoteInMeasure container)
Create a new OtherNotation instance and fill it with loaded data. |
java.lang.String |
getContent()
Getter for the Content property. |
StartStopSingle |
getNotationType()
Getter for the NotationType property |
int |
getNumber()
Getter for the Number property |
void |
putXmlData(org.w3c.dom.Element element)
|
void |
setContent(java.lang.String content)
Setter for the Content property. |
void |
setNumber(int number)
Setter for the Number property. |
org.w3c.dom.Node |
toXmlNode(org.w3c.dom.Node parent)
Serialize the content of a MusicXML entity into an XML element. |
| Methods inherited from class net.charlesames.music.musicxml.notation.Notation |
|---|
dispose, getPlacement, setPlacement |
| Methods inherited from class net.charlesames.music.musicxml.MusicXmlEntity |
|---|
getContainer, makeDirty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public StartStopSingle getNotationType()
public int getNumber()
public void setNumber(int number)
number - The intended Number value.public java.lang.String getContent()
getContent in class Notationpublic void setContent(java.lang.String content)
setContent in class Notationcontent - The intended Content value.public org.w3c.dom.Node toXmlNode(org.w3c.dom.Node parent)
MusicXmlEntity
toXmlNode in class MusicXmlEntityparent - The XML element which is to receive the data.
public void putXmlData(org.w3c.dom.Element element)
putXmlData in class Notation
public static OtherNotation fromXmlNode(org.w3c.dom.Element element,
NoteInMeasure container)
element - The XML element that provides the OtherNotation datacontainer - The NoteInMeasure which will contain the new OtherNotation instance.
public boolean equals(MusicXmlEntity other)
MusicXmlEntity
equals in class Notationother - The other object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||