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

java.lang.Object
  上位を拡張 jp.crestmuse.cmx.filewrappers.NodeInterface
      上位を拡張 jp.crestmuse.cmx.filewrappers.MusicXMLWrapper.MusicData
          上位を拡張 jp.crestmuse.cmx.filewrappers.MusicXMLWrapper.Attributes
すべての実装されたインタフェース:
Ordered
含まれているクラス:
MusicXMLWrapper

public class MusicXMLWrapper.Attributes
extends MusicXMLWrapper.MusicData

Attributes要素から情報を取り出すためのメソッドを提供します. 現バージョンでは, divisions, key, time要素に対応しています.


メソッドの概要
 int beats()
          拍子の分子(8分の6拍子なら6)を返します.
 int beatType()
          拍子の分母(8分の6拍子なら8)を返します.
 int divisions()
          音長表記における分母の値を返します.
 int fifths()
           
protected  java.lang.String getSupportedNodeName()
          Returns "attributes".
 java.lang.String mode()
           
 java.lang.String timeSymbol()
           
 
クラス jp.crestmuse.cmx.filewrappers.MusicXMLWrapper.MusicData から継承されたメソッド
actualDuration, actualDuration, duration, duration, measure, offset, onset, onsetWithinMeasure, ordinal, subordinal
 
クラス jp.crestmuse.cmx.filewrappers.NodeInterface から継承されたメソッド
getAttribute, getAttribute, getAttributeDouble, getAttributeDouble, getAttributeInt, getAttributeInt, getChildByTagName, getChildByTagName, getChildNodes, getChildText, getChildTextDouble, getChildTextInt, getFirstChild, getLastChild, getNodeName, getText, getText, getTextDouble, getTextInt, hasAttribute, hasAttribute, hasChild, hasChild, node
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

getSupportedNodeName

protected final java.lang.String getSupportedNodeName()

Returns "attributes".

オーバーライド:
クラス MusicXMLWrapper.MusicData 内の getSupportedNodeName

divisions

public int divisions()

音長表記における分母の値を返します. 詳しくはNote.duration()を ご覧ください.


fifths

public int fifths()

mode

public java.lang.String mode()

beats

public int beats()

拍子の分子(8分の6拍子なら6)を返します.


beatType

public int beatType()

拍子の分母(8分の6拍子なら8)を返します.


timeSymbol

public java.lang.String timeSymbol()