|
||||||||||
| 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.PartGroup
public class PartGroup
The PartGroup class implements the MusicXML <part-group> element.
| Method Summary | |
|---|---|
void |
dispose()
Release resources engaged by this object, thus rendering it amenable to garbage collection. |
boolean |
equals(MusicXmlEntity other)
Test if this MusicXML entity has the same content as another object. |
static PartGroup |
fromXmlNode(org.w3c.dom.Element element,
MusicXmlEntity container)
Create a new PartGroup instance and fill it with loaded data. |
java.lang.String |
getAbbreviation()
Getter for the Abbreviation property. |
YesNo |
getBarline()
Getter for the Barline property. |
static PartGroup |
getInstance(MusicXmlEntity container)
Create a new PartGroup instance. |
java.lang.String |
getName()
Getter for the Name property. |
int |
getNumber()
Getter for the Number property. |
GroupSymbol |
getSymbol()
Getter for the Symbol property. |
StartStop |
getType()
Getter for the Type property. |
void |
putXmlData(org.w3c.dom.Element element)
|
void |
setAbbreviation(java.lang.String abbreviation)
Setter for the Abbreviation property. |
void |
setBarline(YesNo barline)
Setter for the Barline property. |
void |
setName(java.lang.String name)
Setter for the Name property. |
void |
setNumber(int number)
Setter for the Number property. |
void |
setSymbol(GroupSymbol symbol)
Setter for the Symbol property. |
void |
setType(StartStop type)
Setter for the Type 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.MusicXmlEntity |
|---|
getContainer, makeDirty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void dispose()
Disposable
dispose in class Disposablepublic static PartGroup getInstance(MusicXmlEntity container)
container - The MusicXmlEntity which will contain the new PartGroup instance.
public java.lang.String getName()
public void setName(java.lang.String name)
name - The intended part-group name.public java.lang.String getAbbreviation()
public void setAbbreviation(java.lang.String abbreviation)
abbreviation - The intended part-group name abbreviation.public int getNumber()
public void setNumber(int number)
number - The intended part-group identifier.public StartStop getType()
public void setType(StartStop type)
type - The intended part-group type.public GroupSymbol getSymbol()
public void setSymbol(GroupSymbol symbol)
symbol - The intended part-group symbol.public YesNo getBarline()
public void setBarline(YesNo barline)
barline - The intended part-group barline indicator.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)
public static PartGroup fromXmlNode(org.w3c.dom.Element element,
MusicXmlEntity container)
element - The XML element that provides the PartGroup datacontainer - The MusicXmlEntity which will contain the new PartGroup instance.
public boolean equals(MusicXmlEntity other)
MusicXmlEntity
equals in class MusicXmlEntityother - The other object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||