Class Supports

java.lang.Object
org.audiveris.proxymusic.Supports

public class Supports extends Object
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 Details

    • type

      protected YesNo type
    • element

      protected String element
    • attribute

      protected String attribute
    • value

      protected String value
  • Constructor Details

    • Supports

      public Supports()
  • Method Details

    • getType

      public YesNo getType()
      Gets the value of the type property.
      Returns:
      possible object is YesNo
    • setType

      public void setType(YesNo value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is YesNo
    • getElement

      public String getElement()
      Gets the value of the element property.
      Returns:
      possible object is String
    • setElement

      public void setElement(String value)
      Sets the value of the element property.
      Parameters:
      value - allowed object is String
    • getAttribute

      public String getAttribute()
      Gets the value of the attribute property.
      Returns:
      possible object is String
    • setAttribute

      public void setAttribute(String value)
      Sets the value of the attribute property.
      Parameters:
      value - allowed object is String
    • getValue

      public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String