Package org.apache.xmlgraphics.xmp
Class XMPSchema
- java.lang.Object
-
- org.apache.xmlgraphics.xmp.XMPSchema
-
- Direct Known Subclasses:
AdobePDFSchema,DublinCoreSchema,PDFAXMPSchema,PDFUAXMPSchema,PDFVTXMPSchema,PDFXXMPSchema,XAPMMXMPSchema,XMPBasicSchema
public class XMPSchema extends java.lang.ObjectBase class for schema implementations that provide user-friendly access to XMP values.
-
-
Constructor Summary
Constructors Constructor Description XMPSchema(java.lang.String namespace, java.lang.String preferredPrefix)Constructs a new XMP schema object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MergeRuleSetgetDefaultMergeRuleSet()java.lang.StringgetNamespace()java.lang.StringgetPreferredPrefix()protected QNamegetQName(java.lang.String propName)Returns the QName for a property of this schema.
-
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
- Returns:
- the namespace URI of the schema
-
getPreferredPrefix
public java.lang.String getPreferredPrefix()
- Returns:
- the preferred prefix of the schema
-
getQName
protected QName getQName(java.lang.String propName)
Returns the QName for a property of this schema.- Parameters:
propName- the property name- Returns:
- the QName for the property
-
getDefaultMergeRuleSet
public MergeRuleSet getDefaultMergeRuleSet()
- Returns:
- the default merge rule set for this XMP schema.
-
-