|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jempbox.xmp.ResourceRef
public class ResourceRef
This class represents a multiple part reference to a resource.
Field Summary | |
---|---|
protected Element |
parent
The DOM representation of this object. |
Constructor Summary | |
---|---|
ResourceRef(Element parentElement)
Create a resource reference based on a existing parent property set. |
Method Summary | |
---|---|
String |
getDocumentID()
Get the referenced resource's document id. |
Element |
getElement()
Get the underlying XML element. |
String |
getInstanceID()
Get the referenced resource's id. |
String |
getManager()
Get name of the asset management system that manages this resource. |
String |
getManagerTo()
URI identifying the managed resource. |
String |
getManagerUI()
URI to info about the managed resource. |
String |
getManagerVariant()
Get name of the variant of asset management system that manages this resource. |
String |
getRenditionClass()
Get the rendition class. |
String |
getRenditionParams()
Get the extra rendition params. |
String |
getVersionID()
Get the referenced resource's document version id. |
void |
setDocumentID(String id)
Set the referenced resource's document id. |
void |
setInstanceID(String id)
Set the referenced resource's id. |
void |
setMangager(String manager)
Set the name of the system that manages this resource. |
void |
setMangagerTo(String managerTo)
Set the URI to the managed resource. |
void |
setMangagerUI(String managerUI)
Set the URI to the info about the managed resource. |
void |
setMangagerVariant(String managerVariant)
Set the name of the variant of the system that manages this resource. |
void |
setRenditionClass(String renditionClass)
Set the rendition class. |
void |
setRenditionParams(String params)
Set addition rendition params. |
void |
setVersionID(String id)
Set the referenced resource's version id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Element parent
Constructor Detail |
---|
public ResourceRef(Element parentElement)
parentElement
- The parent element that will store the resource properties.Method Detail |
---|
public Element getElement()
getElement
in interface Elementable
public String getInstanceID()
public void setInstanceID(String id)
id
- The id of the reference.public String getDocumentID()
public void setDocumentID(String id)
id
- The id of the reference document.public String getVersionID()
public void setVersionID(String id)
id
- The id of the reference document version.public String getRenditionClass()
setRenditionClass( String )
public void setRenditionClass(String renditionClass)
Token Name | Description |
default | Specifies master document, no additional tokens allowed |
thumbnail | A simplied preview. Recommended order is: thumbnailformat:size:colorspace |
screen | Screen resolution |
proof | A review proof |
draft | A review rendition |
low-res | A low resolution, full size stand-in |
renditionClass
- The rendition class.public String getRenditionParams()
public void setRenditionParams(String params)
params
- Additional rendition parameters that are too complex for the rendition class.public String getManager()
public void setMangager(String manager)
manager
- The name of the management system.public String getManagerVariant()
public void setMangagerVariant(String managerVariant)
managerVariant
- The name of the management system.public String getManagerTo()
public void setMangagerTo(String managerTo)
managerTo
- The URI to the managed resource.public String getManagerUI()
public void setMangagerUI(String managerUI)
managerUI
- The URI to the managed resource information.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |