|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.nxqd.common.NxqdUtils
public abstract class NxqdUtils
The class Utils
is n abstract class to centralise common
uility methods for use by all the classes.
Constructor Summary | |
---|---|
NxqdUtils()
|
Method Summary | |
---|---|
static Document |
docFromString(String documentAsString)
The docFromString method converts a java.lang.String
object into a org.w3c.dom.Document . |
static String |
docToString(Document document)
The docToString method converts a Document
object into a java.lang.String . |
static String |
docToString(Node node)
The docToString method converts a Document
object into a java.lang.String . |
static String |
generateUniqueId()
|
static List |
getKeysAsList(Map map)
|
static List |
getValuesAsList(Map map)
|
static List |
gsoapResultObjectToList(Object result)
The gsoapResultObjectToList method converts
the strange gsoap behaviour into something more
consistent, as gsoap returns sometimes null, a string or
a List, dpending on the number of results. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NxqdUtils()
Method Detail |
---|
public static final String docToString(Node node) throws NxqdException
docToString
method converts a Document
object into a java.lang.String
.
document
- a org.w3c.dom.Document
value
String
value
NxqdException
- if an error occurspublic static final String docToString(Document document) throws NxqdException
docToString
method converts a Document
object into a java.lang.String
.
document
- a org.w3c.dom.Document
value
String
value
NxqdException
- if an error occurspublic static final Document docFromString(String documentAsString) throws NxqdException
docFromString
method converts a java.lang.String
object into a org.w3c.dom.Document
.
documentAsString
- a String
value
Document
value
NxqdException
- if an error occurspublic static List gsoapResultObjectToList(Object result)
gsoapResultObjectToList
method converts
the strange gsoap behaviour into something more
consistent, as gsoap returns sometimes null, a string or
a List, dpending on the number of results.
result
- an Object
value
List
valuepublic static String generateUniqueId()
public static List getKeysAsList(Map map)
public static List getValuesAsList(Map map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |