Java Doc for AuthorityFactoryAdapter.java in  » GIS » GeoTools-2.4.1 » org » geotools » referencing » factory » 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.referencing.factory 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.geotools.factory.AbstractFactory
      org.geotools.referencing.factory.ReferencingFactory
         org.geotools.referencing.factory.AbstractAuthorityFactory
            org.geotools.referencing.factory.AuthorityFactoryAdapter

All known Subclasses:   org.geotools.referencing.factory.URN_AuthorityFactory,  org.geotools.referencing.factory.ManyAuthoritiesFactory,  org.geotools.referencing.factory.HTTP_AuthorityFactory,  org.geotools.referencing.factory.TransformedAuthorityFactory,  org.geotools.referencing.factory.FallbackAuthorityFactory,
AuthorityFactoryAdapter
public class AuthorityFactoryAdapter extends AbstractAuthorityFactory implements OptionalFactory(Code)
An authority factory which delegates , or objects creation to some other factory implementations.

All constructors are protected because this class must be subclassed in order to determine which of the DatumAuthorityFactory , CSAuthorityFactory and CRSAuthorityFactory interfaces to implement.
since:
   2.2
version:
   $Id: AuthorityFactoryAdapter.java 26212 2007-07-12 02:34:18Z jgarnett $
author:
   Martin Desruisseaux


Inner Class :class Finder extends IdentifiedObjectFinder.Adapter

Field Summary
final protected  CRSAuthorityFactorycrsFactory
     The underlying authority factory, or null if none.
final protected  CSAuthorityFactorycsFactory
     The underlying authority factory, or null if none.
final protected  DatumAuthorityFactorydatumFactory
     The underlying authority factory, or null if none.
final protected  CoordinateOperationAuthorityFactoryoperationFactory
     The underlying authority factory, or null if none.

Constructor Summary
 AuthorityFactoryAdapter(int priority)
     Creates a wrapper around no factory.
protected  AuthorityFactoryAdapter(AuthorityFactory factory)
     Creates a wrapper around the specified factory.
 AuthorityFactoryAdapter(AuthorityFactory factory, AuthorityFactory fallback)
     For FallbackAuthorityFactory constructor only.
protected  AuthorityFactoryAdapter(CRSAuthorityFactory crsFactory, CSAuthorityFactory csFactory, DatumAuthorityFactory datumFactory, CoordinateOperationAuthorityFactory opFactory)
     Creates a wrapper around the specified factories.
protected  AuthorityFactoryAdapter(String authority, Hints userHints)
     Creates a wrappers around the default factories for the specified authority. The factories are fetched using ReferencingFactoryFinder .
Parameters:
  authority - The authority to wraps (example: "EPSG" ).

Method Summary
public  CartesianCScreateCartesianCS(String code)
     Creates a cartesian coordinate system from a code.
public  CompoundCRScreateCompoundCRS(String code)
     Creates a 3D coordinate reference system from a code.
public  CoordinateOperationcreateCoordinateOperation(String code)
     Creates an operation from a single operation code.
public  CoordinateReferenceSystemcreateCoordinateReferenceSystem(String code)
     Returns an arbitrary from a code.
public  CoordinateSystemcreateCoordinateSystem(String code)
     Returns an arbitrary from a code.
public  CoordinateSystemAxiscreateCoordinateSystemAxis(String code)
     Returns a from a code.
public  CylindricalCScreateCylindricalCS(String code)
     Creates a cylindrical coordinate system from a code.
public  DatumcreateDatum(String code)
     Returns an arbitrary from a code.
public  DerivedCRScreateDerivedCRS(String code)
     Creates a derived coordinate reference system from a code.
public  EllipsoidcreateEllipsoid(String code)
     Returns an from a code.
public  EllipsoidalCScreateEllipsoidalCS(String code)
     Creates an ellipsoidal coordinate system from a code.
public  EngineeringCRScreateEngineeringCRS(String code)
     Creates a from a code.
public  EngineeringDatumcreateEngineeringDatum(String code)
     Creates a from a code.
public  ExtentcreateExtent(String code)
     Returns a (usually an area of validity) from a code.
public  SetcreateFromCoordinateReferenceSystemCodes(String sourceCode, String targetCode)
     Creates an operation from coordinate reference system codes.
public  GeocentricCRScreateGeocentricCRS(String code)
     Returns a from a code.
public  GeodeticDatumcreateGeodeticDatum(String code)
     Returns a from a code.
public  GeographicCRScreateGeographicCRS(String code)
     Returns a from a code.
public  ImageCRScreateImageCRS(String code)
     Creates a from a code.
public  ImageDatumcreateImageDatum(String code)
     Creates a from a code.
public  IdentifiedObjectcreateObject(String code)
     Returns an arbitrary object from a code.
public  OperationMethodcreateOperationMethod(String code)
     Creates an operation method from a code.
public  ParameterDescriptorcreateParameterDescriptor(String code)
     Creates a parameter descriptor from a code.
public  PolarCScreatePolarCS(String code)
     Creates a polar coordinate system from a code.
public  PrimeMeridiancreatePrimeMeridian(String code)
     Returns a from a code.
public  ProjectedCRScreateProjectedCRS(String code)
     Returns a from a code.
public  SphericalCScreateSphericalCS(String code)
     Creates a spherical coordinate system from a code.
public  TemporalCRScreateTemporalCRS(String code)
     Creates a from a code.
public  TemporalDatumcreateTemporalDatum(String code)
     Creates a from a code.
public  TimeCScreateTimeCS(String code)
     Creates a temporal coordinate system from a code.
public  UnitcreateUnit(String code)
     Returns an from a code.
public  VerticalCRScreateVerticalCRS(String code)
     Creates a from a code.
public  VerticalCScreateVerticalCS(String code)
     Creates a vertical coordinate system from a code.
public  VerticalDatumcreateVerticalDatum(String code)
     Creates a from a code.
 Collectiondependencies()
     Returns the direct dependencies.
public  CitationgetAuthority()
     Returns the organization or party responsible for definition and maintenance of the database.
public  SetgetAuthorityCodes(Class type)
     Returns the set of authority code for the specified type.
 AuthorityFactorygetAuthorityFactory(Class type, String code)
     Returns an authority factory of the specified type.
protected  AuthorityFactorygetAuthorityFactory(String code)
     Returns a generic object factory to use for the specified code.
public  StringgetBackingStoreDescription()
     Returns a description of the underlying backing store, or null if unknow.
protected  CRSAuthorityFactorygetCRSAuthorityFactory(String code)
     Returns the coordinate reference system factory to use for the specified code.
protected  CSAuthorityFactorygetCSAuthorityFactory(String code)
     Returns the coordinate system factory to use for the specified code.
protected  CoordinateOperationAuthorityFactorygetCoordinateOperationAuthorityFactory(String code)
     Returns the coordinate operation factory to use for the specified code.
final  CoordinateOperationFactorygetCoordinateOperationFactory()
     Returns a coordinate operation factory for this adapter.
protected  DatumAuthorityFactorygetDatumAuthorityFactory(String code)
     Returns the datum factory to use for the specified code.
public  InternationalStringgetDescriptionText(String code)
     Returns a description for the object identified by the specified code.
final  ReferencingFactoryContainergetFactoryContainer(boolean crs)
     Suggests a low-level factory group.
public  IdentifiedObjectFindergetIdentifiedObjectFinder(Class type)
     Returns a finder which can be used for looking up unidentified objects.
public  CitationgetVendor()
     Returns the vendor responsible for creating this factory implementation.
public  booleanisAvailable()
     Returns true if this factory is ready for use.
final  booleanisCodeMethodOverriden()
     Returns true if the AuthorityFactoryAdapter.toBackingFactoryCode method is overriden.
 Unitreplace(Unit units)
     Replaces the specified unit, if applicable.
 CoordinateSystemAxisreplace(CoordinateSystemAxis axis)
     Replaces (if needed) the specified axis by a new one.
 CoordinateSystemreplace(CoordinateSystem cs)
     Replaces (if needed) the specified coordinate system by a new one.
 Datumreplace(Datum datum)
     Replaces (if needed) the specified datum by a new one.
 CoordinateReferenceSystemreplace(CoordinateReferenceSystem crs)
     Replaces (if needed) the specified coordinate reference system.
 CoordinateOperationreplace(CoordinateOperation operation)
     Replaces (if needed) the specified coordinate operation.
 booleansameAuthorityCodes(AuthorityFactory factory)
     If this factory is a wrapper for the specified factory that do not add any additional , returns true .
static  booleansameAuthorityCodes(AuthorityFactory backingStore, AuthorityFactory factory)
     Helper methods for AuthorityFactoryAdapter.sameAuthorityCodes(AuthorityFactory) and FallbackAuthorityFactory.create(booleanintIterator) implementations.
protected  StringtoBackingFactoryCode(String code)
     Returns the code to be given to the wrapped factories.

Field Detail
crsFactory
final protected CRSAuthorityFactory crsFactory(Code)
The underlying authority factory, or null if none. AuthorityFactoryAdapter.getCRSAuthorityFactory



csFactory
final protected CSAuthorityFactory csFactory(Code)
The underlying authority factory, or null if none. AuthorityFactoryAdapter.getCSAuthorityFactory



datumFactory
final protected DatumAuthorityFactory datumFactory(Code)
The underlying authority factory, or null if none. AuthorityFactoryAdapter.getDatumAuthorityFactory



operationFactory
final protected CoordinateOperationAuthorityFactory operationFactory(Code)
The underlying authority factory, or null if none. AuthorityFactoryAdapter.getCoordinateOperationAuthorityFactory




Constructor Detail
AuthorityFactoryAdapter
AuthorityFactoryAdapter(int priority)(Code)
Creates a wrapper around no factory. This constructor should never be used except by subclasses overriding the getFooAuthorityFactory methods.
Parameters:
  priority - The priority for this factory, as a number betweenAuthorityFactoryAdapter.MINIMUM_PRIORITY MINIMUM_PRIORITY andAuthorityFactoryAdapter.MAXIMUM_PRIORITY MAXIMUM_PRIORITY inclusive.



AuthorityFactoryAdapter
protected AuthorityFactoryAdapter(AuthorityFactory factory)(Code)
Creates a wrapper around the specified factory. The AuthorityFactoryAdapter.priority priority field will be set to the same value than the specified factory. Subclasses should override the AuthorityFactoryAdapter.getPriority() getPriority() method if they want to set a higher or lower priority for this instance.
Parameters:
  factory - The factory to wrap.



AuthorityFactoryAdapter
AuthorityFactoryAdapter(AuthorityFactory factory, AuthorityFactory fallback)(Code)
For FallbackAuthorityFactory constructor only.



AuthorityFactoryAdapter
protected AuthorityFactoryAdapter(CRSAuthorityFactory crsFactory, CSAuthorityFactory csFactory, DatumAuthorityFactory datumFactory, CoordinateOperationAuthorityFactory opFactory)(Code)
Creates a wrapper around the specified factories. The AuthorityFactoryAdapter.priority priority field will be set to the highest priority found in the specified factories. Subclasses should override the AuthorityFactoryAdapter.getPriority() getPriority() method if they want to set a higher or lower priority for this instance.
Parameters:
  crsFactory - The authority factory, or null .
Parameters:
  csFactory - The authority factory,or null .
Parameters:
  datumFactory - The authority factory, or null .
Parameters:
  opFactory - The authorityfactory, or null .



AuthorityFactoryAdapter
protected AuthorityFactoryAdapter(String authority, Hints userHints) throws FactoryRegistryException(Code)
Creates a wrappers around the default factories for the specified authority. The factories are fetched using ReferencingFactoryFinder .
Parameters:
  authority - The authority to wraps (example: "EPSG" ). If null ,then all authority factories must be explicitly specified in theset of hints.
Parameters:
  userHints - An optional set of hints, or null if none.
throws:
  FactoryRegistryException - if at least one factory can not be obtained.
since:
   2.4




Method Detail
createCartesianCS
public CartesianCS createCartesianCS(String code) throws FactoryException(Code)
Creates a cartesian coordinate system from a code.



createCompoundCRS
public CompoundCRS createCompoundCRS(String code) throws FactoryException(Code)
Creates a 3D coordinate reference system from a code.



createCoordinateOperation
public CoordinateOperation createCoordinateOperation(String code) throws FactoryException(Code)
Creates an operation from a single operation code.



createCoordinateReferenceSystem
public CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws FactoryException(Code)
Returns an arbitrary from a code.
See Also:   AuthorityFactoryAdapter.createGeographicCRS
See Also:   AuthorityFactoryAdapter.createProjectedCRS
See Also:   AuthorityFactoryAdapter.createVerticalCRS
See Also:   AuthorityFactoryAdapter.createTemporalCRS
See Also:   AuthorityFactoryAdapter.createCompoundCRS



createCoordinateSystem
public CoordinateSystem createCoordinateSystem(String code) throws FactoryException(Code)
Returns an arbitrary from a code.



createCoordinateSystemAxis
public CoordinateSystemAxis createCoordinateSystemAxis(String code) throws FactoryException(Code)
Returns a from a code.



createCylindricalCS
public CylindricalCS createCylindricalCS(String code) throws FactoryException(Code)
Creates a cylindrical coordinate system from a code.



createDatum
public Datum createDatum(String code) throws FactoryException(Code)
Returns an arbitrary from a code.
See Also:   AuthorityFactoryAdapter.createGeodeticDatum
See Also:   AuthorityFactoryAdapter.createVerticalDatum
See Also:   AuthorityFactoryAdapter.createTemporalDatum



createDerivedCRS
public DerivedCRS createDerivedCRS(String code) throws FactoryException(Code)
Creates a derived coordinate reference system from a code.



createEllipsoid
public Ellipsoid createEllipsoid(String code) throws FactoryException(Code)
Returns an from a code.
See Also:   AuthorityFactoryAdapter.createGeodeticDatum



createEllipsoidalCS
public EllipsoidalCS createEllipsoidalCS(String code) throws FactoryException(Code)
Creates an ellipsoidal coordinate system from a code.



createEngineeringCRS
public EngineeringCRS createEngineeringCRS(String code) throws FactoryException(Code)
Creates a from a code.



createEngineeringDatum
public EngineeringDatum createEngineeringDatum(String code) throws FactoryException(Code)
Creates a from a code.
See Also:   AuthorityFactoryAdapter.createEngineeringCRS



createExtent
public Extent createExtent(String code) throws FactoryException(Code)
Returns a (usually an area of validity) from a code.



createFromCoordinateReferenceSystemCodes
public Set createFromCoordinateReferenceSystemCodes(String sourceCode, String targetCode) throws FactoryException(Code)
Creates an operation from coordinate reference system codes.



createGeocentricCRS
public GeocentricCRS createGeocentricCRS(String code) throws FactoryException(Code)
Returns a from a code.



createGeodeticDatum
public GeodeticDatum createGeodeticDatum(String code) throws FactoryException(Code)
Returns a from a code.
See Also:   AuthorityFactoryAdapter.createEllipsoid
See Also:   AuthorityFactoryAdapter.createPrimeMeridian
See Also:   AuthorityFactoryAdapter.createGeographicCRS
See Also:   AuthorityFactoryAdapter.createProjectedCRS



createGeographicCRS
public GeographicCRS createGeographicCRS(String code) throws FactoryException(Code)
Returns a from a code.



createImageCRS
public ImageCRS createImageCRS(String code) throws FactoryException(Code)
Creates a from a code.



createImageDatum
public ImageDatum createImageDatum(String code) throws FactoryException(Code)
Creates a from a code.
See Also:   AuthorityFactoryAdapter.createImageCRS



createObject
public IdentifiedObject createObject(String code) throws FactoryException(Code)
Returns an arbitrary object from a code.
See Also:   AuthorityFactoryAdapter.createCoordinateReferenceSystem
See Also:   AuthorityFactoryAdapter.createDatum
See Also:   AuthorityFactoryAdapter.createEllipsoid
See Also:   AuthorityFactoryAdapter.createUnit



createOperationMethod
public OperationMethod createOperationMethod(String code) throws FactoryException(Code)
Creates an operation method from a code.



createParameterDescriptor
public ParameterDescriptor createParameterDescriptor(String code) throws FactoryException(Code)
Creates a parameter descriptor from a code.



createPolarCS
public PolarCS createPolarCS(String code) throws FactoryException(Code)
Creates a polar coordinate system from a code.



createPrimeMeridian
public PrimeMeridian createPrimeMeridian(String code) throws FactoryException(Code)
Returns a from a code.
See Also:   AuthorityFactoryAdapter.createGeodeticDatum



createProjectedCRS
public ProjectedCRS createProjectedCRS(String code) throws FactoryException(Code)
Returns a from a code.



createSphericalCS
public SphericalCS createSphericalCS(String code) throws FactoryException(Code)
Creates a spherical coordinate system from a code.



createTemporalCRS
public TemporalCRS createTemporalCRS(String code) throws FactoryException(Code)
Creates a from a code.



createTemporalDatum
public TemporalDatum createTemporalDatum(String code) throws FactoryException(Code)
Creates a from a code.
See Also:   AuthorityFactoryAdapter.createTemporalCRS



createTimeCS
public TimeCS createTimeCS(String code) throws FactoryException(Code)
Creates a temporal coordinate system from a code.



createUnit
public Unit createUnit(String code) throws FactoryException(Code)
Returns an from a code.



createVerticalCRS
public VerticalCRS createVerticalCRS(String code) throws FactoryException(Code)
Creates a from a code.



createVerticalCS
public VerticalCS createVerticalCS(String code) throws FactoryException(Code)
Creates a vertical coordinate system from a code.



createVerticalDatum
public VerticalDatum createVerticalDatum(String code) throws FactoryException(Code)
Creates a from a code.
See Also:   AuthorityFactoryAdapter.createVerticalCRS



dependencies
Collection dependencies()(Code)
Returns the direct dependencies. The returned list contains the backing store specified at construction time, or the exception if the backing store can't be obtained.



getAuthority
public Citation getAuthority()(Code)
Returns the organization or party responsible for definition and maintenance of the database.



getAuthorityCodes
public Set getAuthorityCodes(Class type) throws FactoryException(Code)
Returns the set of authority code for the specified type.



getAuthorityFactory
AuthorityFactory getAuthorityFactory(Class type, String code) throws FactoryException(Code)
Returns an authority factory of the specified type. This method delegates to:
throws:
  IllegalArgumentException - if the specified type is invalid.
throws:
  FactoryException - if no suitable factory were found.



getAuthorityFactory
protected AuthorityFactory getAuthorityFactory(String code) throws FactoryException(Code)
Returns a generic object factory to use for the specified code. The default implementation returns one of the factory specified at construction time. Subclasses can override this method in order to select a different factory implementation depending on the code value.

Note: The value of the code argument given to this method may be null when a factory is needed for some global task, like AuthorityFactoryAdapter.getAuthorityCodes method execution.
Parameters:
  code - The authority code given to this class. Note that the code to be givento the returned factory . A factory for the specified authority code (never null ).
throws:
  FactoryException - if no suitable factory were found.
since:
   2.4




getBackingStoreDescription
public String getBackingStoreDescription() throws FactoryException(Code)
Returns a description of the underlying backing store, or null if unknow.
throws:
  FactoryException - if a failure occured while fetching the engine description.



getCRSAuthorityFactory
protected CRSAuthorityFactory getCRSAuthorityFactory(String code) throws FactoryException(Code)
Returns the coordinate reference system factory to use for the specified code. The default implementation always returns the factory specified at construction time. Subclasses can override this method in order to select a different factory implementation depending on the code value.
Parameters:
  code - The authority code given to this class. Note that the code to be givento the returned factory . A factory for the specified authority code (never null ).
throws:
  FactoryException - if no coordinate reference system factory were specifiedat construction time.
since:
   2.4



getCSAuthorityFactory
protected CSAuthorityFactory getCSAuthorityFactory(String code) throws FactoryException(Code)
Returns the coordinate system factory to use for the specified code. The default implementation always returns the factory specified at construction time. Subclasses can override this method in order to select a different factory implementation depending on the code value.
Parameters:
  code - The authority code given to this class. Note that the code to be givento the returned factory . A factory for the specified authority code (never null ).
throws:
  FactoryException - if no coordinate system factory were specified at construction time.
since:
   2.4



getCoordinateOperationAuthorityFactory
protected CoordinateOperationAuthorityFactory getCoordinateOperationAuthorityFactory(String code) throws FactoryException(Code)
Returns the coordinate operation factory to use for the specified code. The default implementation always returns the factory specified at construction time. Subclasses can override this method in order to select a different factory implementation depending on the code value.
Parameters:
  code - The authority code given to this class. Note that the code to be givento the returned factory . A factory for the specified authority code (never null ).
throws:
  FactoryException - if no coordinate operation factory were specifiedat construction time.
since:
   2.4



getCoordinateOperationFactory
final CoordinateOperationFactory getCoordinateOperationFactory() throws FactoryException(Code)
Returns a coordinate operation factory for this adapter. This method will try to fetch this information from the coordinate operation authority factory, or will returns the default one if no explicit factory were found.



getDatumAuthorityFactory
protected DatumAuthorityFactory getDatumAuthorityFactory(String code) throws FactoryException(Code)
Returns the datum factory to use for the specified code. The default implementation always returns the factory specified at construction time. Subclasses can override this method in order to select a different factory implementation depending on the code value.
Parameters:
  code - The authority code given to this class. Note that the code to be givento the returned factory . A factory for the specified authority code (never null ).
throws:
  FactoryException - if no datum factory were specified at construction time.
since:
   2.4



getDescriptionText
public InternationalString getDescriptionText(String code) throws FactoryException(Code)
Returns a description for the object identified by the specified code.



getFactoryContainer
final ReferencingFactoryContainer getFactoryContainer(boolean crs)(Code)
Suggests a low-level factory group. If crs is true , then this method will try to fetch the factory group from the CRS authority factory. Otherwise it will try to fetch the factory group from the CS authority factory. This is used by subclasses like TransformedAuthorityFactory that need low-level access to factories. Do not change this method into a public one; we would need a better API before to do such thing.



getIdentifiedObjectFinder
public IdentifiedObjectFinder getIdentifiedObjectFinder(Class type) throws FactoryException(Code)
Returns a finder which can be used for looking up unidentified objects. The default implementation delegates the lookups to the underlying factory.
since:
   2.4



getVendor
public Citation getVendor()(Code)
Returns the vendor responsible for creating this factory implementation.



isAvailable
public boolean isAvailable()(Code)
Returns true if this factory is ready for use. This default implementation checks the availability of CRS, CS, datum and operation authority factories specified at construction time.



isCodeMethodOverriden
final boolean isCodeMethodOverriden()(Code)
Returns true if the AuthorityFactoryAdapter.toBackingFactoryCode method is overriden.



replace
Unit replace(Unit units) throws FactoryException(Code)
Replaces the specified unit, if applicable. To be overridden with protected access by TransformedAuthorityFactory .



replace
CoordinateSystemAxis replace(CoordinateSystemAxis axis) throws FactoryException(Code)
Replaces (if needed) the specified axis by a new one. To be overridden with protected access by TransformedAuthorityFactory .



replace
CoordinateSystem replace(CoordinateSystem cs) throws FactoryException(Code)
Replaces (if needed) the specified coordinate system by a new one. To be overridden with protected access by TransformedAuthorityFactory .



replace
Datum replace(Datum datum) throws FactoryException(Code)
Replaces (if needed) the specified datum by a new one. To be overridden with protected access by TransformedAuthorityFactory .



replace
CoordinateReferenceSystem replace(CoordinateReferenceSystem crs) throws FactoryException(Code)
Replaces (if needed) the specified coordinate reference system. To be overridden with protected access by TransformedAuthorityFactory .



replace
CoordinateOperation replace(CoordinateOperation operation) throws FactoryException(Code)
Replaces (if needed) the specified coordinate operation. To be overridden with protected access by TransformedAuthorityFactory .



sameAuthorityCodes
boolean sameAuthorityCodes(AuthorityFactory factory)(Code)
If this factory is a wrapper for the specified factory that do not add any additional , returns true . This method is for FallbackAuthorityFactory internal use only and should not be public. We expect only a simple check, so we don't invoke the getFooAuthorityFactory(...) methods.



sameAuthorityCodes
static boolean sameAuthorityCodes(AuthorityFactory backingStore, AuthorityFactory factory)(Code)
Helper methods for AuthorityFactoryAdapter.sameAuthorityCodes(AuthorityFactory) and FallbackAuthorityFactory.create(booleanintIterator) implementations. If there is no backing store, returns true in order to take in account only the backing stores that are assigned. This behavior match the need of the above-cited implementations.



toBackingFactoryCode
protected String toBackingFactoryCode(String code) throws FactoryException(Code)
Returns the code to be given to the wrapped factories. This method is automatically invoked by all create methods before to forward the code to the , , or factory. The default implementation returns the code unchanged.
Parameters:
  code - The code given to this factory. The code to give to the underlying factories.
throws:
  FactoryException - if the code can't be converted.
since:
   2.4



Methods inherited from org.geotools.referencing.factory.AbstractAuthorityFactory
public CartesianCS createCartesianCS(String code) throws FactoryException(Code)(Java Doc)
public CompoundCRS createCompoundCRS(String code) throws FactoryException(Code)(Java Doc)
public CoordinateOperation createCoordinateOperation(String code) throws FactoryException(Code)(Java Doc)
public CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws FactoryException(Code)(Java Doc)
public CoordinateSystem createCoordinateSystem(String code) throws FactoryException(Code)(Java Doc)
public CoordinateSystemAxis createCoordinateSystemAxis(String code) throws FactoryException(Code)(Java Doc)
public CylindricalCS createCylindricalCS(String code) throws FactoryException(Code)(Java Doc)
public Datum createDatum(String code) throws FactoryException(Code)(Java Doc)
public DerivedCRS createDerivedCRS(String code) throws FactoryException(Code)(Java Doc)
public Ellipsoid createEllipsoid(String code) throws FactoryException(Code)(Java Doc)
public EllipsoidalCS createEllipsoidalCS(String code) throws FactoryException(Code)(Java Doc)
public EngineeringCRS createEngineeringCRS(String code) throws FactoryException(Code)(Java Doc)
public EngineeringDatum createEngineeringDatum(String code) throws FactoryException(Code)(Java Doc)
public Extent createExtent(String code) throws FactoryException(Code)(Java Doc)
public Set createFromCoordinateReferenceSystemCodes(String sourceCode, String targetCode) throws FactoryException(Code)(Java Doc)
public GeocentricCRS createGeocentricCRS(String code) throws FactoryException(Code)(Java Doc)
public GeodeticDatum createGeodeticDatum(String code) throws FactoryException(Code)(Java Doc)
public GeographicCRS createGeographicCRS(String code) throws FactoryException(Code)(Java Doc)
public ImageCRS createImageCRS(String code) throws FactoryException(Code)(Java Doc)
public ImageDatum createImageDatum(String code) throws FactoryException(Code)(Java Doc)
public IdentifiedObject createObject(String code) throws FactoryException(Code)(Java Doc)
public OperationMethod createOperationMethod(String code) throws FactoryException(Code)(Java Doc)
public ParameterDescriptor createParameterDescriptor(String code) throws FactoryException(Code)(Java Doc)
public PolarCS createPolarCS(String code) throws FactoryException(Code)(Java Doc)
public PrimeMeridian createPrimeMeridian(String code) throws FactoryException(Code)(Java Doc)
public ProjectedCRS createProjectedCRS(String code) throws FactoryException(Code)(Java Doc)
public SphericalCS createSphericalCS(String code) throws FactoryException(Code)(Java Doc)
public TemporalCRS createTemporalCRS(String code) throws FactoryException(Code)(Java Doc)
public TemporalDatum createTemporalDatum(String code) throws FactoryException(Code)(Java Doc)
public TimeCS createTimeCS(String code) throws FactoryException(Code)(Java Doc)
public Unit createUnit(String code) throws FactoryException(Code)(Java Doc)
public VerticalCRS createVerticalCRS(String code) throws FactoryException(Code)(Java Doc)
public VerticalCS createVerticalCS(String code) throws FactoryException(Code)(Java Doc)
public VerticalDatum createVerticalDatum(String code) throws FactoryException(Code)(Java Doc)
public void dispose() throws FactoryException(Code)(Java Doc)
abstract public Citation getAuthority()(Code)(Java Doc)
public String getBackingStoreDescription() throws FactoryException(Code)(Java Doc)
public IdentifiedObjectFinder getIdentifiedObjectFinder(Class type) throws FactoryException(Code)(Java Doc)
boolean isAvailable()(Code)(Java Doc)
final protected NoSuchAuthorityCodeException noSuchAuthorityCode(Class type, String code)(Code)(Java Doc)
boolean sameAuthorityCodes(AuthorityFactory factory)(Code)(Java Doc)
protected String trimAuthority(String code)(Code)(Java Doc)

Fields inherited from org.geotools.referencing.factory.ReferencingFactory
final static Citation ALL(Code)(Java Doc)
final public static Logger LOGGER(Code)(Java Doc)

Methods inherited from org.geotools.referencing.factory.ReferencingFactory
Collection dependencies()(Code)(Java Doc)
protected static void ensureNonNull(String name, Object object) throws InvalidParameterValueException(Code)(Java Doc)
public Citation getVendor()(Code)(Java Doc)

Fields inherited from org.geotools.factory.AbstractFactory
final public static int MAXIMUM_PRIORITY(Code)(Java Doc)
final public static int MINIMUM_PRIORITY(Code)(Java Doc)
final public static int NORMAL_PRIORITY(Code)(Java Doc)
final protected Map hints(Code)(Java Doc)
final protected int priority(Code)(Java Doc)

Methods inherited from org.geotools.factory.AbstractFactory
final public boolean equals(Object object)(Code)(Java Doc)
public Map getImplementationHints()(Code)(Java Doc)
public int getPriority()(Code)(Java Doc)
final public int hashCode()(Code)(Java Doc)
public void onDeregistration(ServiceRegistry registry, Class category)(Code)(Java Doc)
public void onRegistration(ServiceRegistry registry, Class category)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.