Java Doc for URN_AuthorityFactory.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
      org.geotools.referencing.factory.AuthorityFactoryAdapter
         org.geotools.referencing.factory.URN_AuthorityFactory

URN_AuthorityFactory
public class URN_AuthorityFactory extends AuthorityFactoryAdapter implements CRSAuthorityFactory,CSAuthorityFactory,DatumAuthorityFactory,CoordinateOperationAuthorityFactory(Code)
Wraps in a "urn:ogc:def" name space. An exemple of complete URN is "urn:ogc:def:crs:EPSG:6.8:4326" .

Users don't need to create an instance of this class, since one is automatically registered for use in org.opengis.referencing.ReferencingFactoryFinder .
since:
   2.4
version:
   $Id: URN_AuthorityFactory.java 29058 2008-02-03 17:47:07Z desruisseaux $
author:
   Justin Deoliveira
author:
   Martin Desruisseaux
See Also:    URNs of definitions * in OGC namespaceorg.geotools.referencing.ReferencingFactoryFinder




Constructor Summary
public  URN_AuthorityFactory()
     Creates a default wrapper.
public  URN_AuthorityFactory(Hints userHints)
     Creates a wrapper using the specified hints.
public  URN_AuthorityFactory(AllAuthoritiesFactory factory)
     Creates a wrapper around the specified factory.

Method Summary
protected  AuthorityFactorycreateVersionedFactory(Version version)
     Invoked when a factory is requested for a specific version.
public  CitationgetAuthority()
     Returns the authority, which contains "urn:ogc:def" and "urn:x-ogc:def" identifiers.
protected  AuthorityFactorygetAuthorityFactory(String code)
     Returns an object factory for the specified code.
protected  CRSAuthorityFactorygetCRSAuthorityFactory(String code)
     Returns the coordinate reference system factory to use for the specified URN. If the URN contains a version string, then this method will try to fetch a factory for that particular version.
protected  CSAuthorityFactorygetCSAuthorityFactory(String code)
     Returns the coordinate system factory to use for the specified URN.
protected  CoordinateOperationAuthorityFactorygetCoordinateOperationAuthorityFactory(String code)
     Returns the coordinate operation factory to use for the specified URN.
protected  DatumAuthorityFactorygetDatumAuthorityFactory(String code)
     Returns the datum factory to use for the specified URN.
protected  StringtoBackingFactoryCode(String code)
     Removes the URN base ( "urn:ogc:def" ) from the specified code before to pass it to the wrapped factories.
Parameters:
  code - The code given to this factory.


Constructor Detail
URN_AuthorityFactory
public URN_AuthorityFactory()(Code)
Creates a default wrapper.



URN_AuthorityFactory
public URN_AuthorityFactory(Hints userHints)(Code)
Creates a wrapper using the specified hints. For strict compliance with OGC definition of "urn:ogc:def" namespace, the supplied hints should contains at least the Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER FORCE_LONGITUDE_FIRST_AXIS_ORDER hint with value Boolean.FALSE FALSE .
Parameters:
  userHints - The hints to be given to backing factories.



URN_AuthorityFactory
public URN_AuthorityFactory(AllAuthoritiesFactory factory)(Code)
Creates a wrapper around the specified factory. The supplied factory is given unchanged to the .




Method Detail
createVersionedFactory
protected AuthorityFactory createVersionedFactory(Version version) throws FactoryException(Code)
Invoked when a factory is requested for a specific version. This method should create a factory for the exact version specified by the argument, or return null if no such factory is available. In the later case, this class will fallback on the factory specified at .
Parameters:
  version - The version for the factory to create. The factory, of null if there is none for the specified version.
throws:
  FactoryException - if an error occured while creating the factory.



getAuthority
public Citation getAuthority()(Code)
Returns the authority, which contains "urn:ogc:def" and "urn:x-ogc:def" identifiers.



getAuthorityFactory
protected AuthorityFactory getAuthorityFactory(String code) throws FactoryException(Code)
Returns an object factory for the specified code. This method invokes one of the getTypeAuthorityFactory methods where Type is inferred from the code.
Parameters:
  code - The authority code given to this class. A factory for the specified authority code (never null ).
throws:
  FactoryException - if no suitable factory were found.



getCRSAuthorityFactory
protected CRSAuthorityFactory getCRSAuthorityFactory(String code) throws FactoryException(Code)
Returns the coordinate reference system factory to use for the specified URN. If the URN contains a version string, then this method will try to fetch a factory for that particular version. The URN_AuthorityFactory.createVersionedFactory method may be invoked for that purpose. If no factory is provided for that specific version, then the is used.
Parameters:
  code - The URN given to this class. A factory for the specified URN (never null ).
throws:
  FactoryException - if no coordinate reference system factory is available.



getCSAuthorityFactory
protected CSAuthorityFactory getCSAuthorityFactory(String code) throws FactoryException(Code)
Returns the coordinate system factory to use for the specified URN. If the URN contains a version string, then this method will try to fetch a factory for that particular version. The URN_AuthorityFactory.createVersionedFactory method may be invoked for that purpose. If no factory is provided for that specific version, then the is used.
Parameters:
  code - The URN given to this class. A factory for the specified URN (never null ).
throws:
  FactoryException - if no coordinate system factory is available.



getCoordinateOperationAuthorityFactory
protected CoordinateOperationAuthorityFactory getCoordinateOperationAuthorityFactory(String code) throws FactoryException(Code)
Returns the coordinate operation factory to use for the specified URN. If the URN contains a version string, then this method will try to fetch a factory for that particular version. The URN_AuthorityFactory.createVersionedFactory method may be invoked for that purpose. If no factory is provided for that specific version, then the is used.
Parameters:
  code - The URN given to this class. A factory for the specified URN (never null ).
throws:
  FactoryException - if no coordinate operation factory is available.



getDatumAuthorityFactory
protected DatumAuthorityFactory getDatumAuthorityFactory(String code) throws FactoryException(Code)
Returns the datum factory to use for the specified URN. If the URN contains a version string, then this method will try to fetch a factory for that particular version. The URN_AuthorityFactory.createVersionedFactory method may be invoked for that purpose. If no factory is provided for that specific version, then the is used.
Parameters:
  code - The URN given to this class. A factory for the specified URN (never null ).
throws:
  FactoryException - if no datum factory is available.



toBackingFactoryCode
protected String toBackingFactoryCode(String code) throws FactoryException(Code)
Removes the URN base ( "urn:ogc:def" ) from the specified code before to pass it to the wrapped factories.
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.



Fields inherited from org.geotools.referencing.factory.AuthorityFactoryAdapter
final protected CRSAuthorityFactory crsFactory(Code)(Java Doc)
final protected CSAuthorityFactory csFactory(Code)(Java Doc)
final protected DatumAuthorityFactory datumFactory(Code)(Java Doc)
final protected CoordinateOperationAuthorityFactory operationFactory(Code)(Java Doc)

Methods inherited from org.geotools.referencing.factory.AuthorityFactoryAdapter
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)
Collection dependencies()(Code)(Java Doc)
public Citation getAuthority()(Code)(Java Doc)
public Set getAuthorityCodes(Class type) throws FactoryException(Code)(Java Doc)
AuthorityFactory getAuthorityFactory(Class type, String code) throws FactoryException(Code)(Java Doc)
protected AuthorityFactory getAuthorityFactory(String code) throws FactoryException(Code)(Java Doc)
public String getBackingStoreDescription() throws FactoryException(Code)(Java Doc)
protected CRSAuthorityFactory getCRSAuthorityFactory(String code) throws FactoryException(Code)(Java Doc)
protected CSAuthorityFactory getCSAuthorityFactory(String code) throws FactoryException(Code)(Java Doc)
protected CoordinateOperationAuthorityFactory getCoordinateOperationAuthorityFactory(String code) throws FactoryException(Code)(Java Doc)
final CoordinateOperationFactory getCoordinateOperationFactory() throws FactoryException(Code)(Java Doc)
protected DatumAuthorityFactory getDatumAuthorityFactory(String code) throws FactoryException(Code)(Java Doc)
public InternationalString getDescriptionText(String code) throws FactoryException(Code)(Java Doc)
final ReferencingFactoryContainer getFactoryContainer(boolean crs)(Code)(Java Doc)
public IdentifiedObjectFinder getIdentifiedObjectFinder(Class type) throws FactoryException(Code)(Java Doc)
public Citation getVendor()(Code)(Java Doc)
public boolean isAvailable()(Code)(Java Doc)
final boolean isCodeMethodOverriden()(Code)(Java Doc)
Unit replace(Unit units) throws FactoryException(Code)(Java Doc)
CoordinateSystemAxis replace(CoordinateSystemAxis axis) throws FactoryException(Code)(Java Doc)
CoordinateSystem replace(CoordinateSystem cs) throws FactoryException(Code)(Java Doc)
Datum replace(Datum datum) throws FactoryException(Code)(Java Doc)
CoordinateReferenceSystem replace(CoordinateReferenceSystem crs) throws FactoryException(Code)(Java Doc)
CoordinateOperation replace(CoordinateOperation operation) throws FactoryException(Code)(Java Doc)
boolean sameAuthorityCodes(AuthorityFactory factory)(Code)(Java Doc)
static boolean sameAuthorityCodes(AuthorityFactory backingStore, AuthorityFactory factory)(Code)(Java Doc)
protected String toBackingFactoryCode(String code) throws FactoryException(Code)(Java Doc)

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)

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