|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.csw.AbstractCSWKVPAdapter
public abstract class AbstractCSWKVPAdapter
abstract class for parsing a CSW kvp request it provides utilities
Constructor Summary | |
---|---|
AbstractCSWKVPAdapter()
|
Method Summary | |
---|---|
protected static java.util.Map<java.lang.String,java.lang.String> |
extractNamespaceBindings(java.util.Map<java.lang.String,java.lang.String> kvpUC)
Extracts the namespace bindings from the NAMESPACE parameter. |
protected static javax.xml.namespace.QName[] |
extractTypeNames(java.util.Map<java.lang.String,java.lang.String> kvpParam,
java.util.Map<java.lang.String,java.lang.String> nsBindings)
Extracts the qualified type names from the TYPENAME parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCSWKVPAdapter()
Method Detail |
---|
protected static javax.xml.namespace.QName[] extractTypeNames(java.util.Map<java.lang.String,java.lang.String> kvpParam, java.util.Map<java.lang.String,java.lang.String> nsBindings) throws org.deegree.commons.utils.kvp.InvalidParameterValueException
TYPENAME
parameter.
kvpParam
- the parameters of the request, normalizednsBindings
- namespace bindings, may be null
TYPENAME
parameter is present
org.deegree.commons.utils.kvp.InvalidParameterValueException
- if the value of the TYPENAME
attribute contains a syntactical error or uses unbound
preficesprotected static java.util.Map<java.lang.String,java.lang.String> extractNamespaceBindings(java.util.Map<java.lang.String,java.lang.String> kvpUC) throws org.deegree.commons.utils.kvp.InvalidParameterValueException
NAMESPACE
parameter.
Example:
NAMESPACE=xmlns(myns=http://www.someserver.com),xmlns(yourns=http://www.someotherserver.com)
The default namespace may also be bound (two variants are supported):
NAMESPACE=xmlns(=http://www.someserver.com)
NAMESPACE=xmlns(http://www.someserver.com)
kvpUC
- the parameters of the request, normalized
NAMESPACE
parameter is present
org.deegree.commons.utils.kvp.InvalidParameterValueException
- if the value of the NAMESPACE attribute contains a syntactical error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |