Package org.audiveris.proxymusic
Class MeasureRepeat
java.lang.Object
org.audiveris.proxymusic.MeasureRepeat
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the slashes property.getType()Gets the value of the type property.getValue()The positive-integer-or-empty values can be either a positive integer or an empty string.voidsetSlashes(BigInteger value) Sets the value of the slashes property.voidSets the value of the type property.voidSets the value of the value property.
-
Field Details
-
value
-
type
-
slashes
-
-
Constructor Details
-
MeasureRepeat
public MeasureRepeat()
-
-
Method Details
-
getValue
The positive-integer-or-empty values can be either a positive integer or an empty string.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
StartStop
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isStartStop
-
getSlashes
Gets the value of the slashes property.- Returns:
- possible object is
BigInteger
-
setSlashes
Sets the value of the slashes property.- Parameters:
value- allowed object isBigInteger
-