public class MarshallUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CSW_PACKAGE |
protected static String |
ELEMENTS_PACKAGE |
protected static String |
FILTER_PACKAGE |
protected static String |
GML_PACKAGE |
protected static String |
JAXB_PACKAGES |
protected static org.apache.commons.logging.Log |
log |
protected static String |
OWS_PACKAGE |
protected static String |
SEPARATOR |
protected static String |
TERMS_PACKAGE |
| Constructor and Description |
|---|
MarshallUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addPackage(String packageName) |
static String |
marshall(JAXBElement input,
Schema schema) |
static JAXBElement |
unMarshall(Document xmlDocument,
Schema schema,
Class clazz) |
static JAXBElement |
unMarshall(org.jdom.Document xmlDocument,
Schema schema,
Class clazz) |
protected static org.apache.commons.logging.Log log
protected static final String CSW_PACKAGE
protected static final String ELEMENTS_PACKAGE
protected static final String FILTER_PACKAGE
protected static final String GML_PACKAGE
protected static final String OWS_PACKAGE
protected static final String TERMS_PACKAGE
protected static final String SEPARATOR
protected static String JAXB_PACKAGES
public static void addPackage(String packageName)
public static String marshall(JAXBElement input, Schema schema) throws JAXBException
JAXBExceptionpublic static JAXBElement unMarshall(Document xmlDocument, Schema schema, Class clazz) throws JAXBException
JAXBExceptionpublic static JAXBElement unMarshall(org.jdom.Document xmlDocument, Schema schema, Class clazz) throws JAXBException, org.jdom.JDOMException
JAXBExceptionorg.jdom.JDOMExceptionCopyright © 2016. All rights reserved.