Package com.lowagie.text.xml.xmp
Class LangAlt
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- com.lowagie.text.xml.xmp.LangAlt
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
public class LangAlt extends Properties
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULTKey for the default language.-
Fields inherited from class java.util.Properties
defaults
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLanguage(String language, String value)Add a language.protected voidprocess(StringBuffer buf, Object lang)Process a property.StringtoString()Creates a String that can be used in an XmpSchema.-
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, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, values
-
-
-
-
Field Detail
-
DEFAULT
public static final String DEFAULT
Key for the default language.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LangAlt
public LangAlt(String defaultValue)
Creates a Properties object that stores languages for use in an XmpSchema- Parameters:
defaultValue- default value
-
LangAlt
public LangAlt()
Creates a Properties object that stores languages for use in an XmpSchema
-
-
Method Detail
-
addLanguage
public void addLanguage(String language, String value)
Add a language.- Parameters:
language- languagevalue- value
-
process
protected void process(StringBuffer buf, Object lang)
Process a property.- Parameters:
buf- bufferlang- object
-
toString
public String toString()
Creates a String that can be used in an XmpSchema.- Overrides:
toStringin classProperties
-
-