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

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

public class MusicXMLWrapper.DirectionType
extends NodeInterface

DirectionType要素から情報を取り出すためのメソッドを提供します. 現バージョンでは, direction-type要素には子がただ1つだけ存在することを仮定しています.


メソッドの概要
 java.lang.String dynamics()
          direction-type要素の子がdynamics要素だったときに, その子要素の名前を 返します.
 java.lang.String getAttribute(java.lang.String key)
          direction-type要素の子が持つ, 指定された名前の属性の値を返します (direction-type要素自身の属性ではありません).
 int getAttributeInt(java.lang.String key)
          direction-type要素の子が持つ, 指定された名前の属性の値を整数で返します (direction-type要素自身の属性ではありません).
protected  java.lang.String getSupportedNodeName()
          Returns "direction-type".
 java.lang.String name()
          direction-type要素の子のノード名を返します.
 int number()
          direction-type要素の子が持つnumber属性を返します (direction-type要素自身のnumber属性ではありません).
 java.lang.String text()
          direction-type要素の子が持つテキストを返します.
 java.lang.String type()
          direction-type要素の子が持つtype属性を返します (direction-type要素自身のtype属性ではありません).
 
クラス jp.crestmuse.cmx.filewrappers.NodeInterface から継承されたメソッド
getAttribute, getAttributeDouble, getAttributeDouble, 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 "direction-type".

定義:
クラス NodeInterface 内の getSupportedNodeName

name

public final java.lang.String name()

direction-type要素の子のノード名を返します.


text

public final java.lang.String text()

direction-type要素の子が持つテキストを返します.


type

public final java.lang.String type()

direction-type要素の子が持つtype属性を返します (direction-type要素自身のtype属性ではありません).


number

public final int number()

direction-type要素の子が持つnumber属性を返します (direction-type要素自身のnumber属性ではありません).


getAttribute

public final java.lang.String getAttribute(java.lang.String key)

direction-type要素の子が持つ, 指定された名前の属性の値を返します (direction-type要素自身の属性ではありません).

オーバーライド:
クラス NodeInterface 内の getAttribute

getAttributeInt

public final int getAttributeInt(java.lang.String key)

direction-type要素の子が持つ, 指定された名前の属性の値を整数で返します (direction-type要素自身の属性ではありません).

オーバーライド:
クラス NodeInterface 内の getAttributeInt

dynamics

public java.lang.String dynamics()

direction-type要素の子がdynamics要素だったときに, その子要素の名前を 返します. とりうる値は, p, pp, ppp, pppp, ppppp, pppppp, f, ff, fff, ffff, fffff, ffffff, mp, mf, sf, sfp, sfpp, fp, rf, rfz, sfz, sffz, fz, otherです.