Class Barline

java.lang.Object
org.audiveris.proxymusic.Barline

public class Barline extends Object
If a barline is other than a normal single barline, it should be represented by a barline type that describes it. This includes information about repeats and multiple endings, as well as line style. Barline data is on the same level as the other musical data in a score - a child of a measure in a partwise score, or a part in a timewise score. This allows for barlines within measures, as in dotted barlines that subdivide measures in complex meters. The two fermata elements allow for fermatas on both sides of the barline (the lower one inverted). Barlines have a location attribute to make it easier to process barlines independently of the other musical data in a score. It is often easier to set up measures separately from entering notes. The location attribute must match where the barline element occurs within the rest of the musical data in the score. If location is left, it should be the first element in the measure, aside from the print, bookmark, and link elements. If location is right, it should be the last element, again with the possible exception of the print, bookmark, and link elements. If no location is specified, the right barline is the default. The segno, coda, and divisions attributes work the same way as in the sound element. They are used for playback when barline elements contain segno or coda child elements.

Java class for barline complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="barline">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="bar-style" type="{}bar-style-color" minOccurs="0"/>
         <group ref="{}editorial"/>
         <element name="wavy-line" type="{}wavy-line" minOccurs="0"/>
         <element name="segno" type="{}segno" minOccurs="0"/>
         <element name="coda" type="{}coda" minOccurs="0"/>
         <element name="fermata" type="{}fermata" maxOccurs="2" minOccurs="0"/>
         <element name="ending" type="{}ending" minOccurs="0"/>
         <element name="repeat" type="{}repeat" minOccurs="0"/>
       </sequence>
       <attGroup ref="{}optional-unique-id"/>
       <attribute name="location" type="{}right-left-middle" default="right" />
       <attribute name="segno" type="{http://www.w3.org/2001/XMLSchema}token" />
       <attribute name="coda" type="{http://www.w3.org/2001/XMLSchema}token" />
       <attribute name="divisions" type="{}divisions" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Barline

      public Barline()
  • Method Details

    • getBarStyle

      public BarStyleColor getBarStyle()
      Gets the value of the barStyle property.
      Returns:
      possible object is BarStyleColor
    • setBarStyle

      public void setBarStyle(BarStyleColor value)
      Sets the value of the barStyle property.
      Parameters:
      value - allowed object is BarStyleColor
    • getFootnote

      public FormattedText getFootnote()
      Gets the value of the footnote property.
      Returns:
      possible object is FormattedText
    • setFootnote

      public void setFootnote(FormattedText value)
      Sets the value of the footnote property.
      Parameters:
      value - allowed object is FormattedText
    • getLevel

      public Level getLevel()
      Gets the value of the level property.
      Returns:
      possible object is Level
    • setLevel

      public void setLevel(Level value)
      Sets the value of the level property.
      Parameters:
      value - allowed object is Level
    • getWavyLine

      public WavyLine getWavyLine()
      Gets the value of the wavyLine property.
      Returns:
      possible object is WavyLine
    • setWavyLine

      public void setWavyLine(WavyLine value)
      Sets the value of the wavyLine property.
      Parameters:
      value - allowed object is WavyLine
    • getSegno

      public Segno getSegno()
      Gets the value of the segno property.
      Returns:
      possible object is Segno
    • setSegno

      public void setSegno(Segno value)
      Sets the value of the segno property.
      Parameters:
      value - allowed object is Segno
    • getCoda

      public Coda getCoda()
      Gets the value of the coda property.
      Returns:
      possible object is Coda
    • setCoda

      public void setCoda(Coda value)
      Sets the value of the coda property.
      Parameters:
      value - allowed object is Coda
    • getFermata

      public List<Fermata> getFermata()
      Gets the value of the fermata property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the fermata property.

      For example, to add a new item, do as follows:

          getFermata().add(newItem);
       

      Objects of the following type(s) are allowed in the list Fermata

    • getEnding

      public Ending getEnding()
      Gets the value of the ending property.
      Returns:
      possible object is Ending
    • setEnding

      public void setEnding(Ending value)
      Sets the value of the ending property.
      Parameters:
      value - allowed object is Ending
    • getRepeat

      public Repeat getRepeat()
      Gets the value of the repeat property.
      Returns:
      possible object is Repeat
    • setRepeat

      public void setRepeat(Repeat value)
      Sets the value of the repeat property.
      Parameters:
      value - allowed object is Repeat
    • getLocation

      public RightLeftMiddle getLocation()
      Gets the value of the location property.
      Returns:
      possible object is RightLeftMiddle
    • setLocation

      public void setLocation(RightLeftMiddle value)
      Sets the value of the location property.
      Parameters:
      value - allowed object is RightLeftMiddle
    • getSegnoAttribute

      public String getSegnoAttribute()
      Gets the value of the segnoAttribute property.
      Returns:
      possible object is String
    • setSegnoAttribute

      public void setSegnoAttribute(String value)
      Sets the value of the segnoAttribute property.
      Parameters:
      value - allowed object is String
    • getCodaAttribute

      public String getCodaAttribute()
      Gets the value of the codaAttribute property.
      Returns:
      possible object is String
    • setCodaAttribute

      public void setCodaAttribute(String value)
      Sets the value of the codaAttribute property.
      Parameters:
      value - allowed object is String
    • getDivisions

      public BigDecimal getDivisions()
      Gets the value of the divisions property.
      Returns:
      possible object is BigDecimal
    • setDivisions

      public void setDivisions(BigDecimal value)
      Sets the value of the divisions property.
      Parameters:
      value - allowed object is BigDecimal
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

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