public class ResourceRef extends Object implements Elementable
Modifier and Type | Field and Description |
---|---|
protected Element |
parent
The DOM representation of this object.
|
Constructor and Description |
---|
ResourceRef(Element parentElement)
Create a resource reference based on a existing parent property set.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected Element parent
public ResourceRef(Element parentElement)
parentElement
- The parent element that will store the resource properties.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.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.