|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.icomm.assetplacement.model.PackageElement
com.adobe.icomm.assetplacement.model.Resource
public class Resource
Class that represents a <resource> child of <resources> inside a package definition. Get a list of these from the PackageDefinition's getResources method.
| Method Summary | |
|---|---|
String |
getAltText()
Alternative text (alt text) is used as a replacement for an image, whenever the image cannot be seen. |
String |
getContentType()
Identifies the content type of the current resource. |
String |
getControllerID()
Return the controller id of the parent <resources> node. |
String |
getExpiration()
Specifies the expiration date of a giving resource. |
String |
getSource()
Specifies a reference to an external file resource. |
String |
getTarget()
Specifies a reference to an external web page. |
boolean |
isExpired()
Returns true if the current date is past the resource's expiration date and false otherwise. |
void |
setAltText(String value)
Alternative text (alt text) is used as a replacement for an image, whenever the image cannot be seen. |
void |
setContentType(String value)
Identifies the content type of the current resource. |
void |
setSource(String value)
Specifies a reference to an external file resource. |
void |
setTarget(String value)
Specifies a reference to an external web page. |
| Methods inherited from class com.adobe.icomm.assetplacement.model.PackageElement |
|---|
getAttribute, getMetaData, remove, setAttribute, setMetaData |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getControllerID()
public String getTarget()
public void setTarget(String value)
value - the new url to a web page associated with this resource.public String getContentType()
public void setContentType(String value)
value - the new content type of this resource.public String getExpiration()
public boolean isExpired()
public String getSource()
public void setSource(String value)
value - the new uri to the external file resource that underlies this object.public String getAltText()
public void setAltText(String value)
value - the new alt text value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||