Java Doc for ParameterGroup.java in  » GIS » GeoTools-2.4.1 » org » geotools » parameter » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.parameter 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.parameter.AbstractParameter
   org.geotools.parameter.ParameterGroup

All known Subclasses:   org.geotools.parameter.MatrixParameters,
ParameterGroup
public class ParameterGroup extends AbstractParameter implements ParameterValueGroup(Code)
A group of related parameter values. The same group can be repeated more than once in an or higher level ParameterValueGroup , if those instances contain different values of one or more ParameterValue s which suitably distinquish among those groups.
since:
   2.1
version:
   $Id: ParameterGroup.java 25262 2007-04-23 21:11:16Z desruisseaux $
author:
   Martin Desruisseaux
author:
   Jody Garnett (Refractions Research)
See Also:   DefaultParameterDescriptorGroup
See Also:   Parameter


Field Summary
public static  ParameterValueGroupEMPTY
     An empty parameter value group.

Constructor Summary
public  ParameterGroup(ParameterDescriptorGroup descriptor)
     Constructs a parameter group from the specified descriptor.
public  ParameterGroup(ParameterDescriptorGroup descriptor, GeneralParameterValue[] values)
     Constructs a parameter group from the specified descriptor and list of parameters.
public  ParameterGroup(Map properties, GeneralParameterValue[] values)
     Constructs a parameter group from the specified list of parameters.

Method Summary
public  ParameterValueGroupaddGroup(String name)
     Creates a new group of the specified name.
public  Objectclone()
     Returns a deep copy of this group of parameter values.
public  booleanequals(Object object)
     Compares the specified object with this parameter for equality.
Parameters:
  object - The object to compare to this .
public  Listgroups(String name)
     Returns all subgroups with the specified name.
public  inthashCode()
     Returns a hash value for this parameter. The hash code value.
final  GeneralParameterValueparameter(int index)
     Returns the parameter value at the specified index.
Parameters:
  index - The zero-based index.
public  ParameterValueparameter(String name)
     Returns the value in this group for the specified . If no is found but a is found (which may occurs if the parameter is optional, i.e. == 0), then a is automatically created and initialized to its (if any).

This convenience method provides a way to get and set parameter values by name.

public  Listvalues()
     Returns the values in this group.

Field Detail
EMPTY
public static ParameterValueGroup EMPTY(Code)
An empty parameter value group. This group contains no parameter value.




Constructor Detail
ParameterGroup
public ParameterGroup(ParameterDescriptorGroup descriptor)(Code)
Constructs a parameter group from the specified descriptor. All will be initialized to their default value.
Parameters:
  descriptor - The descriptor for this group.



ParameterGroup
public ParameterGroup(ParameterDescriptorGroup descriptor, GeneralParameterValue[] values)(Code)
Constructs a parameter group from the specified descriptor and list of parameters.
Parameters:
  descriptor - The descriptor for this group.
Parameters:
  values - The list of parameter values.
throws:
  IllegalStateException - if the number of occurences doesn't matches the number declared in the.



ParameterGroup
public ParameterGroup(Map properties, GeneralParameterValue[] values)(Code)
Constructs a parameter group from the specified list of parameters.
Parameters:
  properties - The properties for theto construct from the list of parameters.
Parameters:
  values - The list of parameter values.
throws:
  IllegalStateException - if the number of occurences doesn't matches the number declared in the.




Method Detail
addGroup
public ParameterValueGroup addGroup(String name) throws ParameterNotFoundException, InvalidParameterCardinalityException(Code)
Creates a new group of the specified name. The specified name must be the of a .
Parameters:
  name - The case insensitive of theparameter group to create. A newly created parameter group for the given identifier code.
throws:
  ParameterNotFoundException - if no was found for the given name.
throws:
  InvalidParameterCardinalityException - if this parameter group already contains theof subgroups of the given name.



clone
public Object clone()(Code)
Returns a deep copy of this group of parameter values. Included parameter values and subgroups are cloned recursively. A copy of this group of parameter values.



equals
public boolean equals(Object object)(Code)
Compares the specified object with this parameter for equality.
Parameters:
  object - The object to compare to this . true if both objects are equal.



groups
public List groups(String name) throws ParameterNotFoundException(Code)
Returns all subgroups with the specified name. This method do not create new groups. If the requested group is optional (i.e. == 0) and no value were set, then this method returns an empty set.
Parameters:
  name - The case insensitive of the parameter group to search for. The set of all parameter group for the given identifier code.
throws:
  ParameterNotFoundException - if no was found for the given name.



hashCode
public int hashCode()(Code)
Returns a hash value for this parameter. The hash code value. This value doesn't need to be the samein past or future versions of this class.



parameter
final GeneralParameterValue parameter(int index) throws IndexOutOfBoundsException(Code)
Returns the parameter value at the specified index.
Parameters:
  index - The zero-based index. The parameter value at the specified index.
throws:
  IndexOutOfBoundsException - if the specified index is out of bounds.



parameter
public ParameterValue parameter(String name) throws ParameterNotFoundException(Code)
Returns the value in this group for the specified . If no is found but a is found (which may occurs if the parameter is optional, i.e. == 0), then a is automatically created and initialized to its (if any).

This convenience method provides a way to get and set parameter values by name. For example the following idiom fetches a floating point value for the "false_easting" parameter:

double value = parameter("false_easting"). ;

This method do not search recursively in subgroups. This is because more than one subgroup may exist for the same . The user must and select explicitly the appropriate one to use.


Parameters:
  name - The case insensitive of theparameter to search for. The parameter value for the given identifier code.
throws:
  ParameterNotFoundException - if there is no parameter value for the given identifiercode.



values
public List values()(Code)
Returns the values in this group. Changes in this list are reflected on this ParameterValueGroup . The returned list supports the List.add(Object) add operation.



Fields inherited from org.geotools.parameter.AbstractParameter
final GeneralParameterDescriptor descriptor(Code)(Java Doc)

Methods inherited from org.geotools.parameter.AbstractParameter
public Object clone()(Code)(Java Doc)
static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc)
static void ensureNonNull(String name, Object[] array, int index) throws IllegalArgumentException(Code)(Java Doc)
static void ensureValidClass(Class valueClass, Object value) throws IllegalArgumentException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
final protected String formatWKT(Formatter formatter)(Code)(Java Doc)
public GeneralParameterDescriptor getDescriptor()(Code)(Java Doc)
static String getName(GeneralParameterDescriptor descriptor)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public String toString()(Code)(Java Doc)
static IllegalStateException unitlessParameter(GeneralParameterDescriptor descriptor)(Code)(Java Doc)
protected void write(TableWriter table) throws IOException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.