Java Doc for AbstractAuthorityFactory.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) 


org.geotools.referencing.factory.ReferencingFactory
   org.geotools.referencing.factory.AbstractAuthorityFactory

All known Subclasses:   org.geotools.referencing.factory.AuthorityFactoryAdapter,  org.geotools.referencing.factory.DirectAuthorityFactory,  org.geotools.referencing.factory.BufferedAuthorityFactory,
AbstractAuthorityFactory
abstract public class AbstractAuthorityFactory extends ReferencingFactory implements AuthorityFactory(Code)
Base class for authority factories. An authority is an organization that maintains definitions of authority codes. An authority code is a compact string defined by an authority to reference a particular spatial reference object. For example the European Petroleum Survey Group (EPSG) maintains a database of coordinate systems, and other spatial referencing objects, where each object has a code number ID. For example, the EPSG code for a WGS84 Lat/Lon coordinate system is "4326" .

This class defines a default implementation for most methods defined in the DatumAuthorityFactory , CSAuthorityFactory and CRSAuthorityFactory interfaces. However, those interfaces do not appear in the implements clause of this class declaration. This is up to subclasses to decide which interfaces they declare to implement.

The default implementation for all createFoo methods ultimately invokes AbstractAuthorityFactory.createObject , which may be the only method that a subclass need to override. However, other methods may be overridden as well for better performances.
since:
   2.1
version:
   $Id: AbstractAuthorityFactory.java 26212 2007-07-12 02:34:18Z jgarnett $
author:
   Martin Desruisseaux




Constructor Summary
protected  AbstractAuthorityFactory(int priority)
     Constructs an instance using the specified priority level.

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.
public  voiddispose()
     Releases resources immediately instead of waiting for the garbage collector. Once a factory has been disposed, further create(...) invocations may throw a FactoryException .
abstract public  CitationgetAuthority()
     Returns the organization or party responsible for definition and maintenance of the database.
public  StringgetBackingStoreDescription()
     Returns a description of the underlying backing store, or null if unknown.
public  IdentifiedObjectFindergetIdentifiedObjectFinder(Class type)
     Returns a finder which can be used for looking up unidentified objects.
 booleanisAvailable()
     Returns true if this factory is available.
final protected  NoSuchAuthorityCodeExceptionnoSuchAuthorityCode(Class type, String code)
     Creates an exception for an unknow authority code.
 booleansameAuthorityCodes(AuthorityFactory factory)
     If this factory is a wrapper for the specified factory that do not add any additional , returns true .
protected  StringtrimAuthority(String code)
     Trims the authority scope, if present.


Constructor Detail
AbstractAuthorityFactory
protected AbstractAuthorityFactory(int priority)(Code)
Constructs an instance using the specified priority level.
Parameters:
  priority - The priority for this factory, as a number betweenAbstractAuthorityFactory.MINIMUM_PRIORITY MINIMUM_PRIORITY andAbstractAuthorityFactory.MAXIMUM_PRIORITY MAXIMUM_PRIORITY inclusive.




Method Detail
createCartesianCS
public CartesianCS createCartesianCS(String code) throws FactoryException(Code)
Creates a cartesian coordinate system from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createCompoundCRS
public CompoundCRS createCompoundCRS(String code) throws FactoryException(Code)
Creates a 3D coordinate reference system from a code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createCoordinateOperation
public CoordinateOperation createCoordinateOperation(String code) throws FactoryException(Code)
Creates an operation from a single operation code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
since:
   2.2



createCoordinateReferenceSystem
public CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws FactoryException(Code)
Returns an arbitrary from a code. If the coordinate reference system type is know at compile time, it is recommended to invoke the most precise method instead of this one (for example   (code)  instead of  createCoordinateReferenceSystem(code)  if the caller know he is asking for a ).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createGeographicCRS
See Also:   AbstractAuthorityFactory.createProjectedCRS
See Also:   AbstractAuthorityFactory.createVerticalCRS
See Also:   AbstractAuthorityFactory.createTemporalCRS
See Also:   AbstractAuthorityFactory.createCompoundCRS



createCoordinateSystem
public CoordinateSystem createCoordinateSystem(String code) throws FactoryException(Code)
Returns an arbitrary from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createCoordinateSystemAxis
public CoordinateSystemAxis createCoordinateSystemAxis(String code) throws FactoryException(Code)
Returns a from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createCylindricalCS
public CylindricalCS createCylindricalCS(String code) throws FactoryException(Code)
Creates a cylindrical coordinate system from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createDatum
public Datum createDatum(String code) throws FactoryException(Code)
Returns an arbitrary from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createGeodeticDatum
See Also:   AbstractAuthorityFactory.createVerticalDatum
See Also:   AbstractAuthorityFactory.createTemporalDatum



createDerivedCRS
public DerivedCRS createDerivedCRS(String code) throws FactoryException(Code)
Creates a derived coordinate reference system from a code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createEllipsoid
public Ellipsoid createEllipsoid(String code) throws FactoryException(Code)
Returns an from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createGeodeticDatum



createEllipsoidalCS
public EllipsoidalCS createEllipsoidalCS(String code) throws FactoryException(Code)
Creates an ellipsoidal coordinate system from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createEngineeringCRS
public EngineeringCRS createEngineeringCRS(String code) throws FactoryException(Code)
Creates a from a code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createEngineeringDatum
public EngineeringDatum createEngineeringDatum(String code) throws FactoryException(Code)
Creates a from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createEngineeringCRS



createExtent
public Extent createExtent(String code) throws FactoryException(Code)
Returns a (usually an area of validity) from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createFromCoordinateReferenceSystemCodes
public Set createFromCoordinateReferenceSystemCodes(String sourceCode, String targetCode) throws FactoryException(Code)
Creates an operation from coordinate reference system codes. The default implementation returns an . We do not delegate to some kind of because the usual contract for this method is to extract the information from an authority database like EPSG, not to compute operations on-the-fly.

Rational: Coordinate operation factory will invoke this method. If this method invoked the coordinate operation factory in turn, the application could be trapped in infinite recursive calls.
Parameters:
  sourceCode - Coded value of source coordinate reference system.
Parameters:
  targetCode - Coded value of target coordinate reference system.
throws:
  NoSuchAuthorityCodeException - if a specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
since:
   2.2




createGeocentricCRS
public GeocentricCRS createGeocentricCRS(String code) throws FactoryException(Code)
Returns a from a code.
Parameters:
  code - Value allocated by authority.
throws:
  FactoryException - if the object creation failed.
See Also:   AbstractAuthorityFactory.createGeodeticDatum



createGeodeticDatum
public GeodeticDatum createGeodeticDatum(String code) throws FactoryException(Code)
Returns a from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createEllipsoid
See Also:   AbstractAuthorityFactory.createPrimeMeridian
See Also:   AbstractAuthorityFactory.createGeographicCRS
See Also:   AbstractAuthorityFactory.createProjectedCRS



createGeographicCRS
public GeographicCRS createGeographicCRS(String code) throws FactoryException(Code)
Returns a from a code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createGeodeticDatum



createImageCRS
public ImageCRS createImageCRS(String code) throws FactoryException(Code)
Creates a from a code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createImageDatum
public ImageDatum createImageDatum(String code) throws FactoryException(Code)
Creates a from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createImageCRS



createObject
public IdentifiedObject createObject(String code) throws FactoryException(Code)
Returns an arbitrary object from a code. The returned object will typically be an instance of Datum , CoordinateSystem , CoordinateReferenceSystem or CoordinateOperation . The default implementation always throw an exception. Subclasses should override this method if they are capable to automatically detect the object type from its code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createCoordinateReferenceSystem
See Also:   AbstractAuthorityFactory.createDatum
See Also:   AbstractAuthorityFactory.createEllipsoid
See Also:   AbstractAuthorityFactory.createUnit



createOperationMethod
public OperationMethod createOperationMethod(String code) throws FactoryException(Code)
Creates an operation method from a code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
since:
   2.2



createParameterDescriptor
public ParameterDescriptor createParameterDescriptor(String code) throws FactoryException(Code)
Creates a parameter descriptor from a code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
since:
   2.2



createPolarCS
public PolarCS createPolarCS(String code) throws FactoryException(Code)
Creates a polar coordinate system from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createPrimeMeridian
public PrimeMeridian createPrimeMeridian(String code) throws FactoryException(Code)
Returns a from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createGeodeticDatum



createProjectedCRS
public ProjectedCRS createProjectedCRS(String code) throws FactoryException(Code)
Returns a from a code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createGeodeticDatum



createSphericalCS
public SphericalCS createSphericalCS(String code) throws FactoryException(Code)
Creates a spherical coordinate system from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createTemporalCRS
public TemporalCRS createTemporalCRS(String code) throws FactoryException(Code)
Creates a from a code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createTemporalDatum



createTemporalDatum
public TemporalDatum createTemporalDatum(String code) throws FactoryException(Code)
Creates a from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createTemporalCRS



createTimeCS
public TimeCS createTimeCS(String code) throws FactoryException(Code)
Creates a temporal coordinate system from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createUnit
public Unit createUnit(String code) throws FactoryException(Code)
Returns an from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createVerticalCRS
public VerticalCRS createVerticalCRS(String code) throws FactoryException(Code)
Creates a from a code.
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createVerticalDatum



createVerticalCS
public VerticalCS createVerticalCS(String code) throws FactoryException(Code)
Creates a vertical coordinate system from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.



createVerticalDatum
public VerticalDatum createVerticalDatum(String code) throws FactoryException(Code)
Creates a from a code. The default implementation invokes (code).
Parameters:
  code - Value allocated by authority.
throws:
  NoSuchAuthorityCodeException - if the specified code was not found.
throws:
  FactoryException - if the object creation failed for some other reason.
See Also:   AbstractAuthorityFactory.createVerticalCRS



dispose
public void dispose() throws FactoryException(Code)
Releases resources immediately instead of waiting for the garbage collector. Once a factory has been disposed, further create(...) invocations may throw a FactoryException . Disposing a previously-disposed factory, however, has no effect.
throws:
  FactoryException - if an error occured while disposing the factory.



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



getBackingStoreDescription
public String getBackingStoreDescription() throws FactoryException(Code)
Returns a description of the underlying backing store, or null if unknown. This is for example the database software used for storing the data. The default implementation returns always null .
throws:
  FactoryException - if a failure occurs while fetching the engine description.



getIdentifiedObjectFinder
public IdentifiedObjectFinder getIdentifiedObjectFinder(Class type) throws FactoryException(Code)
Returns a finder which can be used for looking up unidentified objects. The finder fetchs a fully from an incomplete one, for example from an object without identifier or " AUTHORITY[...] " element in Well Known Text terminology.
Parameters:
  type - The type of objects to look for. Should be a GeoAPI interface like GeographicCRS.class , but this method accepts also implementationclass. If the type is unknown, use IdentifiedObject.class . A moreaccurate type may help to speed up the search, since it reduces the amountof tables to scan in some implementations like the factories backed byEPSG database. A finder to use for looking up unidentified objects.
throws:
  FactoryException - if the finder can not be created.
since:
   2.4



isAvailable
boolean isAvailable()(Code)
Returns true if this factory is available. This method may returns false for example if a connection to the EPSG database failed. This method is defined here for implementation convenience, but not yet public because not yet applicable. It will be made public in DeferredAuthorityFactory and AuthorityFactoryAdapter subclasses, which implement the org.geotools.factory.OptionalFactory interface.



noSuchAuthorityCode
final protected NoSuchAuthorityCodeException noSuchAuthorityCode(Class type, String code)(Code)
Creates an exception for an unknow authority code. This convenience method is provided for implementation of createXXX methods.
Parameters:
  type - The GeoAPI interface that was to be created(e.g. CoordinateReferenceSystem.class ).
Parameters:
  code - The unknow authority code. An exception initialized with an error message builtfrom the specified informations.



sameAuthorityCodes
boolean sameAuthorityCodes(AuthorityFactory factory)(Code)
If this factory is a wrapper for the specified factory that do not add any additional , returns true . Example of such wrappers are BufferedAuthorityFactory and TransformedAuthorityFactory .

This method should perform a cheap test. It is for FallbackAuthorityFactory internal use only and should not be public.




trimAuthority
protected String trimAuthority(String code)(Code)
Trims the authority scope, if present. For example if this factory is an EPSG authority factory and the specified code start with the "EPSG:" prefix, then the prefix is removed. Otherwise, the string is returned unchanged (except for leading and trailing spaces).
Parameters:
  code - The code to trim. The code without the authority scope.



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)

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