jp.crestmuse.cmx.filewrappers
クラス MusicXMLWrapper.Part

java.lang.Object
  上位を拡張 jp.crestmuse.cmx.filewrappers.NodeInterface
      上位を拡張 jp.crestmuse.cmx.filewrappers.MusicXMLWrapper.Part
含まれているクラス:
MusicXMLWrapper

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()
           
 
クラス jp.crestmuse.cmx.filewrappers.NodeInterface から継承されたメソッド
getAttribute, getAttribute, getAttributeDouble, getAttributeDouble, getAttributeInt, getAttributeInt, getAttributeNS, getChildByTagName, getChildByTagNameNS, getChildNodes, getChildText, getChildTextDouble, getChildTextInt, getFirstChild, getLastChild, getNodeName, getText, getText, getTextDouble, getTextInt, hasAttribute, hasAttribute, hasChild, node
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

eachmeasure

public void eachmeasure(groovy.lang.Closure closure)
                 throws javax.xml.transform.TransformerException
例外:
javax.xml.transform.TransformerException

eachnote

public void eachnote(groovy.lang.Closure closure)
              throws javax.xml.transform.TransformerException
例外:
javax.xml.transform.TransformerException

firstMeasureNumber

public int firstMeasureNumber()

getMeasureList

public MusicXMLWrapper.Measure[] getMeasureList()

Returns the array of the measure elements included in this part element.

このpart要素に含まれるmeasure要素の配列を返します.


getSupportedNodeName

protected final java.lang.String getSupportedNodeName()

Returns "part".

定義:
クラス NodeInterface 内の getSupportedNodeName

getXPathExpression

public java.lang.String getXPathExpression()

Returns an XPath expression coresponding to this part element.

このpart要素に対応するXPath表現を返します.


id

public final java.lang.String id()

Returns the ID of this part.

このパートのIDを返します.


midiChannel

public int midiChannel()

midiProgram

public int midiProgram()