Package org.n52.svalbard.decode
Class AbstractGetDataAvailabilityXmlDecoder
java.lang.Object
org.n52.svalbard.decode.AbstractDelegatingDecoder<GetDataAvailabilityRequest,org.apache.xmlbeans.XmlObject>
org.n52.svalbard.decode.AbstractXmlDecoder<org.apache.xmlbeans.XmlObject,GetDataAvailabilityRequest>
org.n52.svalbard.decode.AbstractSwesDecoderv20<GetDataAvailabilityRequest>
org.n52.svalbard.decode.AbstractGetDataAvailabilityXmlDecoder
- All Implemented Interfaces:
Component<DecoderKey>,Keyed<DecoderKey>,Decoder<GetDataAvailabilityRequest,org.apache.xmlbeans.XmlObject>
- Direct Known Subclasses:
GetDataAvailabilityV20XmlDecoder,GetDataAvailabilityXmlDecoder
public abstract class AbstractGetDataAvailabilityXmlDecoder
extends AbstractSwesDecoderv20<GetDataAvailabilityRequest>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(org.apache.xmlbeans.XmlObject objectToDecode) protected static StringgetBasePath(String basePath, String prefix) protected StringCreate path from valuesprotected booleanisSweAbstractDataComponent(Object object) Check if the object is of typeSweAbstractDataComponentabstract GetDataAvailabilityRequestparseGetDataAvailability(org.apache.xmlbeans.XmlObject xml) protected StringparseStringValue(org.apache.xmlbeans.XmlObject xmlObject) Methods inherited from class org.n52.svalbard.decode.AbstractSwesDecoderv20
checkFormatWithNamespace, getNodeFromNodeList, parseExtensibleRequest, parseExtensibleRequestExtensionMethods inherited from class org.n52.svalbard.decode.AbstractXmlDecoder
decodeXmlElement, decodeXmlObject, decodeXmlObject, getDecoderKey, getXmlOptions, setXmlOptionsMethods inherited from class org.n52.svalbard.decode.AbstractDelegatingDecoder
getDecoder, getDecoderRepository, setDecoderRepositoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.svalbard.decode.Decoder
getSupportedTypes
-
Constructor Details
-
AbstractGetDataAvailabilityXmlDecoder
public AbstractGetDataAvailabilityXmlDecoder()
-
-
Method Details
-
parseGetDataAvailability
public abstract GetDataAvailabilityRequest parseGetDataAvailability(org.apache.xmlbeans.XmlObject xml) throws DecodingException - Throws:
DecodingException
-
getBasePath
-
decode
public GetDataAvailabilityRequest decode(org.apache.xmlbeans.XmlObject objectToDecode) throws DecodingException - Throws:
DecodingException
-
parseStringValue
-
isSweAbstractDataComponent
Check if the object is of typeSweAbstractDataComponent- Parameters:
object- Object to check- Returns:
true, if the object is of typeSweAbstractDataComponent
-
getPath
Create path from values- Parameters:
xpathPrefix- XPath prefixprefix- Namespace prefixelement- Element name- Returns:
- XPath path
-