public class MusicXMLWrapper.Direction extends MusicXMLWrapper.MusicData
Direction要素から情報を取り出すためのメソッドを提供します. Direction要素は, 楽譜における演奏者への指示のうち, 特定の音符に貼り付くタイプ ではないものを表します. 現バージョンではdirection-type, voice, soundに 対応しています. direction-typeは複数存在してもかまいません.
修飾子とタイプ | メソッドと説明 |
---|---|
MusicXMLWrapper.DirectionType[] |
getDirectionTypeList()
direction-type要素をラップするDirectionTypeオブジェクトのリストを 返します.
|
java.lang.String |
getSoundAttribute(java.lang.String key) |
double |
getSoundAttributeDouble(java.lang.String key) |
int |
getSoundAttributeInt(java.lang.String key) |
protected java.lang.String |
getSupportedNodeName()
Returns "direction".
|
boolean |
hasSound() |
double |
tempo() |
int |
voice() |
actualDuration, actualDuration, duration, duration, measure, offet, onset, onsetWithinMeasure, ordinal, subordinal
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 MusicXMLWrapper.DirectionType[] getDirectionTypeList()
direction-type要素をラップするDirectionTypeオブジェクトのリストを 返します.
public final java.lang.String getSoundAttribute(java.lang.String key)
public final double getSoundAttributeDouble(java.lang.String key)
public final int getSoundAttributeInt(java.lang.String key)
protected final java.lang.String getSupportedNodeName()
Returns "direction".
getSupportedNodeName
クラス内 MusicXMLWrapper.MusicData
public final boolean hasSound()
public final double tempo()
public final int voice()