com.adobe.icomm.assetplacement.model
Class Controller

java.lang.Object
  extended by com.adobe.icomm.assetplacement.model.PackageElement
      extended by com.adobe.icomm.assetplacement.model.Controller
Direct Known Subclasses:
AssetLoaderController, PromoImageController, PromoImageSlideShowController, PromoModuleLoaderController, PromoSWFLoaderController

public class Controller
extends PackageElement

Class that represents a child of the <controllers> element within a package definition file. This base class provides access to properties common to controllers.


Method Summary
 String getControllerType()
          Return the controller type, aka the element name in the package definition.
 String getID()
          The id used to uniquely identify this controller in the package definition.
 void setID(String value)
          The id used to uniquely identify this controller in the package definition.
 void validate(Validator validator)
          Attempt to validate this controller element.
 
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

setID

public void setID(String value)
The id used to uniquely identify this controller in the package definition.

Parameters:
value - the new id of this controller.

getID

public String getID()
The id used to uniquely identify this controller in the package definition.

Returns:
the controller's id.

getControllerType

public String getControllerType()
Return the controller type, aka the element name in the package definition.

Returns:
The name of the element, does not include any namespace prefix.

validate

public void validate(Validator validator)
Attempt to validate this controller element. Validation messages discovered are added to the validator instance passed in.

Parameters:
validator - the validator


[an error occurred while processing this directive] [an error occurred while processing this directive]