|
||||||||||
| 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 KVP-encoded WFS requests.
| Constructor Summary | |
|---|---|
AbstractWFSRequestKVPAdapter()
|
|
| Method Summary | |
|---|---|
protected static void |
appendFirstKVP(StringBuffer sb,
String key,
String value)
|
protected static void |
appendKVP(StringBuffer sb,
String key,
String value)
|
protected static Map<String,String> |
extractNamespaceBindings110(Map<String,String> kvpUC)
Extracts the namespace bindings from a WFS 1.1.0 NAMESPACE parameter. |
protected static Map<String,String> |
extractNamespaceBindings200(String param)
Extracts the namespace bindings from a WFS 2.0.0 NAMESPACE parameter. |
protected static QName[] |
extractTypeNames(Map<String,String> kvpUC,
Map<String,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 QName[] extractTypeNames(Map<String,String> kvpUC,
Map<String,String> nsBindings)
throws InvalidParameterValueException
TYPENAME parameter.
kvpUC - the parameters of the request, normalizednsBindings - namespace bindings, may be null
null if no TYPENAME parameter is present
InvalidParameterValueException - if the value of the TYPENAME attribute contains a syntactical error or uses unbound
prefices
protected static Map<String,String> extractNamespaceBindings110(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
protected static Map<String,String> extractNamespaceBindings200(String param)
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)
param - the parameters of the request, normalized
null if no NAMESPACE parameter present
InvalidParameterValueException - if the value of the NAMESPACE attribute contains a syntactical error
protected static void appendFirstKVP(StringBuffer sb,
String key,
String value)
protected static void appendKVP(StringBuffer sb,
String key,
String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||