Java Doc for ImagingParameterDescriptors.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.referencing.AbstractIdentifiedObject
   org.geotools.parameter.AbstractParameterDescriptor
      org.geotools.parameter.DefaultParameterDescriptorGroup
         org.geotools.parameter.ImagingParameterDescriptors

ImagingParameterDescriptors
public class ImagingParameterDescriptors extends DefaultParameterDescriptorGroup (Code)
Wraps a JAI's ParameterListDescriptor . This adaptor is provided for interoperability with Java Advanced Imaging. A JAI parameter list descriptor is part of an . This adaptor make it easier to access parameters for a JAI operation through the general GeoAPI parameters framework.
since:
   2.2
version:
   $Id: ImagingParameterDescriptors.java 27629 2007-10-26 09:59:20Z desruisseaux $
author:
   Martin Desruisseaux


Field Summary
final public static  MapDEFAULT_SOURCE_TYPE_MAP
     The default source type map as a ( .class, .class) key-value pair.
final protected  ParameterListDescriptordescriptor
     The Java Advanced Imaging parameter descriptor.
final protected  RegistryElementDescriptoroperation
     The JAI's operation descriptor, or null if none.
final protected  StringregistryMode
     The registry mode, usually .

Constructor Summary
public  ImagingParameterDescriptors(RegistryElementDescriptor operation)
     Constructs a parameter descriptor wrapping the specified JAI operation, including sources.
public  ImagingParameterDescriptors(RegistryElementDescriptor operation, Collection extension)
     Constructs a parameter descriptor wrapping the specified JAI operation, including sources.
public  ImagingParameterDescriptors(Map properties, RegistryElementDescriptor operation, Map sourceTypeMap, String registryMode)
     Constructs a parameter descriptor wrapping the specified JAI operation, including sources. The properties map is given unchanged to the .
Parameters:
  properties - Set of properties.
public  ImagingParameterDescriptors(Map properties, RegistryElementDescriptor operation, String registryMode, Map sourceTypeMap, Collection extension)
     Constructs a parameter descriptor wrapping the specified JAI operation, including sources. The properties map is given unchanged to the .
Parameters:
  properties - Set of properties.
public  ImagingParameterDescriptors(Map properties, ParameterListDescriptor descriptor)
     Constructs a parameter descriptor wrapping the specified JAI parameter list descriptor. The properties map is given unchanged to the .
Parameters:
  properties - Set of properties.

Method Summary
public  GeneralParameterValuecreateValue()
     Creates a new instance of parameter value group.
public  booleanequals(AbstractIdentifiedObject object, boolean compareMetadata)
     Compares the specified object with this parameter group for equality.
Parameters:
  object - The object to compare to this .
Parameters:
  compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations.
public  inthashCode()
     Returns a hash value for this parameter.
public static  Mapproperties(RegistryElementDescriptor operation)
     Infers from the specified JAI operation a set of properties that can be given to the .

Field Detail
DEFAULT_SOURCE_TYPE_MAP
final public static Map DEFAULT_SOURCE_TYPE_MAP(Code)
The default source type map as a ( .class, .class) key-value pair. This is the default argument for wrapping a JAI operation in the registry mode.



descriptor
final protected ParameterListDescriptor descriptor(Code)
The Java Advanced Imaging parameter descriptor. If ImagingParameterDescriptors.operation is non-null, then this attribute is defined by RegistryElementDescriptor.getParameterListDescriptor .



operation
final protected RegistryElementDescriptor operation(Code)
The JAI's operation descriptor, or null if none. This is usually an instance of OperationDescriptor , but this is not strictly required.



registryMode
final protected String registryMode(Code)
The registry mode, usually . This field is null if ImagingParameterDescriptors.operation is null.




Constructor Detail
ImagingParameterDescriptors
public ImagingParameterDescriptors(RegistryElementDescriptor operation)(Code)
Constructs a parameter descriptor wrapping the specified JAI operation, including sources. The will be inferred from the using the ImagingParameterDescriptors.properties properties method. The source type map default to a ( .class, .class) key-value pair and the registry mode default to .
Parameters:
  operation - The JAI's operation descriptor, usually as an instance ofOperationDescriptor.



ImagingParameterDescriptors
public ImagingParameterDescriptors(RegistryElementDescriptor operation, Collection extension)(Code)
Constructs a parameter descriptor wrapping the specified JAI operation, including sources. The will be inferred from the using the ImagingParameterDescriptors.properties properties method. The source type map default to a ( .class, .class) key-value pair and the registry mode default to .
Parameters:
  operation - The JAI's operation descriptor, usually as an instance ofOperationDescriptor.
Parameters:
  extension - Additional parameters to put in this descriptor, or null if none.If a parameter has the same name than an operation parameter, then theextension overrides the later.
since:
   2.4



ImagingParameterDescriptors
public ImagingParameterDescriptors(Map properties, RegistryElementDescriptor operation, Map sourceTypeMap, String registryMode)(Code)
Constructs a parameter descriptor wrapping the specified JAI operation, including sources. The properties map is given unchanged to the .
Parameters:
  properties - Set of properties. Should contains at least "name" .
Parameters:
  operation - The JAI's operation descriptor, usually as an instance ofOperationDescriptor.
Parameters:
  sourceTypeMap - Mapping from JAI source type to this group source type. Typically asingleton with the (.class,.class) key-value pair.
Parameters:
  registryMode - The JAI's registry mode (usually). #ImagingParameterDescriptors(Map, * RegistryElementDescriptor,String,Map,Collection}



ImagingParameterDescriptors
public ImagingParameterDescriptors(Map properties, RegistryElementDescriptor operation, String registryMode, Map sourceTypeMap, Collection extension)(Code)
Constructs a parameter descriptor wrapping the specified JAI operation, including sources. The properties map is given unchanged to the .
Parameters:
  properties - Set of properties. Should contains at least "name" .
Parameters:
  operation - The JAI's operation descriptor, usually as an instance ofOperationDescriptor.
Parameters:
  registryMode - The JAI's registry mode (usually).
Parameters:
  sourceTypeMap - Mapping from JAI source type to this group source type. Typically asingleton with the (.class,.class) key-value pair.
Parameters:
  extension - Additional parameters to put in this descriptor, or null if none.If a parameter has the same name than an operation parameter, then theextension overrides the later.
since:
   2.4



ImagingParameterDescriptors
public ImagingParameterDescriptors(Map properties, ParameterListDescriptor descriptor)(Code)
Constructs a parameter descriptor wrapping the specified JAI parameter list descriptor. The properties map is given unchanged to the .
Parameters:
  properties - Set of properties. Should contains at least "name" .
Parameters:
  descriptor - The JAI descriptor.




Method Detail
createValue
public GeneralParameterValue createValue()(Code)
Creates a new instance of parameter value group. A JAI javax.media.jai.ParameterList is created for holding parameter values, and wrapped into an ImagingParameters instance.



equals
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)
Compares the specified object with this parameter group for equality.
Parameters:
  object - The object to compare to this .
Parameters:
  compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations. true if both objects are equal.



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



properties
public static Map properties(RegistryElementDescriptor operation)(Code)
Infers from the specified JAI operation a set of properties that can be given to the . The returned map includes values (when available) for the following keys:

Key Inferred from
ImagingParameterDescriptors.NAME_KEY NAME_KEY
ImagingParameterDescriptors.ALIAS_KEY ALIAS_KEY "Vendor" (for the ) and "LocalName"
Identifier.AUTHORITY_KEY AUTHORITY_KEY or inferred from the vendor, extented with "DocURL" as .
ReferenceIdentifier.VERSION_KEY VERSION_KEY "Version"
ImagingParameterDescriptors.REMARKS_KEY REMARKS_KEY "Description"

For JAI image operation (for example "Add" , the end result is fully-qualified name like "JAI:Add" and one alias like "com.sun.media.jai.Add" .

This method returns a modifiable map. Users can safely changes its content in order to select for example a different name.




Methods inherited from org.geotools.parameter.DefaultParameterDescriptorGroup
public GeneralParameterValue createValue()(Code)(Java Doc)
public GeneralParameterDescriptor descriptor(String name) throws ParameterNotFoundException(Code)(Java Doc)
public List descriptors()(Code)(Java Doc)
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc)
public int getMaximumOccurs()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)

Methods inherited from org.geotools.parameter.AbstractParameterDescriptor
abstract public GeneralParameterValue createValue()(Code)(Java Doc)
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc)
protected String formatWKT(Formatter formatter)(Code)(Java Doc)
abstract public int getMaximumOccurs()(Code)(Java Doc)
public int getMinimumOccurs()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)

Fields inherited from org.geotools.referencing.AbstractIdentifiedObject
final public static GenericName[] EMPTY_ALIAS_ARRAY(Code)(Java Doc)
final public static ReferenceIdentifier[] EMPTY_IDENTIFIER_ARRAY(Code)(Java Doc)
final public static Comparator IDENTIFIER_COMPARATOR(Code)(Java Doc)
final public static Comparator NAME_COMPARATOR(Code)(Java Doc)
final public static Comparator REMARKS_COMPARATOR(Code)(Java Doc)

Methods inherited from org.geotools.referencing.AbstractIdentifiedObject
protected static Set asSet(Object[] array)(Code)(Java Doc)
protected static void ensureAngularUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc)
protected static void ensureLinearUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc)
protected static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc)
protected static void ensureNonNull(String name, Object[] array, int index) throws IllegalArgumentException(Code)(Java Doc)
protected static void ensureTimeUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc)
final public boolean equals(Object object)(Code)(Java Doc)
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc)
protected static boolean equals(IdentifiedObject object1, IdentifiedObject object2, boolean compareMetadata)(Code)(Java Doc)
protected static boolean equals(IdentifiedObject[] array1, IdentifiedObject[] array2, boolean compareMetadata)(Code)(Java Doc)
protected static boolean equals(Collection collection1, Collection collection2, boolean compareMetadata)(Code)(Java Doc)
public Collection getAlias()(Code)(Java Doc)
public ReferenceIdentifier getIdentifier(Citation authority)(Code)(Java Doc)
public static ReferenceIdentifier getIdentifier(IdentifiedObject info, Citation authority)(Code)(Java Doc)
public Set getIdentifiers()(Code)(Java Doc)
public ReferenceIdentifier getName()(Code)(Java Doc)
public String getName(Citation authority)(Code)(Java Doc)
public static String getName(IdentifiedObject info, Citation authority)(Code)(Java Doc)
public static Map getProperties(IdentifiedObject info)(Code)(Java Doc)
public static Map getProperties(IdentifiedObject info, Citation authority)(Code)(Java Doc)
public InternationalString getRemarks()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean nameMatches(String name)(Code)(Java Doc)
public static boolean nameMatches(IdentifiedObject object, String name)(Code)(Java Doc)
public static boolean nameMatches(IdentifiedObject o1, IdentifiedObject o2)(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.