Class MeasureRepeat

java.lang.Object
org.audiveris.proxymusic.MeasureRepeat

public class MeasureRepeat extends Object
The measure-repeat type is used for both single and multiple measure repeats. The text of the element indicates the number of measures to be repeated in a single pattern. The slashes attribute specifies the number of slashes to use in the repeat sign. It is 1 if not specified. The text of the element is ignored when the type is stop. The stop type indicates the first measure where the repeats are no longer displayed. Both the start and the stop of the measure-repeat should be specified unless the repeats are displayed through the end of the part. The measure-repeat element specifies a notation style for repetitions. The actual music being repeated needs to be repeated within each measure of the MusicXML file. This element specifies the notation that indicates the repeat.

Java class for measure-repeat complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="measure-repeat">
   <simpleContent>
     <extension base="<>positive-integer-or-empty">
       <attribute name="type" use="required" type="{}start-stop" />
       <attribute name="slashes" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
     </extension>
   </simpleContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • MeasureRepeat

      public MeasureRepeat()
  • Method Details

    • getValue

      public String getValue()
      The positive-integer-or-empty values can be either a positive integer or an empty string.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getType

      public StartStop getType()
      Gets the value of the type property.
      Returns:
      possible object is StartStop
    • setType

      public void setType(StartStop value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is StartStop
    • getSlashes

      public BigInteger getSlashes()
      Gets the value of the slashes property.
      Returns:
      possible object is BigInteger
    • setSlashes

      public void setSlashes(BigInteger value)
      Sets the value of the slashes property.
      Parameters:
      value - allowed object is BigInteger