Package com.itextpdf.text.xml.xmp
Class XmpSchema
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- com.itextpdf.text.xml.xmp.XmpSchema
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.Object>
- Direct Known Subclasses:
DublinCoreSchema
,PdfASchema
,PdfSchema
,XmpBasicSchema
,XmpMMSchema
@Deprecated public abstract class XmpSchema extends java.util.Properties
Deprecated.Abstract superclass of the XmpSchemas supported by iText.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Deprecated.protected java.lang.String
xmlns
Deprecated.the namesspace
-
Constructor Summary
Constructors Constructor Description XmpSchema(java.lang.String xmlns)
Deprecated.Constructs an XMP schema.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
addProperty(java.lang.String key, java.lang.String value)
Deprecated.static java.lang.String
escape(java.lang.String content)
Deprecated.use XMLUtil.escapeXml(String s, boolean onlyASCII) instead.java.lang.String
getXmlns()
Deprecated.protected void
process(java.lang.StringBuffer buf, java.lang.Object p)
Deprecated.Processes a propertyjava.lang.Object
setProperty(java.lang.String key, LangAlt value)
Deprecated.java.lang.Object
setProperty(java.lang.String key, XmpArray value)
Deprecated.java.lang.Object
setProperty(java.lang.String key, java.lang.String value)
Deprecated.java.lang.String
toString()
Deprecated.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 Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.- See Also:
- Constant Field Values
-
xmlns
protected java.lang.String xmlns
Deprecated.the namesspace
-
-
Method Detail
-
toString
public java.lang.String toString()
Deprecated.The String representation of the contents.- Overrides:
toString
in classjava.util.Properties
- Returns:
- a String representation.
-
process
protected void process(java.lang.StringBuffer buf, java.lang.Object p)
Deprecated.Processes a property- Parameters:
buf
-p
-
-
getXmlns
public java.lang.String getXmlns()
Deprecated.- Returns:
- Returns the xmlns.
-
addProperty
public java.lang.Object addProperty(java.lang.String key, java.lang.String value)
Deprecated.- Parameters:
key
-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)
Deprecated.- Overrides:
setProperty
in classjava.util.Properties
- See Also:
Properties.setProperty(java.lang.String, java.lang.String)
-
setProperty
public java.lang.Object setProperty(java.lang.String key, XmpArray value)
Deprecated.- Parameters:
key
-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)
Deprecated.- Parameters:
key
-value
-- Returns:
- the previous property (null if there wasn't one)
- See Also:
Properties.setProperty(java.lang.String, java.lang.String)
-
escape
public static java.lang.String escape(java.lang.String content)
Deprecated.use XMLUtil.escapeXml(String s, boolean onlyASCII) instead.- Parameters:
content
-- Returns:
- an escaped string
-
-