public class ResourceWrapper extends MBScriptableObject implements org.mozilla.javascript.Wrapper, ModifiableWrapper
myLogger| Constructor and Description |
|---|
ResourceWrapper() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
jsFunction_addField(PropertyWrapper theField,
java.lang.Object theValue)
Adds the specified field with the specified value to the
ResourceWrapper. |
java.lang.Object |
jsFunction_addProperty(PropertyWrapper theProperty,
java.lang.Object theValue)
Deprecated.
|
java.lang.Object |
jsFunction_getField(PropertyWrapper theField)
Returns the specified field.
|
PropertyWrapper[] |
jsFunction_getFields()
Returns the array of the fields.
|
java.lang.Object |
jsFunction_getProperty(PropertyWrapper theProperty)
Deprecated.
|
java.lang.String |
jsFunction_getXmpFormattedDate(org.mozilla.javascript.Scriptable theDate)
Get the string representation of a javascript date object.
|
boolean |
jsFunction_hasField(PropertyWrapper theField)
Does the specified field exist?
|
boolean |
jsFunction_hasProperty(PropertyWrapper thePropertyWrapper)
Deprecated.
|
java.lang.Object |
jsFunction_removeAll(PropertyWrapper theField)
Removes the specified field from the
ResourceWrapper. |
PropertyWrapper[] |
jsGet_properties()
Deprecated.
|
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size@Deprecated public PropertyWrapper[] jsGet_properties()
PropertyWrapper objects.ResourceWrapper.jsFunction_getFields()public PropertyWrapper[] jsFunction_getFields()
PropertyWrapper objects.@Deprecated public java.lang.Object jsFunction_getProperty(PropertyWrapper theProperty) throws com.brightech.xmp.model.xmlmodel.MalformedXmpFieldException
theProperty - com.brightech.xmp.model.xmlmodel.MalformedXmpFieldExceptionResourceWrapper.jsFunction_getField(com.brightech.xmp.js.PropertyWrapper)public java.lang.Object jsFunction_getField(PropertyWrapper theField) throws com.brightech.xmp.model.xmlmodel.MalformedXmpFieldException
theField - com.brightech.xmp.model.xmlmodel.MalformedXmpFieldException@Deprecated public java.lang.Object jsFunction_addProperty(PropertyWrapper theProperty, java.lang.Object theValue) throws com.brightech.xmp.model.xmlmodel.MalformedXmpFieldException
ResourceWrapper.theProperty - the property.theValue - the value.ResourceWrapper itselfcom.brightech.xmp.model.xmlmodel.MalformedXmpFieldExceptionResourceWrapper.jsFunction_addField(com.brightech.xmp.js.PropertyWrapper, java.lang.Object)public java.lang.String jsFunction_getXmpFormattedDate(org.mozilla.javascript.Scriptable theDate)
theDate - JavaScript date objectpublic java.lang.Object jsFunction_addField(PropertyWrapper theField, java.lang.Object theValue) throws com.brightech.xmp.model.xmlmodel.MalformedXmpFieldException, java.lang.UnsupportedOperationException
ResourceWrapper.theField - the field.theValue - the value.ResourceWrapper itselfcom.brightech.xmp.model.xmlmodel.MalformedXmpFieldExceptionjava.lang.UnsupportedOperationExceptionpublic boolean jsFunction_hasProperty(PropertyWrapper thePropertyWrapper)
thePropertyWrapper - the property to search for.true if the property exists, false otherwise.ResourceWrapper.jsFunction_hasField(com.brightech.xmp.js.PropertyWrapper)public boolean jsFunction_hasField(PropertyWrapper theField)
theField - the field to search fortrue if the field exists, false otherwise.public java.lang.Object jsFunction_removeAll(PropertyWrapper theField)
ResourceWrapper.theField - the field to remove.ResourceWrapper itselfCopyright © 2026 MediaBeacon, Inc. All Rights Reserved.