| Package | Description |
|---|---|
| com.adobe.xmp |
Package containing the xmpcore interface.
|
| com.adobe.xmp.options |
Package containing the option classes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XMPMeta.appendArrayItem(java.lang.String schemaNS,
java.lang.String arrayName,
PropertyOptions arrayOptions,
java.lang.String itemValue,
PropertyOptions itemOptions)
Simplifies the construction of an array by not requiring that you pre-create an empty array.
|
void |
XMPMeta.appendArrayItem(java.lang.String schemaNS,
java.lang.String arrayName,
java.lang.String itemValue) |
static void |
XMPUtils.appendProperties(XMPMeta source,
XMPMeta dest,
boolean doAllProperties,
boolean replaceOldValues)
Alias without the new option
deleteEmptyValues. |
static void |
XMPUtils.appendProperties(XMPMeta source,
XMPMeta dest,
boolean doAllProperties,
boolean replaceOldValues,
boolean deleteEmptyValues)
Append properties from one XMP object to another.
|
static java.lang.String |
XMPUtils.catenateArrayItems(XMPMeta xmp,
java.lang.String schemaNS,
java.lang.String arrayName,
java.lang.String separator,
java.lang.String quotes,
boolean allowCommas)
Create a single edit string from an array of strings.
|
static java.lang.String |
XMPPathFactory.composeArrayItemPath(java.lang.String arrayName,
int itemIndex)
Compose the path expression for an item in an array.
|
static java.lang.String |
XMPPathFactory.composeFieldSelector(java.lang.String arrayName,
java.lang.String fieldNS,
java.lang.String fieldName,
java.lang.String fieldValue)
Compose the path expression to select an alternate item by a field's value.
|
static java.lang.String |
XMPPathFactory.composeQualifierPath(java.lang.String qualNS,
java.lang.String qualName)
Compose the path expression for a qualifier.
|
static java.lang.String |
XMPPathFactory.composeStructFieldPath(java.lang.String fieldNS,
java.lang.String fieldName)
Compose the path expression for a field in a struct.
|
static boolean |
XMPUtils.convertToBoolean(java.lang.String value)
Convert from string to Boolean.
|
static XMPDateTime |
XMPUtils.convertToDate(java.lang.String rawValue)
Converts a string value to an
XMPDateTime. |
static double |
XMPUtils.convertToDouble(java.lang.String rawValue)
Converts a string value to a
double. |
static int |
XMPUtils.convertToInteger(java.lang.String rawValue)
Converts a string value to an
int. |
static long |
XMPUtils.convertToLong(java.lang.String rawValue)
Converts a string value to a
long. |
int |
XMPMeta.countArrayItems(java.lang.String schemaNS,
java.lang.String arrayName)
Returns the number of items in the array.
|
static XMPDateTime |
XMPDateTimeFactory.createFromISO8601(java.lang.String strValue)
Creates an
XMPDateTime from an ISO 8601 string. |
static byte[] |
XMPUtils.decodeBase64(java.lang.String base64String)
Decode from Base64 encoded string to raw data.
|
XMPProperty |
XMPMeta.getArrayItem(java.lang.String schemaNS,
java.lang.String arrayName,
int itemIndex)
Provides access to items within an array.
|
XMPProperty |
XMPMeta.getLocalizedText(java.lang.String schemaNS,
java.lang.String altTextName,
java.lang.String genericLang,
java.lang.String specificLang)
These functions provide convenient support for localized text properties, including a number
of special and obscure aspects.
|
XMPProperty |
XMPMeta.getProperty(java.lang.String schemaNS,
java.lang.String propName)
The property value getter-methods all take a property specification: the first two parameters
are always the top level namespace URI (the "schema" namespace) and the basic name
of the property being referenced.
|
byte[] |
XMPMeta.getPropertyBase64(java.lang.String schemaNS,
java.lang.String propName)
Convenience method to retrieve the literal value of a property.
|
java.lang.Boolean |
XMPMeta.getPropertyBoolean(java.lang.String schemaNS,
java.lang.String propName)
These are very similar to
getProperty() and SetProperty() above,
but the value is returned or provided in a literal form instead of as a UTF-8 string. |
java.util.Calendar |
XMPMeta.getPropertyCalendar(java.lang.String schemaNS,
java.lang.String propName)
Convenience method to retrieve the literal value of a property.
|
XMPDateTime |
XMPMeta.getPropertyDate(java.lang.String schemaNS,
java.lang.String propName)
Convenience method to retrieve the literal value of a property.
|
java.lang.Double |
XMPMeta.getPropertyDouble(java.lang.String schemaNS,
java.lang.String propName)
Convenience method to retrieve the literal value of a property.
|
java.lang.Integer |
XMPMeta.getPropertyInteger(java.lang.String schemaNS,
java.lang.String propName)
Convenience method to retrieve the literal value of a property.
|
java.lang.Long |
XMPMeta.getPropertyLong(java.lang.String schemaNS,
java.lang.String propName)
Convenience method to retrieve the literal value of a property.
|
java.lang.String |
XMPMeta.getPropertyString(java.lang.String schemaNS,
java.lang.String propName)
Convenience method to retrieve the literal value of a property.
|
XMPProperty |
XMPMeta.getQualifier(java.lang.String schemaNS,
java.lang.String propName,
java.lang.String qualNS,
java.lang.String qualName)
Provides access to a qualifier attached to a property.
|
XMPProperty |
XMPMeta.getStructField(java.lang.String schemaNS,
java.lang.String structName,
java.lang.String fieldNS,
java.lang.String fieldName)
Provides access to fields within a nested structure.
|
void |
XMPMeta.insertArrayItem(java.lang.String schemaNS,
java.lang.String arrayName,
int itemIndex,
java.lang.String itemValue) |
void |
XMPMeta.insertArrayItem(java.lang.String schemaNS,
java.lang.String arrayName,
int itemIndex,
java.lang.String itemValue,
PropertyOptions options)
Inserts an item into an array previous to the given index.
|
XMPIterator |
XMPMeta.iterator()
Constructs an iterator for the properties within this XMP object.
|
XMPIterator |
XMPMeta.iterator(IteratorOptions options)
Constructs an iterator for the properties within this XMP object using some options.
|
XMPIterator |
XMPMeta.iterator(java.lang.String schemaNS,
java.lang.String propName,
IteratorOptions options)
Construct an iterator for the properties within an XMP object.
|
void |
XMPMeta.normalize(ParseOptions options)
Perform the normalization as a separate parsing step.
|
static XMPMeta |
XMPMetaFactory.parse(java.io.InputStream in)
Parsing with default options.
|
static XMPMeta |
XMPMetaFactory.parse(java.io.InputStream in,
ParseOptions options)
These functions support parsing serialized RDF into an XMP object, and serailizing an XMP
object into RDF.
|
static XMPMeta |
XMPMetaFactory.parseFromBuffer(byte[] buffer)
Parsing with default options.
|
static XMPMeta |
XMPMetaFactory.parseFromBuffer(byte[] buffer,
ParseOptions options)
Creates an
XMPMeta-object from a byte-buffer. |
static XMPMeta |
XMPMetaFactory.parseFromString(java.lang.String packet)
Parsing with default options.
|
static XMPMeta |
XMPMetaFactory.parseFromString(java.lang.String packet,
ParseOptions options)
Creates an
XMPMeta-object from a string. |
java.lang.String |
XMPSchemaRegistry.registerNamespace(java.lang.String namespaceURI,
java.lang.String suggestedPrefix)
Register a namespace URI with a suggested prefix.
|
static void |
XMPUtils.removeProperties(XMPMeta xmp,
java.lang.String schemaNS,
java.lang.String propName,
boolean doAllProperties,
boolean includeAliases)
Remove multiple properties from an XMP object.
|
static void |
XMPUtils.separateArrayItems(XMPMeta xmp,
java.lang.String schemaNS,
java.lang.String arrayName,
java.lang.String catedStr,
PropertyOptions arrayOptions,
boolean preserveCommas)
Separate a single edit string into an array of strings.
|
static void |
XMPMetaFactory.serialize(XMPMeta xmp,
java.io.OutputStream out)
Serializes an
XMPMeta-object as RDF into an OutputStream
with default options. |
static void |
XMPMetaFactory.serialize(XMPMeta xmp,
java.io.OutputStream out,
SerializeOptions options)
Serializes an
XMPMeta-object as RDF into an OutputStream. |
static byte[] |
XMPMetaFactory.serializeToBuffer(XMPMeta xmp,
SerializeOptions options)
Serializes an
XMPMeta-object as RDF into a byte buffer. |
static java.lang.String |
XMPMetaFactory.serializeToString(XMPMeta xmp,
SerializeOptions options)
Serializes an
XMPMeta-object as RDF into a string. |
void |
XMPMeta.setArrayItem(java.lang.String schemaNS,
java.lang.String arrayName,
int itemIndex,
java.lang.String itemValue) |
void |
XMPMeta.setArrayItem(java.lang.String schemaNS,
java.lang.String arrayName,
int itemIndex,
java.lang.String itemValue,
PropertyOptions options)
Replaces an item within an array.
|
void |
XMPMeta.setLocalizedText(java.lang.String schemaNS,
java.lang.String altTextName,
java.lang.String genericLang,
java.lang.String specificLang,
java.lang.String itemValue) |
void |
XMPMeta.setLocalizedText(java.lang.String schemaNS,
java.lang.String altTextName,
java.lang.String genericLang,
java.lang.String specificLang,
java.lang.String itemValue,
PropertyOptions options)
Modifies the value of a selected item in an alt-text array.
|
void |
XMPMeta.setProperty(java.lang.String schemaNS,
java.lang.String propName,
java.lang.Object propValue) |
void |
XMPMeta.setProperty(java.lang.String schemaNS,
java.lang.String propName,
java.lang.Object propValue,
PropertyOptions options)
The property value
setters all take a property specification, their
differences are in the form of this. |
void |
XMPMeta.setPropertyBase64(java.lang.String schemaNS,
java.lang.String propName,
byte[] propValue) |
void |
XMPMeta.setPropertyBase64(java.lang.String schemaNS,
java.lang.String propName,
byte[] propValue,
PropertyOptions options)
Convenience method to set a property from a binary
byte[]-array,
which is serialized as base64-string. |
void |
XMPMeta.setPropertyBoolean(java.lang.String schemaNS,
java.lang.String propName,
boolean propValue) |
void |
XMPMeta.setPropertyBoolean(java.lang.String schemaNS,
java.lang.String propName,
boolean propValue,
PropertyOptions options)
Convenience method to set a property to a literal
boolean value. |
void |
XMPMeta.setPropertyCalendar(java.lang.String schemaNS,
java.lang.String propName,
java.util.Calendar propValue) |
void |
XMPMeta.setPropertyCalendar(java.lang.String schemaNS,
java.lang.String propName,
java.util.Calendar propValue,
PropertyOptions options)
Convenience method to set a property with a Java Calendar-object,
which is serialized to an ISO8601 date.
|
void |
XMPMeta.setPropertyDate(java.lang.String schemaNS,
java.lang.String propName,
XMPDateTime propValue) |
void |
XMPMeta.setPropertyDate(java.lang.String schemaNS,
java.lang.String propName,
XMPDateTime propValue,
PropertyOptions options)
Convenience method to set a property with an XMPDateTime-object,
which is serialized to an ISO8601 date.
|
void |
XMPMeta.setPropertyDouble(java.lang.String schemaNS,
java.lang.String propName,
double propValue) |
void |
XMPMeta.setPropertyDouble(java.lang.String schemaNS,
java.lang.String propName,
double propValue,
PropertyOptions options)
Convenience method to set a property to a literal
double value. |
void |
XMPMeta.setPropertyInteger(java.lang.String schemaNS,
java.lang.String propName,
int propValue) |
void |
XMPMeta.setPropertyInteger(java.lang.String schemaNS,
java.lang.String propName,
int propValue,
PropertyOptions options)
Convenience method to set a property to a literal
int value. |
void |
XMPMeta.setPropertyLong(java.lang.String schemaNS,
java.lang.String propName,
long propValue) |
void |
XMPMeta.setPropertyLong(java.lang.String schemaNS,
java.lang.String propName,
long propValue,
PropertyOptions options)
Convenience method to set a property to a literal
long value. |
void |
XMPMeta.setQualifier(java.lang.String schemaNS,
java.lang.String propName,
java.lang.String qualNS,
java.lang.String qualName,
java.lang.String qualValue) |
void |
XMPMeta.setQualifier(java.lang.String schemaNS,
java.lang.String propName,
java.lang.String qualNS,
java.lang.String qualName,
java.lang.String qualValue,
PropertyOptions options)
Provides access to a qualifier attached to a property.
|
void |
XMPMeta.setStructField(java.lang.String schemaNS,
java.lang.String structName,
java.lang.String fieldNS,
java.lang.String fieldName,
java.lang.String fieldValue) |
void |
XMPMeta.setStructField(java.lang.String schemaNS,
java.lang.String structName,
java.lang.String fieldNS,
java.lang.String fieldName,
java.lang.String fieldValue,
PropertyOptions options)
Provides access to fields within a nested structure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PropertyOptions.assertConsistency(int options)
Checks that a node not a struct and array at the same time;
and URI cannot be a struct.
|
void |
PropertyOptions.mergeWith(PropertyOptions options)
Merges the set options of a another options object with this.
|
void |
Options.setOptions(int options) |
PropertyOptions |
AliasOptions.toPropertyOptions() |
| Constructor and Description |
|---|
AliasOptions(int options) |
Options(int options)
Constructor with the options bit mask.
|
PropertyOptions(int options)
Intialization constructor
|
SerializeOptions(int options)
Constructor using inital options
|
Copyright © 2006-2007 Adobe Systems Inc. All Rights Reserved.