public class MusicXMLWrapper.Part extends NodeInterface
This class provides methods for getting information from a "part" element.
part要素から情報を取り出すためのメソッドを提供します.
修飾子とタイプ | メソッドと説明 |
---|---|
void |
eachmeasure(groovy.lang.Closure closure) |
void |
eachnote(groovy.lang.Closure closure) |
int |
firstMeasureNumber() |
MusicXMLWrapper.Measure[] |
getMeasureList()
Returns the array of the measure elements included in this part element.
|
protected java.lang.String |
getSupportedNodeName()
Returns "part".
|
java.lang.String |
getXPathExpression()
Returns an XPath expression coresponding to this part element.
|
java.lang.String |
id()
Returns the ID of this part.
|
int |
midiChannel() |
int |
midiProgram() |
getAttribute, getAttribute, getAttributeDouble, getAttributeDouble, getAttributeInt, getAttributeInt, getAttributeKeys, getAttributeNS, getAttributes, getChildByTagName, getChildByTagNameNS, getChildNodes, getChildText, getChildTextDouble, getChildTextInt, getFirstChild, getLastChild, getNodeName, getText, getText, getTextDouble, getTextInt, hasAttribute, hasAttribute, hasChild, node
public void eachmeasure(groovy.lang.Closure closure) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
public void eachnote(groovy.lang.Closure closure) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
public int firstMeasureNumber()
public MusicXMLWrapper.Measure[] getMeasureList()
Returns the array of the measure elements included in this part element.
このpart要素に含まれるmeasure要素の配列を返します.
protected final java.lang.String getSupportedNodeName()
Returns "part".
getSupportedNodeName
クラス内 NodeInterface
public java.lang.String getXPathExpression()
Returns an XPath expression coresponding to this part element.
このpart要素に対応するXPath表現を返します.
public final java.lang.String id()
Returns the ID of this part.
このパートのIDを返します.
public int midiChannel()
public int midiProgram()