|
||||||||||
| 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.notation.Slur
public class Slur
The Slur class implements the MusicXML <slur> notation.
| Method Summary | |
|---|---|
boolean |
equals(MusicXmlEntity other)
Test if this MusicXML entity has the same content as another object. |
static Slur |
fromXmlNode(org.w3c.dom.Element element,
NoteInMeasure container)
Create a new Slur instance and fill it with loaded data. |
static Slur |
getInstance(NoteInMeasure container)
Create a new Slur instance. |
StartStop |
getSlurType()
Getter for the SlurType property |
void |
putXmlData(org.w3c.dom.Element element)
|
void |
setSlurType(StartStop value)
Setter for the SlurType 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, getContent, getPlacement, setContent, 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 static Slur getInstance(NoteInMeasure container)
container - The NoteInMeasure which will contain the new Slur instance.
public StartStop getSlurType()
public void setSlurType(StartStop value)
value - The intended SlurType 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 Slur fromXmlNode(org.w3c.dom.Element element,
NoteInMeasure container)
element - The XML element that provides the Slur datacontainer - The NoteInMeasure which will contain the new Slur 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 | |||||||||