Package org.audiveris.proxymusic
Class Supports
java.lang.Object
org.audiveris.proxymusic.Supports
The supports type indicates if a MusicXML encoding supports a particular MusicXML element. This is recommended for elements like beam, stem, and accidental, where the absence of an element is ambiguous if you do not know if the encoding supports that element. For Version 2.0, the supports element is expanded to allow programs to indicate support for particular attributes or particular values. This lets applications communicate, for example, that all system and/or page breaks are contained in the MusicXML file.
Java class for supports complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="supports">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="type" use="required" type="{}yes-no" />
<attribute name="element" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="attribute" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}token" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute property.Gets the value of the element property.getType()Gets the value of the type property.getValue()Gets the value of the value property.voidsetAttribute(String value) Sets the value of the attribute property.voidsetElement(String value) Sets the value of the element property.voidSets the value of the type property.voidSets the value of the value property.
-
Field Details
-
type
-
element
-
attribute
-
value
-
-
Constructor Details
-
Supports
public Supports()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
YesNo
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isYesNo
-
getElement
Gets the value of the element property.- Returns:
- possible object is
String
-
setElement
Sets the value of the element property.- Parameters:
value- allowed object isString
-
getAttribute
Gets the value of the attribute property.- Returns:
- possible object is
String
-
setAttribute
Sets the value of the attribute property.- Parameters:
value- allowed object isString
-
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
-