public abstract class XmpSchema extends Properties
Modifier and Type | Field and Description |
---|---|
protected String |
xmlns
the namesspace
|
defaults
Constructor and Description |
---|
XmpSchema(String xmlns)
Constructs an XMP schema.
|
Modifier and Type | Method and Description |
---|---|
Object |
addProperty(String key,
String value) |
static String |
escape(String content) |
String |
getXmlns() |
protected void |
process(StringBuffer buf,
Object p)
Processes a property
|
Object |
setProperty(String key,
LangAlt value) |
Object |
setProperty(String key,
String value) |
Object |
setProperty(String key,
XmpArray value) |
String |
toString()
The String representation of the contents.
|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, values
protected String xmlns
public XmpSchema(String xmlns)
xmlns
- xml namespace namepublic String toString()
protected void process(StringBuffer buf, Object p)
buf
- bufferp
- objectpublic String getXmlns()
public Object addProperty(String key, String value)
key
- property keyvalue
- valuepublic Object setProperty(String key, String value)
setProperty
in class Properties
Properties.setProperty(java.lang.String, java.lang.String)
public Object setProperty(String key, XmpArray value)
key
- used as keyvalue
- toString called on this valueProperties.setProperty(java.lang.String, java.lang.String)
public Object setProperty(String key, LangAlt value)
key
- used as keyvalue
- toString called on this valueProperties.setProperty(java.lang.String, java.lang.String)
Copyright © 2020. All rights reserved.