|
||||||||||
| 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.Credit
public class Credit
The Credit class implements the MusicXML <credit> 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 Credit |
fromXmlNode(org.w3c.dom.Element element,
MusicXmlScore container)
Create a new Credit instance and fill it with loaded data. |
CreditWords |
getCreditWords()
Getter for the CreditWords property. |
static Credit |
getInstance(MusicXmlScore container)
Create a new Credit instance. |
int |
getPage()
Getter for the Page property. |
void |
putXmlData(org.w3c.dom.Element element)
|
void |
setCreditWords(CreditWords creditWords)
Setter for the CreditWords property. |
void |
setPage(int page)
Setter for the Page 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 Credit getInstance(MusicXmlScore container)
container - The MusicXmlScore which will contain the new Credit instance.
public int getPage()
public void setPage(int page)
page - The intended Page value.public CreditWords getCreditWords()
public void setCreditWords(CreditWords creditWords)
creditWords - The intended CreditWords value.
public static Credit fromXmlNode(org.w3c.dom.Element element,
MusicXmlScore container)
element - The XML element that provides the Credit datacontainer - The MusicXmlScore which will contain the new Credit instance.
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 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 | |||||||||