XmlSerializer
instead.@Deprecated
public class JDOMExternalizer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
loadStringsList(Element element,
java.lang.String rootName,
java.lang.String attrName)
Deprecated.
|
static boolean |
readBoolean(Element root,
java.lang.String name)
Deprecated.
|
static int |
readInteger(Element root,
java.lang.String name,
int defaultValue)
Deprecated.
|
static void |
readMap(Element root,
java.util.Map<java.lang.String,java.lang.String> map,
java.lang.String rootName,
java.lang.String entryName)
Deprecated.
|
static java.lang.String |
readString(Element root,
java.lang.String name)
Deprecated.
|
static void |
saveStringsList(Element parent,
java.lang.String nodeName,
java.lang.String attrName,
java.lang.String... values)
Deprecated.
Saves a pack of strings to some attribute.
|
static void |
write(Element root,
java.lang.String name,
boolean value)
Deprecated.
Use
XmlSerializer instead. |
static void |
write(Element root,
java.lang.String name,
int value)
Deprecated.
Use
XmlSerializer instead. |
static void |
write(Element root,
java.lang.String name,
java.lang.String value)
Deprecated.
Use
XmlSerializer instead. |
static void |
writeMap(Element root,
java.util.Map<java.lang.String,java.lang.String> map,
java.lang.String rootName,
java.lang.String entryName)
Deprecated.
|
@Deprecated public static void write(Element root, java.lang.String name, java.lang.String value)
XmlSerializer
instead.@Deprecated public static void write(Element root, java.lang.String name, boolean value)
XmlSerializer
instead.@Deprecated public static void write(Element root, java.lang.String name, int value)
XmlSerializer
instead.public static boolean readBoolean(Element root, java.lang.String name)
public static int readInteger(Element root, java.lang.String name, int defaultValue)
public static java.lang.String readString(Element root, java.lang.String name)
public static void writeMap(Element root, java.util.Map<java.lang.String,java.lang.String> map, java.lang.String rootName, java.lang.String entryName)
public static void readMap(Element root, java.util.Map<java.lang.String,java.lang.String> map, java.lang.String rootName, java.lang.String entryName)
public static void saveStringsList(Element parent, java.lang.String nodeName, java.lang.String attrName, java.lang.String... values)
parent
- parent element (where to add newly created tags)nodeName
- node name (tag, in our example)attrName
- attribute name (attr, in our example)values
- a pack of values to add#loadStringsList(org.jdom.Element, String, String)
public static java.util.List<java.lang.String> loadStringsList(Element element, java.lang.String rootName, java.lang.String attrName)