public class NameDisplay extends Object
Java class for name-display complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="name-display">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="display-text" type="{}formatted-text"/>
<element name="accidental-text" type="{}accidental-text"/>
</choice>
</sequence>
<attGroup ref="{}print-object"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
displayTextOrAccidentalText |
protected YesNo |
printObject |
| Constructor and Description |
|---|
NameDisplay() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getDisplayTextOrAccidentalText()
Gets the value of the displayTextOrAccidentalText property.
|
YesNo |
getPrintObject()
Gets the value of the printObject property.
|
void |
setPrintObject(YesNo value)
Sets the value of the printObject property.
|
protected YesNo printObject
public List<Object> getDisplayTextOrAccidentalText()
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 displayTextOrAccidentalText property.
For example, to add a new item, do as follows:
getDisplayTextOrAccidentalText().add(newItem);
Objects of the following type(s) are allowed in the list
FormattedText
AccidentalText
public YesNo getPrintObject()
YesNoCopyright © 2016 Audiveris Ltd. All rights reserved.