public final class CodingHelper extends Object
Modifier | Constructor and Description |
---|---|
private |
CodingHelper() |
Modifier and Type | Method and Description |
---|---|
static Set<DecoderKey> |
decoderKeysForElements(String namespace,
Class<?>... elements) |
static Object |
decodeXmlElement(org.apache.xmlbeans.XmlObject x) |
static Object |
decodeXmlObject(String xmlString) |
static Object |
decodeXmlObject(org.apache.xmlbeans.XmlObject xbObject) |
static org.apache.xmlbeans.XmlObject |
encodeObjectToXml(String namespace,
Object o) |
static <T> org.apache.xmlbeans.XmlObject |
encodeObjectToXml(String namespace,
T o,
Map<SosConstants.HelperValues,String> helperValues) |
static String |
encodeObjectToXmlText(String namespace,
Object o) |
static String |
encodeObjectToXmlText(String namespace,
Object o,
Map<SosConstants.HelperValues,String> additionalValues) |
static Set<EncoderKey> |
encoderKeysForElements(String namespace,
Class<?>... elements) |
static <T extends org.apache.xmlbeans.XmlObject> |
getDecoderKey(T[] doc) |
static DecoderKey |
getDecoderKey(org.apache.xmlbeans.XmlObject doc) |
static <T> Encoder<org.apache.xmlbeans.XmlObject,T> |
getEncoder(String namespace,
T o) |
static EncoderKey |
getEncoderKey(String namespace,
Object o) |
static Set<DecoderKey> |
xmlDecoderKeysForOperation(String service,
String version,
Enum<?>... operations) |
static Set<DecoderKey> |
xmlDecoderKeysForOperation(String service,
String version,
String... operations) |
public static Object decodeXmlElement(org.apache.xmlbeans.XmlObject x) throws OwsExceptionReport
OwsExceptionReport
public static <T> org.apache.xmlbeans.XmlObject encodeObjectToXml(String namespace, T o, Map<SosConstants.HelperValues,String> helperValues) throws OwsExceptionReport
OwsExceptionReport
public static <T> Encoder<org.apache.xmlbeans.XmlObject,T> getEncoder(String namespace, T o) throws OwsExceptionReport
OwsExceptionReport
public static org.apache.xmlbeans.XmlObject encodeObjectToXml(String namespace, Object o) throws OwsExceptionReport
OwsExceptionReport
public static String encodeObjectToXmlText(String namespace, Object o) throws OwsExceptionReport
OwsExceptionReport
public static String encodeObjectToXmlText(String namespace, Object o, Map<SosConstants.HelperValues,String> additionalValues) throws OwsExceptionReport
OwsExceptionReport
public static Set<DecoderKey> decoderKeysForElements(String namespace, Class<?>... elements)
public static Set<DecoderKey> xmlDecoderKeysForOperation(String service, String version, Enum<?>... operations)
public static Set<DecoderKey> xmlDecoderKeysForOperation(String service, String version, String... operations)
public static Set<EncoderKey> encoderKeysForElements(String namespace, Class<?>... elements)
public static EncoderKey getEncoderKey(String namespace, Object o)
public static DecoderKey getDecoderKey(org.apache.xmlbeans.XmlObject doc)
public static <T extends org.apache.xmlbeans.XmlObject> DecoderKey getDecoderKey(T[] doc)
public static Object decodeXmlObject(org.apache.xmlbeans.XmlObject xbObject) throws OwsExceptionReport
OwsExceptionReport
public static Object decodeXmlObject(String xmlString) throws OwsExceptionReport
OwsExceptionReport
Copyright © 2012-2014 52north.org. All Rights Reserved.