Package | com.adobe.bridge |
Class | public class Metadata |
Inheritance | Metadata ![]() ![]() |
Since : | CS5 |
Property | Defined By | ||
---|---|---|---|
![]() | hostObjectDelegate : HostObject Getter for the delegate | CSHostObject | |
namespace : String
The current XMP namespace, used to search for XMP properties. | Metadata |
Method | Defined By | ||
---|---|---|---|
Metadata(blob:String = null) | Metadata | ||
applyMetadataTemplate():void
Adds metadata properties to this object that were saved to an XMP template from the FileInfo dialog. | Metadata | ||
![]() | filterArgsForHBAPI(args:Array):Array [static]
Function to clean up the argument list and put it into a format that
makes sense for HBAPI. | CSHostObject | |
![]() | filterSingleObjectForHBAPI(value:Object):Object [static]
| CSHostObject | |
![]() | getClassObjectForName(className:String):HostObject [static] This returns a "Class" object, meaning, a HostObject that can be used
to make static function calls or get static properties
| CSHostObject | |
![]() | getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):* [static] | CSHostObject | |
![]() | hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
| CSHostObject | |
![]() | hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):* [static]
Implements a safe call of a static method on the host
| CSHostObject | |
![]() | hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
| CSHostObject | |
![]() | hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
| CSHostObject | |
![]() | hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):* [static]
Implements a safe get of a static property on the host
Used by for instance, all the enum implementations. | CSHostObject | |
![]() | hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
| CSHostObject | |
![]() | hostSetStatic(className:String, propertyName:String, rawvalue:*):* [static]
Implements a safe set of a static property on the host
| CSHostObject | |
![]() | isDescendedFrom(clz:Class, ancClass:Class):Boolean [static] Efficiently determines whether or not one class descends from
another in inheritance hierarchy- class relationships are cached
by the ClassUtils implementation-
(uses org.as3commons lib to quickly discover class hierarchy. | CSHostObject | |
read(namespace:String, uri:String):String
Retrieves and returns the string value of a metadata property in the specified namespace. | Metadata | ||
![]() | replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call. | CSHostObject | |
serialize():String
Serializes the XMP packet into a string. | Metadata | ||
![]() | wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):* [static]
Method used on static/normal get/ hostcalls
| CSHostObject |
Method | Defined By | ||
---|---|---|---|
createWithArgs(args:Array):void [override] | Metadata | ||
![]() | hostCreate(args:Array):void | CSHostObject |
namespace | property |
namespace:String
Since : | CS5 |
The current XMP namespace, used to search for XMP properties.
public function get namespace():String
public function set namespace(value:String):void
Metadata | () | Constructor |
public function Metadata(blob:String = null)
Since : | CS5 |
Parameters
blob:String (default = null ) — (String)
|
applyMetadataTemplate | () | method |
public function applyMetadataTemplate():void
Since : | CS5 |
Adds metadata properties to this object that were saved to an XMP template from the FileInfo dialog.
createWithArgs | () | method |
override protected function createWithArgs(args:Array):void
Since : | CS5 |
Parameters
args:Array |
read | () | method |
public function read(namespace:String, uri:String):String
Since : | CS5 |
Retrieves and returns the string value of a metadata property in the specified namespace.
Parameters
namespace:String — (String)
| |
uri:String — (String)
|
String |
serialize | () | method |
public function serialize():String
Since : | CS5 |
Serializes the XMP packet into a string.
ReturnsString |