Package org.n52.svalbard.decode
Class AbstractSwesDecoderv20<S>
java.lang.Object
org.n52.svalbard.decode.AbstractDelegatingDecoder<S,org.apache.xmlbeans.XmlObject>
org.n52.svalbard.decode.AbstractXmlDecoder<org.apache.xmlbeans.XmlObject,S>
org.n52.svalbard.decode.AbstractSwesDecoderv20<S>
- All Implemented Interfaces:
Component<DecoderKey>,Keyed<DecoderKey>,Decoder<S,org.apache.xmlbeans.XmlObject>
- Direct Known Subclasses:
AbstractGetDataAvailabilityXmlDecoder,DescribeSensorResponseSwesDocumentDecoder,SosDecoderv20,SwesDecoderv20
public abstract class AbstractSwesDecoderv20<S>
extends AbstractXmlDecoder<org.apache.xmlbeans.XmlObject,S>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckFormatWithNamespace(String procedureDescriptionFormat, String namespace) Check if the namespace of the procedure description element is equal to the procedure description format of the request.protected NodegetNodeFromNodeList(NodeList nodeList) protected ExtensionsparseExtensibleRequest(net.opengis.swes.x20.ExtensibleRequestType extensibleRequestType) protected ExtensionsparseExtensibleRequestExtension(org.apache.xmlbeans.XmlObject[] extensionArray) Methods 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
decode, getSupportedTypes
-
Constructor Details
-
AbstractSwesDecoderv20
public AbstractSwesDecoderv20()
-
-
Method Details
-
parseExtensibleRequest
protected Extensions parseExtensibleRequest(net.opengis.swes.x20.ExtensibleRequestType extensibleRequestType) throws DecodingException - Throws:
DecodingException
-
parseExtensibleRequestExtension
protected Extensions parseExtensibleRequestExtension(org.apache.xmlbeans.XmlObject[] extensionArray) throws DecodingException - Throws:
DecodingException
-
checkFormatWithNamespace
protected void checkFormatWithNamespace(String procedureDescriptionFormat, String namespace) throws DecodingException Check if the namespace of the procedure description element is equal to the procedure description format of the request.- Parameters:
procedureDescriptionFormat- the procedure description format of the requestnamespace- the namespace of the procedure description element- Throws:
DecodingException- If theprocedureDescriptionFormatandnamespaceare not equal
-
getNodeFromNodeList
-