|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.commons.xml.XMLAdapter org.deegree.services.wcs.WCSRequest100XMLAdapter
public class WCSRequest100XMLAdapter
Base class for all WCS 1.0.0 XMLAdapter. Defines the WCS XML namespace.
Field Summary | |
---|---|
protected static String |
WCS_PREFIX
Prefix which is bound to the wcs_100 namespace |
protected static NamespaceBindings |
wcsNSContext
namespace context with wcs ns |
Fields inherited from class org.deegree.commons.xml.XMLAdapter |
---|
DEFAULT_URL, nsContext, rootElement, XLN_NS |
Constructor Summary | |
---|---|
WCSRequest100XMLAdapter()
|
Method Summary | |
---|---|
protected void |
checkRequiredElement(String nodeName,
org.apache.axiom.om.OMElement requiredElem)
Check that the requiredElem is not null , throws OWSException otherwise. |
protected void |
checkRequiredString(String nodeName,
String requiredValue)
Check that the value is not null , throws OWSException otherwise. |
protected Version |
checkVersion(org.apache.axiom.om.OMElement root)
Checks that the given element contains a version attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String WCS_PREFIX
protected static final NamespaceBindings wcsNSContext
Constructor Detail |
---|
public WCSRequest100XMLAdapter()
Method Detail |
---|
protected void checkRequiredString(String nodeName, String requiredValue) throws OWSException
null
, throws OWSException otherwise.
nodeName
- the name of the required node, used in the exceptionrequiredValue
- the value to check
OWSException
- if requiredValue is null
protected void checkRequiredElement(String nodeName, org.apache.axiom.om.OMElement requiredElem) throws OWSException
null
, throws OWSException otherwise.
nodeName
- the name of the required node, used in the exceptionrequiredElem
- the element to check
OWSException
- if requiredElement is null
protected Version checkVersion(org.apache.axiom.om.OMElement root) throws OWSException
root
-
WCSConstants.VERSION_100
if it was valid.
OWSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |