jp.crestmuse.cmx.filewrappers
クラス DeviationInstanceWrapper
java.lang.Object
jp.crestmuse.cmx.filewrappers.CMXFileWrapper
jp.crestmuse.cmx.filewrappers.DeviationInstanceWrapper
public class DeviationInstanceWrapper
- extends CMXFileWrapper
The DeviationInstanceWrapper class wraps a DeviationInstance
document.
DeviationInstanceWrapperクラス(仮)は,
表情付けインスタンスを記述するXMLドキュメントをラップします.
- バージョン:
- 0.10.000
- 作成者:
- Tetsuro Kitahara
フィールドの概要 |
static java.lang.String |
TOP_TAG
newOutputData()に指定するトップタグ名.スペルミス防止. |
クラス jp.crestmuse.cmx.filewrappers.CMXFileWrapper から継承されたメソッド |
addChild, addChild, addChildAndText, addChildAndText, addChildAndText, addClassTable, addDocumentTypeTable, addLinks, addLinks, addSibling, addSibling, addText, addText, addText, checkFinalized, createDocument, finalizeDocument, getDocument, getFileName, getTopTagAttribute, getTopTagAttributeNS, init, isFinalized, readfile, readfile, readfile, returnToParent, selectNodeList, selectNodeList, selectSingleNode, selectSingleNode, setAttribute, setAttribute, setAttribute, setAttributeNS, setAttributeNS, setAttributeNS, setTopTagAttribute, setTopTagAttributeNS, write, write, writefile, writefile, writeGZippedFile, writeGZippedFile |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOP_TAG
public static final java.lang.String TOP_TAG
- newOutputData()に指定するトップタグ名.スペルミス防止.
- 導入されたバージョン:
- 2007.7.30 final 追加, 2007.7.18
- 関連項目:
- 定数フィールド値
DeviationInstanceWrapper
public DeviationInstanceWrapper()
setBaseDynamics
public void setBaseDynamics(int baseDynamics)
getBaseDynamics
public int getBaseDynamics()
getTargetMusicXML
public MusicXMLWrapper getTargetMusicXML()
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
javax.xml.transform.TransformerException
- Reads and returns the target MusicXML document.
この表情付けインスタンスがターゲットとしているMusicXMLドキュメントを
読み込んで返します.
- 例外:
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.transform.TransformerException
getTargetMusicXMLFileName
public java.lang.String getTargetMusicXMLFileName()
- Reads the file name of the target MusicXML document.
この表情付けインスタンスがターゲットとしているMusicXMLドキュメントの
ファイル名を返します.
setTargetMusicXMLFileName
public void setTargetMusicXMLFileName(java.lang.String filename)
changeDefaultMusicXMLDirName
public static void changeDefaultMusicXMLDirName(java.lang.String dirname)
getInitialSilence
public double getInitialSilence()
- Returns the tick unit.
createDeviationInstanceFor
public static DeviationInstanceWrapper createDeviationInstanceFor(MusicXMLWrapper musicxml)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
- 例外:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
createDeviationDataSet
public DeviationDataSet createDeviationDataSet()
getNoteDeviation
public DeviationInstanceWrapper.NoteDeviation getNoteDeviation(MusicXMLWrapper.Note note)
getChordDeviation
public DeviationInstanceWrapper.ChordDeviation getChordDeviation(MusicXMLWrapper.Note note)
getMissNote
public DeviationInstanceWrapper.MissNote getMissNote(MusicXMLWrapper.Note note)
analyze
protected void analyze()
throws java.io.IOException,
javax.xml.transform.TransformerException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
- クラス
CMXFileWrapper
の記述:
This method defines the initial processing required for extracting
information from the XML document.
This is called by the runAll() method in the CMXCommand class
after readfile() method before run() method.
The default implementation does not do anything.
このメソッドでは, XMLドキュメントから情報を取り出す上で必要な初期の処理を
記述します. これは, CMXCommandクラスのrunAll()メソッドから,
readfile()メソッドの後, run()メソッドの前に呼び出されます.
デフォルトの実装では何もしません.
- オーバーライド:
- クラス
CMXFileWrapper
内の analyze
- 例外:
java.io.IOException
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
toSCCXML
public void toSCCXML(SCCXMLWrapper dest,
int ticksPerBeat)
throws javax.xml.transform.TransformerException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
- 例外:
javax.xml.transform.TransformerException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
toSCCXML
public SCCXMLWrapper toSCCXML(int ticksPerBeat)
throws javax.xml.transform.TransformerException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
- 例外:
javax.xml.transform.TransformerException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
getNonPartwiseControlView
public TreeView<DeviationInstanceWrapper.Control> getNonPartwiseControlView()
getPartwiseControlView
public TreeView<DeviationInstanceWrapper.Control> getPartwiseControlView(java.lang.String partid)
getExtraNoteView
public TreeView<DeviationInstanceWrapper.ExtraNote> getExtraNoteView(java.lang.String partid)