BasicRightsAssignment can be used to represent a copyright or CreativeCommons designation for a resource.
It can be serialized as XML and recreated. It can be rendered through a Velocity macro or a JSF widget.
TAG
KEY
KEYLIST
LABEL
BasicRightsAssignment(String name, boolean usingCreativeCommons) Construct
Parameters: name - A name for this instance that can be used as a unique identifier in rendering a set of form fields to input values for this object.
toXml(Document doc, Stack stack) Serialize the rights-assignment into XML, adding an element to the doc under the top of the stack element.
Parameters: doc - The DOM doc to contain the XML (or null for a string return). Parameters: stack - The DOM elements, the top of which is the containing element of the new "rightsAssignment" element.
Member variable representing the status of IP rights for this work (user's copyright, someone else's copyright, existing CC license or existing PD status)
Member variable representing whether we using the new Creative Commons dialog or the old Sakai Copyright dialog
Constructor Detail
BasicRightsAssignment
public BasicRightsAssignment(String name, boolean usingCreativeCommons)(Code)
Construct
Parameters: name - A name for this instance that can be used as a unique identifier in rendering a set of form fields to input values for this object. Should not contain characters that are not valid in id's and names of htmlform-input elements. Parameters: usingCreativeCommons - true if the Creative Commons License should be shown as an option.
Serialize the rights-assignment into XML, adding an element to the doc under the top of the stack element.
Parameters: doc - The DOM doc to contain the XML (or null for a string return). Parameters: stack - The DOM elements, the top of which is the containing element of the new "rightsAssignment" element. The newly added element.