|
||||||||||
| 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.MusicXmlScore
public abstract class MusicXmlScore
The MusicXmlScore class implements functionality shared between the MusicXML <score-partwise> and <score-timewise> elements.
| Method Summary | |
|---|---|
void |
addCredit(Credit credit)
Add a credit. |
abstract org.w3c.dom.DocumentType |
createDocumentType()
Create an XML DocumentType. |
boolean |
equals(MusicXmlEntity other)
Test if this MusicXML entity has the same content as another object. |
java.util.List<Credit> |
getCredits()
Get all <@link Credit> instances. |
java.lang.String |
getVersion()
Getter for the Version property. |
boolean |
isDirty()
Test if the document has experienced a change which should be saved to the MusicXML file. |
static MusicXmlScore |
load(java.io.File file)
Load a MusicXML document. |
void |
makeDirty()
Signal that the document has experienced a change which should be saved to the MusicXML file. |
void |
putXmlData(org.w3c.dom.Element element)
|
void |
save(java.io.File file)
Save a MusicXML document. |
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 |
| Methods inherited from class net.charlesames.utility.common.Disposable |
|---|
dispose |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getVersion()
public java.util.List<Credit> getCredits()
public void addCredit(Credit credit)
credit - The credit.public void putXmlData(org.w3c.dom.Element element)
public abstract org.w3c.dom.DocumentType createDocumentType()
public static MusicXmlScore load(java.io.File file)
file - The input file
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 boolean isDirty()
public void makeDirty()
MusicXmlEntity
makeDirty in class MusicXmlEntitypublic void save(java.io.File file)
file - The output file.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 | |||||||||