Package org.audiveris.proxymusic
Class Level
java.lang.Object
org.audiveris.proxymusic.Level
The level type is used to specify editorial information for different MusicXML elements. The content contains identifying and/or descriptive text about the editorial status of the parent element.
If the reference attribute is yes, this indicates editorial information that is for display only and should not affect playback. For instance, a modern edition of older music may set reference="yes" on the attributes containing the music's original clef, key, and time signature. It is no if not specified.
The type attribute indicates whether the editorial information applies to the start of a series of symbols, the end of a series of symbols, or a single symbol. It is single if not specified for compatibility with earlier MusicXML versions.
Java class for level complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="level">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attGroup ref="{}level-display"/>
<attribute name="reference" type="{}yes-no" />
<attribute name="type" type="{}start-stop-single" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected YesNoprotected YesNoprotected YesNoprotected SymbolSizeprotected StartStopSingleprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the bracket property.Gets the value of the parentheses property.Gets the value of the reference property.getSize()Gets the value of the size property.getType()Gets the value of the type property.getValue()Gets the value of the value property.voidsetBracket(YesNo value) Sets the value of the bracket property.voidsetParentheses(YesNo value) Sets the value of the parentheses property.voidsetReference(YesNo value) Sets the value of the reference property.voidsetSize(SymbolSize value) Sets the value of the size property.voidsetType(StartStopSingle value) Sets the value of the type property.voidSets the value of the value property.
-
Field Details
-
value
-
reference
-
type
-
parentheses
-
bracket
-
size
-
-
Constructor Details
-
Level
public Level()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getReference
Gets the value of the reference property.- Returns:
- possible object is
YesNo
-
setReference
Sets the value of the reference property.- Parameters:
value- allowed object isYesNo
-
getType
Gets the value of the type property.- Returns:
- possible object is
StartStopSingle
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isStartStopSingle
-
getParentheses
Gets the value of the parentheses property.- Returns:
- possible object is
YesNo
-
setParentheses
Sets the value of the parentheses property.- Parameters:
value- allowed object isYesNo
-
getBracket
Gets the value of the bracket property.- Returns:
- possible object is
YesNo
-
setBracket
Sets the value of the bracket property.- Parameters:
value- allowed object isYesNo
-
getSize
Gets the value of the size property.- Returns:
- possible object is
SymbolSize
-
setSize
Sets the value of the size property.- Parameters:
value- allowed object isSymbolSize
-