com.itextpdf.text.xml.xmp
Class XmpSchema
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
com.itextpdf.text.xml.xmp.XmpSchema
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>
- Direct Known Subclasses:
- DublinCoreSchema, PdfSchema, XmpBasicSchema, XmpMMSchema
public abstract class XmpSchema
- extends Properties
Abstract superclass of the XmpSchemas supported by iText.
- See Also:
- Serialized Form
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, store, storeToXML, storeToXML |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
xmlns
protected String xmlns
- the namesspace
XmpSchema
public XmpSchema(String xmlns)
- Constructs an XMP schema.
- Parameters:
xmlns
-
toString
public String toString()
- The String representation of the contents.
- Overrides:
toString
in class Hashtable<Object,Object>
- Returns:
- a String representation.
process
protected void process(StringBuffer buf,
Object p)
- Processes a property
- Parameters:
buf
- p
-
getXmlns
public String getXmlns()
- Returns:
- Returns the xmlns.
addProperty
public Object addProperty(String key,
String value)
- Parameters:
key
- value
-
- Returns:
- the previous property (null if there wasn't one)
setProperty
public Object setProperty(String key,
String value)
- Overrides:
setProperty
in class Properties
- See Also:
Properties.setProperty(java.lang.String, java.lang.String)
setProperty
public Object setProperty(String key,
XmpArray value)
- 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 Object setProperty(String key,
LangAlt value)
- 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 String escape(String content)
- Deprecated. use XMLUtil.escapeXml(String s, boolean onlyASCII) instead.
- Parameters:
content
-
- Returns:
- an escaped string
Copyright © 2013. All Rights Reserved.