Home » pdfbox-1.1.0-src » org.apache.jempbox.xmp » [javadoc | source]
org.apache.jempbox.xmp
public class: ResourceEvent [javadoc | source]
java.lang.Object
   org.apache.jempbox.xmp.ResourceEvent

All Implemented Interfaces:
    Elementable

This class represents a high level event that occured during the processing of this resource.
Field Summary
public static final  String NAMESPACE    Namespace for a resource event. 
public static final  String ACTION_CONVERTED    A predefined action. 
public static final  String ACTION_COPIED    A predefined action. 
public static final  String ACTION_CREATED    A predefined action. 
public static final  String ACTION_CROPPED    A predefined action. 
public static final  String ACTION_EDITED    A predefined action. 
public static final  String ACTION_FILTERED    A predefined action. 
public static final  String ACTION_FORMATTED    A predefined action. 
public static final  String ACTION_VERSION_UPDATED    A predefined action. 
public static final  String ACTION_PRINTED    A predefined action. 
public static final  String ACTION_PUBLISHED    A predefined action. 
public static final  String ACTION_MANAGED    A predefined action. 
public static final  String ACTION_PRODUCED    A predefined action. 
public static final  String ACTION_RESIZED    A predefined action. 
protected  Element parent    The DOM representation of this object. 
Constructor:
 public ResourceEvent(Element parentElement) 
    Create a resource reference based on a existing parent property set.
    Parameters:
    parentElement - The parent element that will store the resource properties.
 public ResourceEvent(XMPSchema schema) 
    Create resource event based on schema.
    Parameters:
    schema - The schema that this event will be part of.
Method from org.apache.jempbox.xmp.ResourceEvent Summary:
getAction,   getElement,   getInstanceID,   getManager,   getManagerTo,   getManagerUI,   getManagerVariant,   getParameters,   getSoftwareAgent,   getWhen,   setAction,   setInstanceID,   setMangager,   setMangagerTo,   setMangagerUI,   setMangagerVariant,   setParameters,   setSoftwareAgent,   setWhen
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jempbox.xmp.ResourceEvent Detail:
 public String getAction() 
    Get the action that occured. See the ACTION_XXX constants.
 public Element getElement() 
    Get the underlying XML element.
 public String getInstanceID() 
    Get the referenced resource's instance id.
 public String getManager() 
    Get name of the asset management system that manages this resource.
 public String getManagerTo() 
    URI identifying the managed resource.
 public String getManagerUI() 
    URI to info about the managed resource.
 public String getManagerVariant() 
    Get name of the variant of asset management system that manages this resource.
 public String getParameters() 
    Get an additional description of the event.
 public String getSoftwareAgent() 
    Get the software that performed this action.
 public Calendar getWhen() throws IOException 
    Get the date/time that this event occured.
 public  void setAction(String action) 
    Set the action that this event represents. See the ACTION_XXX constants.
 public  void setInstanceID(String id) 
    Set the referenced resource's document instance id.
 public  void setMangager(String manager) 
    Set the name of the system that manages this resource.
 public  void setMangagerTo(String managerTo) 
    Set the URI to the managed resource.
 public  void setMangagerUI(String managerUI) 
    Set the URI to the info about the managed resource.
 public  void setMangagerVariant(String managerVariant) 
    Set the name of the variant of the system that manages this resource.
 public  void setParameters(String param) 
    Set some addition description to this event.
 public  void setSoftwareAgent(String software) 
    Set the software that performed this operation.
 public  void setWhen(Calendar when) 
    Set when the event occured.