Class BeatRepeat

java.lang.Object
org.audiveris.proxymusic.BeatRepeat

public class BeatRepeat extends Object
The beat-repeat type is used to indicate that a single beat (but possibly many notes) is repeated. The slashes attribute specifies the number of slashes to use in the symbol. The use-dots attribute indicates whether or not to use dots as well (for instance, with mixed rhythm patterns). The value for slashes is 1 and the value for use-dots is no if not specified. The stop type indicates the first beat where the repeats are no longer displayed. Both the start and stop of the beat being repeated should be specified unless the repeats are displayed through the end of the part. The beat-repeat element specifies a notation style for repetitions. The actual music being repeated needs to be repeated within the MusicXML file. This element specifies the notation that indicates the repeat.

Java class for beat-repeat complex type.

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

 <complexType name="beat-repeat">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <group ref="{}slash" minOccurs="0"/>
       <attribute name="type" use="required" type="{}start-stop" />
       <attribute name="slashes" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
       <attribute name="use-dots" type="{}yes-no" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • BeatRepeat

      public BeatRepeat()
  • Method Details

    • getSlashType

      public String getSlashType()
      Gets the value of the slashType property.
      Returns:
      possible object is String
    • setSlashType

      public void setSlashType(String value)
      Sets the value of the slashType property.
      Parameters:
      value - allowed object is String
    • getSlashDot

      public List<Empty> getSlashDot()
      Gets the value of the slashDot property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the slashDot property.

      For example, to add a new item, do as follows:

          getSlashDot().add(newItem);
       

      Objects of the following type(s) are allowed in the list Empty

    • getExceptVoice

      public List<String> getExceptVoice()
      Gets the value of the exceptVoice property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the exceptVoice property.

      For example, to add a new item, do as follows:

          getExceptVoice().add(newItem);
       

      Objects of the following type(s) are allowed in the list 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
    • getUseDots

      public YesNo getUseDots()
      Gets the value of the useDots property.
      Returns:
      possible object is YesNo
    • setUseDots

      public void setUseDots(YesNo value)
      Sets the value of the useDots property.
      Parameters:
      value - allowed object is YesNo