Class XmpSchema

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
      protected java.lang.String xmlns
      the namesspace
      • Fields inherited from class java.util.Properties

        defaults
    • Constructor Summary

      Constructors 
      Constructor Description
      XmpSchema​(java.lang.String xmlns)
      Constructs an XMP schema.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object addProperty​(java.lang.String key, java.lang.String value)  
      static java.lang.String escape​(java.lang.String content)  
      java.lang.String getXmlns()  
      protected void process​(java.lang.StringBuffer buf, java.lang.Object p)
      Processes a property
      java.lang.Object setProperty​(java.lang.String key, LangAlt value)  
      java.lang.Object setProperty​(java.lang.String key, XmpArray value)  
      java.lang.Object setProperty​(java.lang.String key, java.lang.String value)  
      java.lang.String toString()
      The String representation of the contents.
      • Methods inherited from class java.util.Properties

        clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • xmlns

        protected java.lang.String xmlns
        the namesspace
    • Constructor Detail

      • XmpSchema

        public XmpSchema​(java.lang.String xmlns)
        Constructs an XMP schema.
        Parameters:
        xmlns - xml namespace name
    • Method Detail

      • escape

        public static java.lang.String escape​(java.lang.String content)
        Parameters:
        content - content
        Returns:
        an escaped string
      • toString

        public java.lang.String toString()
        The String representation of the contents.
        Overrides:
        toString in class java.util.Properties
        Returns:
        a String representation.
      • process

        protected void process​(java.lang.StringBuffer buf,
                               java.lang.Object p)
        Processes a property
        Parameters:
        buf - buffer
        p - object
      • getXmlns

        public java.lang.String getXmlns()
        Returns:
        Returns the xmlns.
      • addProperty

        public java.lang.Object addProperty​(java.lang.String key,
                                            java.lang.String value)
        Parameters:
        key - property key
        value - value
        Returns:
        the previous property (null if there wasn't one)
      • setProperty

        public java.lang.Object setProperty​(java.lang.String key,
                                            java.lang.String value)
        Overrides:
        setProperty in class java.util.Properties
        See Also:
        Properties.setProperty(java.lang.String, java.lang.String)
      • setProperty

        public java.lang.Object setProperty​(java.lang.String key,
                                            XmpArray value)
        Parameters:
        key - used as key
        value - toString called on this value
        Returns:
        the previous property (null if there wasn't one)
        See Also:
        Properties.setProperty(java.lang.String, java.lang.String)
      • setProperty

        public java.lang.Object setProperty​(java.lang.String key,
                                            LangAlt value)
        Parameters:
        key - used as key
        value - toString called on this value
        Returns:
        the previous property (null if there wasn't one)
        See Also:
        Properties.setProperty(java.lang.String, java.lang.String)