Package info.textgrid.lab.noteeditor.mei2012

Examples of info.textgrid.lab.noteeditor.mei2012.Verse


      }
    } else {
      boolean verseAlreadyContained = false;
      Syl newSyl = new Syl();
      newSyl.getContent().add(0, newString);
      Verse verse = new Verse();
      for (Object contentElement : getNote()
          .getDamagesAndSylsAndCorrs()) {
        if (contentElement instanceof Verse) {
          verse = ((Verse) contentElement);
          verseAlreadyContained = true;
          break;
        }
      }
      if (!verseAlreadyContained) {
        getNote().getDamagesAndSylsAndCorrs().add(verse);
      }
      verse.getSyls().clear();
      verse.getSyls().add(newSyl);
    }
  }
View Full Code Here

TOP

Related Classes of info.textgrid.lab.noteeditor.mei2012.Verse

Copyright © 2018 www.massapicom. 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.