Package org.audiveris.proxymusic
Class OtherNotation
java.lang.Object
org.audiveris.proxymusic.OtherNotation
The other-notation type is used to define any notations not yet in the MusicXML format. It handles notations where more specific extension elements such as other-dynamics and other-technical are not appropriate. The smufl attribute can be used to specify a particular notation, allowing application interoperability without requiring every SMuFL glyph to have a MusicXML element equivalent. Using the other-notation type without the smufl attribute allows for extended representation, though without application interoperability.
Java class for other-notation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="other-notation">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attGroup ref="{}smufl"/>
<attGroup ref="{}print-object"/>
<attGroup ref="{}placement"/>
<attGroup ref="{}optional-unique-id"/>
<attGroup ref="{}print-style"/>
<attribute name="type" use="required" type="{}start-stop-single" />
<attribute name="number" type="{}number-level" default="1" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Stringprotected FontStyleprotected FontWeightprotected Stringprotected Integerprotected AboveBelowprotected YesNoprotected BigDecimalprotected BigDecimalprotected Stringprotected StartStopSingleprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the value of the color property.Gets the value of the defaultX property.Gets the value of the defaultY property.Gets the value of the fontFamily property.Gets the value of the fontSize property.Gets the value of the fontStyle property.Gets the value of the fontWeight property.getId()Gets the value of the id property.intGets the value of the number property.Gets the value of the placement property.Gets the value of the printObject property.Gets the value of the relativeX property.Gets the value of the relativeY property.getSmufl()Gets the value of the smufl property.getType()Gets the value of the type property.getValue()Gets the value of the value property.voidSets the value of the color property.voidsetDefaultX(BigDecimal value) Sets the value of the defaultX property.voidsetDefaultY(BigDecimal value) Sets the value of the defaultY property.voidsetFontFamily(String value) Sets the value of the fontFamily property.voidsetFontSize(String value) Sets the value of the fontSize property.voidsetFontStyle(FontStyle value) Sets the value of the fontStyle property.voidsetFontWeight(FontWeight value) Sets the value of the fontWeight property.voidSets the value of the id property.voidSets the value of the number property.voidsetPlacement(AboveBelow value) Sets the value of the placement property.voidsetPrintObject(YesNo value) Sets the value of the printObject property.voidsetRelativeX(BigDecimal value) Sets the value of the relativeX property.voidsetRelativeY(BigDecimal value) Sets the value of the relativeY property.voidSets the value of the smufl property.voidsetType(StartStopSingle value) Sets the value of the type property.voidSets the value of the value property.
-
Field Details
-
value
-
type
-
number
-
smufl
-
printObject
-
placement
-
id
-
color
-
fontFamily
-
fontStyle
-
fontSize
-
fontWeight
-
defaultX
-
defaultY
-
relativeX
-
relativeY
-
-
Constructor Details
-
OtherNotation
public OtherNotation()
-
-
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
-
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
-
getNumber
public int getNumber()Gets the value of the number property.- Returns:
- possible object is
Integer
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isInteger
-
getSmufl
Gets the value of the smufl property.- Returns:
- possible object is
String
-
setSmufl
Sets the value of the smufl property.- Parameters:
value- allowed object isString
-
getPrintObject
Gets the value of the printObject property.- Returns:
- possible object is
YesNo
-
setPrintObject
Sets the value of the printObject property.- Parameters:
value- allowed object isYesNo
-
getPlacement
Gets the value of the placement property.- Returns:
- possible object is
AboveBelow
-
setPlacement
Sets the value of the placement property.- Parameters:
value- allowed object isAboveBelow
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getColor
Gets the value of the color property.- Returns:
- possible object is
String
-
setColor
Sets the value of the color property.- Parameters:
value- allowed object isString
-
getFontFamily
Gets the value of the fontFamily property.- Returns:
- possible object is
String
-
setFontFamily
Sets the value of the fontFamily property.- Parameters:
value- allowed object isString
-
getFontStyle
Gets the value of the fontStyle property.- Returns:
- possible object is
FontStyle
-
setFontStyle
Sets the value of the fontStyle property.- Parameters:
value- allowed object isFontStyle
-
getFontSize
Gets the value of the fontSize property.- Returns:
- possible object is
String
-
setFontSize
Sets the value of the fontSize property.- Parameters:
value- allowed object isString
-
getFontWeight
Gets the value of the fontWeight property.- Returns:
- possible object is
FontWeight
-
setFontWeight
Sets the value of the fontWeight property.- Parameters:
value- allowed object isFontWeight
-
getDefaultX
Gets the value of the defaultX property.- Returns:
- possible object is
BigDecimal
-
setDefaultX
Sets the value of the defaultX property.- Parameters:
value- allowed object isBigDecimal
-
getDefaultY
Gets the value of the defaultY property.- Returns:
- possible object is
BigDecimal
-
setDefaultY
Sets the value of the defaultY property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeX
Gets the value of the relativeX property.- Returns:
- possible object is
BigDecimal
-
setRelativeX
Sets the value of the relativeX property.- Parameters:
value- allowed object isBigDecimal
-
getRelativeY
Gets the value of the relativeY property.- Returns:
- possible object is
BigDecimal
-
setRelativeY
Sets the value of the relativeY property.- Parameters:
value- allowed object isBigDecimal
-