|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.protocol.wfs.AbstractWFSRequestKVPAdapter
public abstract class AbstractWFSRequestKVPAdapter
Provides utility methods for parsing common constructs found in WFS KVP requests.
Constructor Summary | |
---|---|
AbstractWFSRequestKVPAdapter()
|
Method Summary | |
---|---|
protected static void |
appendFirstKVP(java.lang.StringBuffer sb,
java.lang.String key,
java.lang.String value)
|
protected static void |
appendKVP(java.lang.StringBuffer sb,
java.lang.String key,
java.lang.String value)
|
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> kvpUC,
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 AbstractWFSRequestKVPAdapter()
Method Detail |
---|
protected static javax.xml.namespace.QName[] extractTypeNames(java.util.Map<java.lang.String,java.lang.String> kvpUC, java.util.Map<java.lang.String,java.lang.String> nsBindings) throws InvalidParameterValueException
TYPENAME
parameter.
kvpUC
- 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 java.util.Map<java.lang.String,java.lang.String> extractNamespaceBindings(java.util.Map<java.lang.String,java.lang.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 errorprotected static void appendFirstKVP(java.lang.StringBuffer sb, java.lang.String key, java.lang.String value)
protected static void appendKVP(java.lang.StringBuffer sb, java.lang.String key, java.lang.String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |