java.lang.Object
org.apache.xmlgraphics.xmp.XMPSchema
- Direct Known Subclasses:
AdobePDFSchema,DublinCoreSchema,PDFAExtensionXMPSchema,PDFAXMPSchema,PDFUAXMPSchema,PDFVTXMPSchema,PDFXXMPSchema,XAPMMXMPSchema,XMPBasicSchema
Base class for schema implementations that provide user-friendly access to XMP values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtraNamespace(String prefix, String namespace) Returns the map of extra namespaces to by used by child propertiesprotected QNameReturns the QName for a property of this schema.
-
Constructor Details
-
XMPSchema
Constructs a new XMP schema object.- Parameters:
namespace- the namespace URI for the schemapreferredPrefix- the preferred prefix for the schema
-
-
Method Details
-
getNamespace
- Returns:
- the namespace URI of the schema
-
getPreferredPrefix
- Returns:
- the preferred prefix of the schema
-
getQName
Returns the QName for a property of this schema.- Parameters:
propName- the property name- Returns:
- the QName for the property
-
getDefaultMergeRuleSet
- Returns:
- the default merge rule set for this XMP schema.
-
getExtraNamespaces
Returns the map of extra namespaces to by used by child properties -
addExtraNamespace
-