Examples of MeiHead


Examples of info.textgrid.lab.noteeditor.mei2013.MeiHead

   *
   * @return
   */
  public static Mei createDefaultMeiTree(int stavesCount, int measureCount) {
    Mei mei = new Mei();
    MeiHead meiHead = new MeiHead();
    FileDesc fileDesc = new FileDesc();
    TitleStmt titleStmt = new TitleStmt();
    Title title = new Title();
    title.getContent().add("New MEI-2013 document");
    titleStmt.getTitles().add(title);
    fileDesc.setTitleStmt(titleStmt);
    PubStmt pubStmt = new PubStmt();
    fileDesc.setPubStmt(pubStmt);
    SourceDesc sourceDesc = new SourceDesc();
    Source source = new Source();
    sourceDesc.getSources().add(source);
    fileDesc.setSourceDesc(sourceDesc);   
    meiHead.setFileDesc(fileDesc)
    mei.setMeiHead(meiHead);
    Music music = new Music();
    Body body = new Body();
    Mdiv mdiv = new Mdiv();
    Score score = new Score();
View Full Code Here

Examples of info.textgrid.lab.noteeditor.mei2013.MeiHead

   * @param meiData
   *            the mei tree
   */
  private static void handleSourceList(MusicDiagram rootDiagram, Mei meiData) {
    if (!meiData.isSetMeiHead())
      meiData.setMeiHead(new MeiHead());
    if (!meiData.getMeiHead().isSetFileDesc())
      meiData.getMeiHead().setFileDesc(new FileDesc());
    if (!meiData.getMeiHead().getFileDesc().isSetSourceDesc())
      meiData.getMeiHead().getFileDesc().setSourceDesc(new SourceDesc());
    if (!rootDiagram.getSourceList().isEmpty()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.