|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.syndication.feed.module.mediarss.types.Credit
public class Credit
<media:credit>
Notable entity and the contribution to the creation of the media object. Current entities can include people, companies, locations, etc. Specific entities can have multiple roles, and several entities can have the same role. These should appear as distinct <media:credit> elements. It has 2 optional attributes.
<media:credit role="producer" scheme="urn:ebu">entity name</media:credit>
role specifies the role the entity played. Must be lowercase. It is an optional attribute.
scheme is the URI that identifies the role scheme. It is an optional attribute. If this attribute is not included, the default scheme is 'urn:ebu'. See: European Broadcasting Union Role Codes.
Example roles:
actor
anchor person
author
choreographer
composer
conductor
director
editor
graphic designer
grip
illustrator
lyricist
music arranger
music group
musician
orchestra
performer
photographer
producer
reporter
vocalist
Additional roles: European Broadcasting Union Role Codes
| Field Summary | |
|---|---|
static java.lang.String |
SCHEME_EBU
Scheme value for the EBU credits. |
| Constructor Summary | |
|---|---|
Credit(java.lang.String scheme,
java.lang.String role,
java.lang.String name)
Creates a new instance of Credit |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Person/organizations name |
java.lang.String |
getRole()
Role name |
java.lang.String |
getScheme()
Scheme used. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SCHEME_EBU
| Constructor Detail |
|---|
public Credit(java.lang.String scheme,
java.lang.String role,
java.lang.String name)
scheme - schem usedrole - role namename - persons name| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getRole()
public java.lang.String getScheme()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||