|
||||||||||
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 Map<String,String> |
extractNamespaceBindings(Map<String,String> kvpUC)
Extracts the namespace bindings from the NAMESPACE parameter. |
protected static QName[] |
extractTypeNames(Map<String,String> kvpParam,
Map<String,String> nsBindings)
Extracts the qualified type names from the TYPENAME parameter. |
protected static QName |
qualifyName(String name,
Map<String,String> nsBindings)
Transforms a (possibly prefixed) type name into a qualified name using the given namespace bindings. |
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 QName[] extractTypeNames(Map<String,String> kvpParam, Map<String,String> nsBindings) throws InvalidParameterValueException
TYPENAME
parameter.
kvpParam
- the parameters of the request, normalizednsBindings
- namespace bindings, may be null
TYPENAME
parameter is present
InvalidParameterValueException
- if the value of the TYPENAME
attribute contains a syntactical error or uses unbound
preficesprotected static QName qualifyName(String name, Map<String,String> nsBindings)
name
- possibly prefixed type namensBindings
- namespace bindings, may be null
protected static Map<String,String> extractNamespaceBindings(Map<String,String> kvpUC) throws 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
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 |