org.geotools.wfs.bindings
Class WFSBindingUtils

Object
  extended by WFSBindingUtils

public class WFSBindingUtils
extends Object

Utility class to be used by bindings.

Author:
Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org

Constructor Summary
WFSBindingUtils()
           
 
Method Summary
static BigInteger asBigInteger(Number number)
           
static void outputFormat(EObject object, Node node, String defalt)
          Sets the outputFormat feature of the object passed in.
static void service(EObject object, Node node)
          Sets the service feature of the object passed in.
static void version(EObject object, Node node)
          Sets the version feature of the object passed in.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WFSBindingUtils

public WFSBindingUtils()
Method Detail

service

public static void service(EObject object,
                           Node node)
Sets the service feature of the object passed in.

The service value is retreived as an attribute from the node, if null, the default "WFS" is used.

Parameters:
object - An object which contains a feature named "service"
node - The parse node.

version

public static void version(EObject object,
                           Node node)
Sets the version feature of the object passed in.

The version value is retreived as an attribute from the node, if null, the default "1.0.0" is used.

Parameters:
object - An object which contains a feature named "version"
node - The parse node.

outputFormat

public static void outputFormat(EObject object,
                                Node node,
                                String defalt)
Sets the outputFormat feature of the object passed in.

The outputFormat value is retreived as an attribute from the node, if null, the default default is used.

Parameters:
object - An object which contains a feature named "version"
node - The parse node.

asBigInteger

public static BigInteger asBigInteger(Number number)
Parameters:
value - A number
Returns:
The number as a BigInteger.


Copyright © 1996-2014 Geotools. All Rights Reserved.