Package org.audiveris.proxymusic
Class Credit
java.lang.Object
org.audiveris.proxymusic.Credit
[JAXB: simplified definition]
The credit type represents the appearance of the title, composer, arranger, lyricist, copyright, dedication, and other text, symbols, and graphics that commonly appear on the first page of a score. The credit-words, credit-symbol, and credit-image elements are similar to the words, symbol, and image elements for directions. However, since the credit is not part of a measure, the default-x and default-y attributes adjust the origin relative to the bottom left-hand corner of the page. The enclosure for credit-words and credit-symbol is none by default. By default, a series of credit-words and credit-symbol elements within a single credit element follow one another in sequence visually. Non-positional formatting attributes are carried over from the previous element by default. The page attribute for the credit element specifies the page number where the credit should appear. This is an integer value that starts with 1 for the first page. Its value is 1 by default. Since credits occur before the music, these page numbers do not refer to the page numbering specified by the print element's page-number attribute. The credit-type element indicates the purpose behind a credit. Multiple types of data may be combined in a single credit, so multiple elements may be used. Standard values include page number, title, subtitle, composer, arranger, lyricist, rights, and part name.
The credit type represents the appearance of the title, composer, arranger, lyricist, copyright, dedication, and other text, symbols, and graphics that commonly appear on the first page of a score. The credit-words, credit-symbol, and credit-image elements are similar to the words, symbol, and image elements for directions. However, since the credit is not part of a measure, the default-x and default-y attributes adjust the origin relative to the bottom left-hand corner of the page. The enclosure for credit-words and credit-symbol is none by default. By default, a series of credit-words and credit-symbol elements within a single credit element follow one another in sequence visually. Non-positional formatting attributes are carried over from the previous element by default. The page attribute for the credit element specifies the page number where the credit should appear. This is an integer value that starts with 1 for the first page. Its value is 1 by default. Since credits occur before the music, these page numbers do not refer to the page numbering specified by the print element's page-number attribute. The credit-type element indicates the purpose behind a credit. Multiple types of data may be combined in a single credit, so multiple elements may be used. Standard values include page number, title, subtitle, composer, arranger, lyricist, rights, and part name.
Java class for credit complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="credit">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded" minOccurs="0">
<choice>
<element name="credit-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="link" type="{}link"/>
<element name="bookmark" type="{}bookmark"/>
<element name="credit-image" type="{}image"/>
<element name="credit-words" type="{}formatted-text"/>
<element name="credit-symbol" type="{}formatted-text"/>
</choice>
</sequence>
<attGroup ref="{}optional-unique-id"/>
<attribute name="page" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<javax.xml.bind.JAXBElement<?>>protected Stringprotected BigInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<javax.xml.bind.JAXBElement<?>>Gets the value of the creditTypeOrLinkOrBookmark property.getId()Gets the value of the id property.getPage()Gets the value of the page property.voidSets the value of the id property.voidsetPage(BigInteger value) Sets the value of the page property.
-
Field Details
-
creditTypeOrLinkOrBookmark
-
page
-
id
-
-
Constructor Details
-
Credit
public Credit()
-
-
Method Details
-
getCreditTypeOrLinkOrBookmark
Gets the value of the creditTypeOrLinkOrBookmark 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
setmethod for the creditTypeOrLinkOrBookmark property.For example, to add a new item, do as follows:
getCreditTypeOrLinkOrBookmark().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<String>JAXBElement<Link>JAXBElement<Bookmark>JAXBElement<Image>JAXBElement<FormattedText>JAXBElement<FormattedText> -
getPage
Gets the value of the page property.- Returns:
- possible object is
BigInteger
-
setPage
Sets the value of the page property.- Parameters:
value- allowed object isBigInteger
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-