public class SCCXMLWrapper extends CMXFileWrapper implements SCC
修飾子とタイプ | クラスと説明 |
---|---|
class |
SCCXMLWrapper.Annotation |
class |
SCCXMLWrapper.ControlChange |
class |
SCCXMLWrapper.HeaderElement |
class |
SCCXMLWrapper.Note |
class |
SCCXMLWrapper.Part |
class |
SCCXMLWrapper.PitchBend |
修飾子とタイプ | フィールドと説明 |
---|---|
static java.lang.String |
TOP_TAG
newOutputData()に指定するトップタグ名.スペルミス防止.
|
コンストラクタと説明 |
---|
SCCXMLWrapper() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addAnnotation(java.lang.String type,
int onset,
int offset,
java.lang.String content)
推奨されていません。
|
void |
addBarline(int time,
java.lang.String details)
推奨されていません。
|
void |
addChord(int onset,
int offset,
java.lang.String content)
推奨されていません。
|
void |
addControlChange(int time,
int ctrlnum,
int value)
推奨されていません。
|
void |
addControlChange(int onset,
int offset,
int ctrlnum,
int value)
推奨されていません。
|
void |
addHeaderElement(int time,
java.lang.String name,
double value)
推奨されていません。
|
void |
addHeaderElement(int time,
java.lang.String name,
int value)
推奨されていません。
|
void |
addHeaderElement(int time,
java.lang.String name,
java.lang.String content)
推奨されていません。
|
void |
addNoteElement(int onset,
int offset,
int notenum,
int velocity)
推奨されていません。
|
void |
addNoteElement(int onset,
int offset,
int notenum,
int velocity,
int offVelocity)
推奨されていません。
|
void |
addNoteElement(int onset,
int offset,
int notenum,
int velocity,
int offVelocity,
java.util.Map<java.lang.String,java.lang.String> attr)
推奨されていません。
|
void |
addNoteElement(int onset,
int offset,
int notenum,
int velocity,
int offVelocity,
java.util.Map<java.lang.String,java.lang.String> attr,
MusicXMLWrapper.Note note)
推奨されていません。
|
void |
addNoteElement(int onset,
int offset,
int notenum,
int velocity,
MusicXMLWrapper.Note note) |
void |
addNoteElementWithWord(java.lang.String word,
int onset,
int offset,
int notenum,
int velocity,
int offVelocity)
推奨されていません。
|
void |
addPitchBend(int time,
int value)
推奨されていません。
|
void |
addPitchBend(int onset,
int offset,
int value)
推奨されていません。
|
protected void |
analyze()
This method defines the initial processing required for extracting
information from the XML document.
|
void |
beginAnnotations()
推奨されていません。
|
void |
beginHeader()
推奨されていません。
|
SCCXMLWrapper |
changeVelocity(java.util.List<java.util.List<java.lang.Byte>> diff,
boolean sorted) |
void |
eachbarline(groovy.lang.Closure closure) |
void |
eachchord(groovy.lang.Closure closure) |
void |
eachnote(groovy.lang.Closure closure) |
void |
eachpart(groovy.lang.Closure closure) |
void |
endAnnotations()
推奨されていません。
|
void |
endHeader()
推奨されていません。
|
void |
endPart()
推奨されていません。
|
SCCXMLWrapper.Annotation[] |
getAnnotationList() |
SCC.Annotation[] |
getBarlineList() |
SCC.Annotation[] |
getChordList() |
int |
getDivision() |
SCC.HeaderElement |
getFirstKey() |
SCC.HeaderElement |
getFirstTempo() |
SCCXMLWrapper.HeaderElement[] |
getHeaderElementList() |
java.io.InputStream |
getMIDIInputStream() |
SCCXMLWrapper.Part[] |
getPartList() |
void |
newPart(int serial,
int ch,
int pn,
int vol)
推奨されていません。
|
void |
newPart(int serial,
int ch,
int pn,
int vol,
java.lang.String name)
推奨されていません。
|
void |
processNotes(SCCHandler h) |
void |
processSortedNotes(SCCHandler h) |
SCCXMLWrapper |
replaceVelocity(java.util.List<java.util.List<java.lang.Byte>> vellist,
boolean sorted)
推奨されていません。
|
void |
setDivision(int div)
推奨されていません。
|
SCCDataSet |
toDataSet() |
MIDIXMLWrapper |
toMIDIXML() |
SCCXMLWrapper |
toWrapper() |
addChild, addChild, addChildAndText, addChildAndText, addChildAndText, addChildOf, addClassTable, addDocumentTypeTable, addLinks, addLinks, addPathFirst, addPathLast, addSibling, addSibling, addText, addText, addText, changeCurrentNode, checkFinalized, createDocument, finalizeDocument, getAbsolutePath, getDocument, getFileName, getParentPath, getPath, getTopTagAttribute, getTopTagAttributeNS, getURI, init, isFinalized, println, read, readfile, readfile, readfile, resetXPath, returnToParent, returnToPrevCurrentNode, selectNodeList, selectNodeList, selectSingleNode, selectSingleNode, setAttribute, setAttribute, setAttribute, setAttributeNS, setAttributeNS, setAttributeNS, setNamespaceContext, setTopTagAttribute, setTopTagAttributeNS, wrap, write, write, writefile, writefile, writeGZippedFile, writeGZippedFile
public static final java.lang.String TOP_TAG
@Deprecated public void addAnnotation(java.lang.String type, int onset, int offset, java.lang.String content)
@Deprecated public void addBarline(int time, java.lang.String details)
@Deprecated public void addChord(int onset, int offset, java.lang.String content)
@Deprecated public void addControlChange(int time, int ctrlnum, int value)
@Deprecated public void addControlChange(int onset, int offset, int ctrlnum, int value)
@Deprecated public void addHeaderElement(int time, java.lang.String name, double value)
@Deprecated public void addHeaderElement(int time, java.lang.String name, int value)
@Deprecated public void addHeaderElement(int time, java.lang.String name, java.lang.String content)
@Deprecated public void addNoteElement(int onset, int offset, int notenum, int velocity)
@Deprecated public void addNoteElement(int onset, int offset, int notenum, int velocity, int offVelocity)
@Deprecated public void addNoteElement(int onset, int offset, int notenum, int velocity, int offVelocity, java.util.Map<java.lang.String,java.lang.String> attr)
@Deprecated public void addNoteElement(int onset, int offset, int notenum, int velocity, int offVelocity, java.util.Map<java.lang.String,java.lang.String> attr, MusicXMLWrapper.Note note)
public void addNoteElement(int onset, int offset, int notenum, int velocity, MusicXMLWrapper.Note note)
@Deprecated public void addNoteElementWithWord(java.lang.String word, int onset, int offset, int notenum, int velocity, int offVelocity)
@Deprecated public void addPitchBend(int time, int value)
@Deprecated public void addPitchBend(int onset, int offset, int value)
protected void analyze()
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()メソッドの前に呼び出されます. デフォルトの実装では何もしません.
analyze
クラス内 CMXFileWrapper
@Deprecated public void beginAnnotations()
@Deprecated public void beginHeader()
public SCCXMLWrapper changeVelocity(java.util.List<java.util.List<java.lang.Byte>> diff, boolean sorted) throws javax.xml.transform.TransformerException, InvalidFileTypeException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
javax.xml.transform.TransformerException
InvalidFileTypeException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public void eachbarline(groovy.lang.Closure closure) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
public void eachchord(groovy.lang.Closure closure) throws javax.xml.transform.TransformerException
public void eachnote(groovy.lang.Closure closure) throws javax.xml.transform.TransformerException
public void eachpart(groovy.lang.Closure closure) throws javax.xml.transform.TransformerException
@Deprecated public void endAnnotations()
@Deprecated public void endHeader()
@Deprecated public void endPart()
public SCCXMLWrapper.Annotation[] getAnnotationList()
getAnnotationList
インタフェース内 SCC
public SCC.Annotation[] getBarlineList()
getBarlineList
インタフェース内 SCC
public SCC.Annotation[] getChordList()
getChordList
インタフェース内 SCC
public int getDivision()
getDivision
インタフェース内 SCC
public SCC.HeaderElement getFirstKey()
public SCC.HeaderElement getFirstTempo()
public SCCXMLWrapper.HeaderElement[] getHeaderElementList()
getHeaderElementList
インタフェース内 SCC
public java.io.InputStream getMIDIInputStream() throws java.io.IOException, javax.xml.transform.TransformerException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
java.io.IOException
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public SCCXMLWrapper.Part[] getPartList() throws javax.xml.transform.TransformerException
getPartList
インタフェース内 SCC
javax.xml.transform.TransformerException
@Deprecated public void newPart(int serial, int ch, int pn, int vol)
@Deprecated public void newPart(int serial, int ch, int pn, int vol, java.lang.String name)
public void processNotes(SCCHandler h) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
public void processSortedNotes(SCCHandler h) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
@Deprecated public SCCXMLWrapper replaceVelocity(java.util.List<java.util.List<java.lang.Byte>> vellist, boolean sorted) throws javax.xml.transform.TransformerException, InvalidFileTypeException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
javax.xml.transform.TransformerException
InvalidFileTypeException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
@Deprecated public void setDivision(int div)
public SCCDataSet toDataSet() throws javax.xml.transform.TransformerException
public MIDIXMLWrapper toMIDIXML()
public SCCXMLWrapper toWrapper()