com.lowagie.text.xml.xmp
Class XmpSchema

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended bycom.lowagie.text.xml.xmp.XmpSchema
All Implemented Interfaces:
Cloneable, Map, Serializable
Direct Known Subclasses:
DublinCoreSchema, PdfA1Schema, PdfSchema, XmpBasicSchema, XmpMMSchema

public abstract class XmpSchema
extends Properties

Abstract superclass of the XmpSchemas supported by iText.

See Also:
Serialized Form

Constructor Summary
XmpSchema(String xmlns)
          Constructs an XMP schema.
 
Method Summary
 Object addProperty(String key, String value)
           
static String escape(String content)
           
 String getXmlns()
           
 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.
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, propertyNames, save, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmpSchema

public XmpSchema(String xmlns)
Constructs an XMP schema.

Parameters:
xmlns -
Method Detail

toString

public String toString()
The String representation of the contents.

Returns:
a String representation.

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)
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)
Parameters:
content -
Returns:
an escaped string


Copyright © 2011 EGIZ - E-Government Innovation Center. All Rights Reserved.