public class ResourceWrapper extends MBScriptableObject implements org.mozilla.javascript.Wrapper
Constructor and Description |
---|
ResourceWrapper() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
(JavaScript Function) addField(PropertyWrapper theField,
java.lang.Object theValue)
Adds the specified field with the specified value to the
ResourceWrapper . |
java.lang.Object |
(JavaScript Function) addProperty(PropertyWrapper theProperty,
java.lang.Object theValue)
Deprecated.
|
java.lang.Object |
(JavaScript Function) getField(PropertyWrapper theField)
Returns the specified field.
|
PropertyWrapper[] |
(JavaScript Function) getFields()
Returns the array of the fields.
|
java.lang.Object |
(JavaScript Function) getProperty(PropertyWrapper theProperty)
Deprecated.
|
java.lang.String |
(JavaScript Function) getXmpFormattedDate(org.mozilla.javascript.Scriptable theDate)
Get the string representation of a javascript date object.
|
boolean |
(JavaScript Function) hasField(PropertyWrapper theField)
Does the specified field exist?
|
boolean |
(JavaScript Function) hasProperty(PropertyWrapper thePropertyWrapper)
Deprecated.
|
java.lang.Object |
(JavaScript Function) removeAll(PropertyWrapper theField)
Removes the specified field from the
ResourceWrapper . |
PropertyWrapper[] |
(JavaScript Getter) properties()
Deprecated.
|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
@Deprecated public PropertyWrapper[] (JavaScript Getter) properties()
PropertyWrapper
objects.ResourceWrapper.(JavaScript Function) getFields()
public PropertyWrapper[] (JavaScript Function) getFields()
PropertyWrapper
objects.@Deprecated public java.lang.Object (JavaScript Function) getProperty(PropertyWrapper theProperty) throws MalformedXmpFieldException
theProperty
- MalformedXmpFieldException
ResourceWrapper.(JavaScript Function) getField(com.brightech.xmp.js.PropertyWrapper)
public java.lang.Object (JavaScript Function) getField(PropertyWrapper theField) throws MalformedXmpFieldException
theField
- MalformedXmpFieldException
@Deprecated public java.lang.Object (JavaScript Function) addProperty(PropertyWrapper theProperty, java.lang.Object theValue) throws MalformedXmpFieldException
ResourceWrapper
.theProperty
- the property.theValue
- the value.ResourceWrapper
itselfMalformedXmpFieldException
ResourceWrapper.(JavaScript Function) addField(com.brightech.xmp.js.PropertyWrapper, java.lang.Object)
public java.lang.String (JavaScript Function) getXmpFormattedDate(org.mozilla.javascript.Scriptable theDate)
theDate
- JavaScript date objectpublic java.lang.Object (JavaScript Function) addField(PropertyWrapper theField, java.lang.Object theValue) throws MalformedXmpFieldException, java.lang.UnsupportedOperationException
ResourceWrapper
.theField
- the field.theValue
- the value.ResourceWrapper
itselfMalformedXmpFieldException
java.lang.UnsupportedOperationException
public boolean (JavaScript Function) hasProperty(PropertyWrapper thePropertyWrapper)
thePropertyWrapper
- the property to search for.true
if the property exists, false
otherwise.ResourceWrapper.(JavaScript Function) hasField(com.brightech.xmp.js.PropertyWrapper)
public boolean (JavaScript Function) hasField(PropertyWrapper theField)
theField
- the field to search fortrue
if the field exists, false
otherwise.public java.lang.Object (JavaScript Function) removeAll(PropertyWrapper theField)
ResourceWrapper
.theField
- the field to remove.ResourceWrapper
itselfCopyright © 2017 MediaBeacon, Inc. All Rights Reserved.