Elementable
public class ResourceRef extends java.lang.Object implements Elementable
Modifier and Type | Field | Description |
---|---|---|
protected org.w3c.dom.Element |
parent |
The DOM representation of this object.
|
Constructor | Description |
---|---|
ResourceRef(org.w3c.dom.Element parentElement) |
Create a resource reference based on a existing parent property set.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDocumentID() |
Get the referenced resource's document id.
|
org.w3c.dom.Element |
getElement() |
Get the underlying XML element.
|
java.lang.String |
getInstanceID() |
Get the referenced resource's id.
|
java.lang.String |
getManager() |
Get name of the asset management system that manages this resource.
|
java.lang.String |
getManagerTo() |
URI identifying the managed resource.
|
java.lang.String |
getManagerUI() |
URI to info about the managed resource.
|
java.lang.String |
getManagerVariant() |
Get name of the variant of asset management system that manages this resource.
|
java.lang.String |
getRenditionClass() |
Get the rendition class.
|
java.lang.String |
getRenditionParams() |
Get the extra rendition params.
|
java.lang.String |
getVersionID() |
Get the referenced resource's document version id.
|
void |
setDocumentID(java.lang.String id) |
Set the referenced resource's document id.
|
void |
setInstanceID(java.lang.String id) |
Set the referenced resource's id.
|
void |
setMangager(java.lang.String manager) |
Set the name of the system that manages this resource.
|
void |
setMangagerTo(java.lang.String managerTo) |
Set the URI to the managed resource.
|
void |
setMangagerUI(java.lang.String managerUI) |
Set the URI to the info about the managed resource.
|
void |
setMangagerVariant(java.lang.String managerVariant) |
Set the name of the variant of the system that manages this resource.
|
void |
setRenditionClass(java.lang.String renditionClass) |
Set the rendition class.
|
void |
setRenditionParams(java.lang.String params) |
Set addition rendition params.
|
void |
setVersionID(java.lang.String id) |
Set the referenced resource's version id.
|
public ResourceRef(org.w3c.dom.Element parentElement)
parentElement
- The parent element that will store the resource properties.public org.w3c.dom.Element getElement()
getElement
in interface Elementable
public java.lang.String getInstanceID()
public void setInstanceID(java.lang.String id)
id
- The id of the reference.public java.lang.String getDocumentID()
public void setDocumentID(java.lang.String id)
id
- The id of the reference document.public java.lang.String getVersionID()
public void setVersionID(java.lang.String id)
id
- The id of the reference document version.public java.lang.String getRenditionClass()
setRenditionClass( String )
public void setRenditionClass(java.lang.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 java.lang.String getRenditionParams()
public void setRenditionParams(java.lang.String params)
params
- Additional rendition parameters that are too complex for the rendition class.public java.lang.String getManager()
public void setMangager(java.lang.String manager)
manager
- The name of the management system.public java.lang.String getManagerVariant()
public void setMangagerVariant(java.lang.String managerVariant)
managerVariant
- The name of the management system.public java.lang.String getManagerTo()
public void setMangagerTo(java.lang.String managerTo)
managerTo
- The URI to the managed resource.public java.lang.String getManagerUI()
public void setMangagerUI(java.lang.String managerUI)
managerUI
- The URI to the managed resource information.Copyright © 2008–2018. All rights reserved.