| java.lang.Object org.geoserver.ows.KvpParser org.geoserver.ows.FlatKvpParser
All known Subclasses: org.geoserver.wfs.kvp.QNameKvpParser, org.geoserver.wfs.kvp.SrsNameKvpParser,
Constructor Summary | |
public | FlatKvpParser(String key, Class binding) Constructs the flat kvp parser specifying the key and class binding. | public | FlatKvpParser(String key, Class binding, String delimiter) Constructs the flat kvp parser specifying the key, class binding, and
token delimiter. |
delimiter | final String delimiter(Code) | | the delimiter to use to seperate tokens
|
FlatKvpParser | public FlatKvpParser(String key, Class binding)(Code) | | Constructs the flat kvp parser specifying the key and class binding.
Parameters: key - The key to bind to. Parameters: binding - The class of each token in the value. |
FlatKvpParser | public FlatKvpParser(String key, Class binding, String delimiter)(Code) | | Constructs the flat kvp parser specifying the key, class binding, and
token delimiter.
Parameters: key - The key to bind to. Parameters: binding - The class of each token in the value. Parameters: delimiter - The delimiter used to seperate tokens |
parse | protected Object parse(List values) throws Exception(Code) | | Parses the parsed tokens into a final representation.
Subclasses may choose to override this method. The default implementation
just return the array passed in.
Parameters: values - The parsed tokens, each value is an instance of FlatKvpParser.getBinding(). The final object. |
parseToken | protected Object parseToken(String token) throws Exception(Code) | | Parses the token into an instance of
FlatKvpParser.getBinding() .
Subclasses should override this method, the default implementation
just returns token passed in.
Parameters: token - Part of the value being parsed. The token parsed into an object. |
|
|