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属性ではありません).
|
getAttribute, getAttributeDouble, getAttributeDouble, getAttributeInt, getAttributeKeys, getAttributeNS, getAttributes, getChildByTagName, getChildByTagNameNS, getChildNodes, getChildText, getChildTextDouble, getChildTextInt, getFirstChild, getLastChild, getNodeName, getText, getText, getTextDouble, getTextInt, hasAttribute, hasAttribute, hasChild, node
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です.
public final java.lang.String getAttribute(java.lang.String key)
direction-type要素の子が持つ, 指定された名前の属性の値を返します (direction-type要素自身の属性ではありません).
getAttribute
クラス内 NodeInterface
public final int getAttributeInt(java.lang.String key)
direction-type要素の子が持つ, 指定された名前の属性の値を整数で返します (direction-type要素自身の属性ではありません).
getAttributeInt
クラス内 NodeInterface
protected final java.lang.String getSupportedNodeName()
Returns "direction-type".
getSupportedNodeName
クラス内 NodeInterface
public final java.lang.String name()
direction-type要素の子のノード名を返します.
public final int number()
direction-type要素の子が持つnumber属性を返します (direction-type要素自身のnumber属性ではありません).
public final java.lang.String text()
direction-type要素の子が持つテキストを返します.
public final java.lang.String type()
direction-type要素の子が持つtype属性を返します (direction-type要素自身のtype属性ではありません).