public class Attributes extends Object
Java class for attributes complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="attributes">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{}editorial"/>
<element name="divisions" type="{}positive-divisions" minOccurs="0"/>
<element name="key" type="{}key" maxOccurs="unbounded" minOccurs="0"/>
<element name="time" type="{}time" maxOccurs="unbounded" minOccurs="0"/>
<element name="staves" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
<element name="part-symbol" type="{}part-symbol" minOccurs="0"/>
<element name="instruments" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
<element name="clef" type="{}clef" maxOccurs="unbounded" minOccurs="0"/>
<element name="staff-details" type="{}staff-details" maxOccurs="unbounded" minOccurs="0"/>
<element name="transpose" type="{}transpose" maxOccurs="unbounded" minOccurs="0"/>
<element name="directive" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attGroup ref="{}print-style"/>
<attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
</extension>
</simpleContent>
</complexType>
</element>
<element name="measure-style" type="{}measure-style" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Attributes.Directive
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Clef> |
clef |
protected List<Attributes.Directive> |
directive |
protected BigDecimal |
divisions |
protected FormattedText |
footnote |
protected BigInteger |
instruments |
protected List<Key> |
key |
protected Level |
level |
protected List<MeasureStyle> |
measureStyle |
protected PartSymbol |
partSymbol |
protected List<StaffDetails> |
staffDetails |
protected BigInteger |
staves |
protected List<Time> |
time |
protected List<Transpose> |
transpose |
| Constructor and Description |
|---|
Attributes() |
| Modifier and Type | Method and Description |
|---|---|
List<Clef> |
getClef()
Gets the value of the clef property.
|
List<Attributes.Directive> |
getDirective()
Gets the value of the directive property.
|
BigDecimal |
getDivisions()
Gets the value of the divisions property.
|
FormattedText |
getFootnote()
Gets the value of the footnote property.
|
BigInteger |
getInstruments()
Gets the value of the instruments property.
|
List<Key> |
getKey()
Gets the value of the key property.
|
Level |
getLevel()
Gets the value of the level property.
|
List<MeasureStyle> |
getMeasureStyle()
Gets the value of the measureStyle property.
|
PartSymbol |
getPartSymbol()
Gets the value of the partSymbol property.
|
List<StaffDetails> |
getStaffDetails()
Gets the value of the staffDetails property.
|
BigInteger |
getStaves()
Gets the value of the staves property.
|
List<Time> |
getTime()
Gets the value of the time property.
|
List<Transpose> |
getTranspose()
Gets the value of the transpose property.
|
void |
setDivisions(BigDecimal value)
Sets the value of the divisions property.
|
void |
setFootnote(FormattedText value)
Sets the value of the footnote property.
|
void |
setInstruments(BigInteger value)
Sets the value of the instruments property.
|
void |
setLevel(Level value)
Sets the value of the level property.
|
void |
setPartSymbol(PartSymbol value)
Sets the value of the partSymbol property.
|
void |
setStaves(BigInteger value)
Sets the value of the staves property.
|
protected FormattedText footnote
protected Level level
protected BigDecimal divisions
protected BigInteger staves
protected PartSymbol partSymbol
protected BigInteger instruments
protected List<StaffDetails> staffDetails
protected List<Attributes.Directive> directive
protected List<MeasureStyle> measureStyle
public FormattedText getFootnote()
FormattedTextpublic void setFootnote(FormattedText value)
value - allowed object is
FormattedTextpublic Level getLevel()
Levelpublic void setLevel(Level value)
value - allowed object is
Levelpublic BigDecimal getDivisions()
BigDecimalpublic void setDivisions(BigDecimal value)
value - allowed object is
BigDecimalpublic List<Key> getKey()
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 key property.
For example, to add a new item, do as follows:
getKey().add(newItem);
Objects of the following type(s) are allowed in the list
Key
public List<Time> getTime()
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 time property.
For example, to add a new item, do as follows:
getTime().add(newItem);
Objects of the following type(s) are allowed in the list
Time
public BigInteger getStaves()
BigIntegerpublic void setStaves(BigInteger value)
value - allowed object is
BigIntegerpublic PartSymbol getPartSymbol()
PartSymbolpublic void setPartSymbol(PartSymbol value)
value - allowed object is
PartSymbolpublic BigInteger getInstruments()
BigIntegerpublic void setInstruments(BigInteger value)
value - allowed object is
BigIntegerpublic List<Clef> getClef()
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 clef property.
For example, to add a new item, do as follows:
getClef().add(newItem);
Objects of the following type(s) are allowed in the list
Clef
public List<StaffDetails> getStaffDetails()
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 staffDetails property.
For example, to add a new item, do as follows:
getStaffDetails().add(newItem);
Objects of the following type(s) are allowed in the list
StaffDetails
public List<Transpose> getTranspose()
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 transpose property.
For example, to add a new item, do as follows:
getTranspose().add(newItem);
Objects of the following type(s) are allowed in the list
Transpose
public List<Attributes.Directive> getDirective()
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 directive property.
For example, to add a new item, do as follows:
getDirective().add(newItem);
Objects of the following type(s) are allowed in the list
Attributes.Directive
public List<MeasureStyle> getMeasureStyle()
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 measureStyle property.
For example, to add a new item, do as follows:
getMeasureStyle().add(newItem);
Objects of the following type(s) are allowed in the list
MeasureStyle
Copyright © 2016 Audiveris Ltd. All rights reserved.