|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.crestmuse.cmx.filewrappers.CMXFileWrapper
jp.crestmuse.cmx.filewrappers.DeviationInstanceWrapper
public class DeviationInstanceWrapper
The DeviationInstanceWrapper class wraps a DeviationInstance
document.
DeviationInstanceWrapperクラス(仮)は,
表情付けインスタンスを記述するXMLドキュメントをラップします.
| 入れ子のクラスの概要 | |
|---|---|
class |
DeviationInstanceWrapper.ChordDeviation
|
class |
DeviationInstanceWrapper.Control
|
class |
DeviationInstanceWrapper.MissNote
|
class |
DeviationInstanceWrapper.NoteDeviation
|
| フィールドの概要 | |
|---|---|
static java.lang.String |
TOP_TAG
newOutputData()に指定するトップタグ名.スペルミス防止. |
| クラス jp.crestmuse.cmx.filewrappers.CMXFileWrapper から継承されたフィールド |
|---|
linkmanager |
| コンストラクタの概要 | |
|---|---|
DeviationInstanceWrapper()
|
|
| メソッドの概要 | |
|---|---|
protected void |
analyze()
This method defines the initial processing required for extracting information from the XML document. |
DeviationDataSet |
createDeviationDataSet()
|
static DeviationInstanceWrapper |
createDeviationInstanceFor(MusicXMLWrapper musicxml)
Returns the tick unit. |
int |
getBaseDynamics()
|
DeviationInstanceWrapper.ChordDeviation |
getChordDeviation(MusicXMLWrapper.Note note)
|
DeviationInstanceWrapper.MissNote |
getMissNote(MusicXMLWrapper.Note note)
|
DeviationInstanceWrapper.NoteDeviation |
getNoteDeviation(MusicXMLWrapper.Note note)
|
MusicXMLWrapper |
getTargetMusicXML()
Reads and returns the target MusicXML document. |
java.lang.String |
getTargetMusicXMLFileName()
Reads the file name of the target MusicXML document. |
void |
setBaseDynamics(int baseDynamics)
|
void |
setTargetMusicXMLFileName(java.lang.String filename)
|
void |
toSCCXML(SCCXMLWrapper dest,
int ticksPerBeat)
|
| クラス jp.crestmuse.cmx.filewrappers.CMXFileWrapper から継承されたメソッド |
|---|
addChild, addChild, addChildAndText, addChildAndText, addChildAndText, addClassTable, addDocumentTypeTable, addLinks, addLinks, addSibling, addSibling, addText, addText, addText, checkFinalized, createDocument, finalizeDocument, getDocument, getFileName, isFinalized, readfile, readfile, returnToParent, selectNodeList, selectNodeList, selectSingleNode, selectSingleNode, setAttribute, setAttribute, setAttribute, setAttributeNS, setAttributeNS, setAttributeNS, write, write, writefile |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final java.lang.String TOP_TAG
| コンストラクタの詳細 |
|---|
public DeviationInstanceWrapper()
| メソッドの詳細 |
|---|
public void setBaseDynamics(int baseDynamics)
public int getBaseDynamics()
public MusicXMLWrapper getTargetMusicXML()
throws 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
javax.xml.transform.TransformerExceptionpublic java.lang.String getTargetMusicXMLFileName()
public void setTargetMusicXMLFileName(java.lang.String filename)
public static DeviationInstanceWrapper createDeviationInstanceFor(MusicXMLWrapper musicxml)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXExceptionpublic DeviationDataSet createDeviationDataSet()
public DeviationInstanceWrapper.NoteDeviation getNoteDeviation(MusicXMLWrapper.Note note)
public DeviationInstanceWrapper.ChordDeviation getChordDeviation(MusicXMLWrapper.Note note)
public DeviationInstanceWrapper.MissNote getMissNote(MusicXMLWrapper.Note note)
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 内の analyzejava.io.IOException
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
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
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||