Class XMPSchema

    • Field Detail

      • defaultMergeRuleSet

        private static MergeRuleSet defaultMergeRuleSet
      • namespace

        private java.lang.String namespace
      • prefix

        private java.lang.String prefix
    • Constructor Detail

      • XMPSchema

        public XMPSchema​(java.lang.String namespace,
                         java.lang.String preferredPrefix)
        Constructs a new XMP schema object.
        Parameters:
        namespace - the namespace URI for the schema
        preferredPrefix - the preferred prefix for the 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.