|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.contentmanagement.contentmanager.smsplugin.util.ConversionUtil
public class ConversionUtil
Constructor Summary | |
---|---|
ConversionUtil()
|
Method Summary | ||
---|---|---|
static
|
fromElement(org.w3c.dom.Element e,
java.lang.Class<T> type)
Facility to transform a DOM element into an JAXB-annotated object |
|
static org.w3c.dom.Element |
toElement(SMSCreateParameters o)
Facility to transform a JAXB-annotated object into a DOM element. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConversionUtil()
Method Detail |
---|
public static org.w3c.dom.Element toElement(SMSCreateParameters o) throws java.lang.Exception
o
- the object.
java.lang.Exception
- if the object could not be transformed.public static <T extends SMSCreateParameters> T fromElement(org.w3c.dom.Element e, java.lang.Class<T> type) throws java.lang.Exception
T
- the type of the object.e
- the element.type
- the (runtime representation) of the type of the object.
java.lang.Exception
- if the element could not be transformed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |