Package com.aowagie.text.xml.xmp
Class XmpSchema
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
- Direct Known Subclasses:
DublinCoreSchema,PdfA1Schema,PdfA2Schema,PdfSchema,XmpBasicSchema
Abstract superclass of the XmpSchemas supported by iText.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.Properties
defaults -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static StringgetXmlns()private voidprocess(StringBuffer buf, Object p) Processes a propertyprotected ObjectsetProperty(String key, XmpArray value) setProperty(String key, String value) 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
xmlns
the namesspace
-
-
Constructor Details
-
XmpSchema
Constructs an XMP schema.- Parameters:
xmlns-
-
-
Method Details
-
toString
The String representation of the contents.- Overrides:
toStringin classProperties- Returns:
- a String representation.
-
process
Processes a property- Parameters:
buf-p-
-
getXmlns
- Returns:
- Returns the xmlns.
-
setProperty
- Overrides:
setPropertyin classProperties- See Also:
-
setProperty
- Parameters:
key-value-- Returns:
- the previous property (null if there wasn't one)
- See Also:
-
escape
- Parameters:
content-- Returns:
- an escaped string
-