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


java.lang.Object
   javax.imageio.metadata.IIOMetadataFormatImpl
      org.geotools.image.io.metadata.GeographicMetadataFormat

GeographicMetadataFormat
public class GeographicMetadataFormat extends IIOMetadataFormatImpl (Code)
Describes the structure of . The following formatting rules apply:


since:
   2.4
version:
   $Id: GeographicMetadataFormat.java 27583 2007-10-23 11:29:26Z desruisseaux $
author:
   Martin Desruisseaux


Field Summary
final public static  StringCARTESIAN
     The cartesian type.
final static  ListCRS_TYPES
     Enumeration of valid coordinate reference system types.
final static  ListCS_TYPES
     Enumeration of valid coordinate system types.
final static  ListDIRECTIONS
     Enumeration of valid axis directions.
final public static  StringELLIPSOIDAL
     The ellipsoidal type.
final public static  StringFORMAT_NAME
     The metadata format name.
final public static  StringGEOGRAPHIC
     The geographic type.
final public static  StringGEOGRAPHIC_3D
     The geographic type with a vertical axis.
final public static  StringGEOPHYSICS
     The geophysics type.
final public static  StringPACKED
     The packed type. Pixels in the produced by the image reader contain packed data, typically as byte or short integer type.
final static  ListPIXEL_ORIENTATIONS
     Enumeration of valid pixel orientation.
final public static  StringPROJECTED
     The projected type.
final public static  StringPROJECTED_3D
     The projected type with a vertical axis.
final static  ListSAMPLE_TYPES
     Enumeration of valid sample dimention types.

Constructor Summary
protected  GeographicMetadataFormat(String rootName, int maximumDimensions, int maximumBands)
     Creates a metadata format of the given name.

Method Summary
public  booleancanNodeAppear(String elementName, ImageTypeSpecifier imageType)
     Returns true if the element (and the subtree below it) is allowed to appear in a metadata document for an image of the given type.
public static synchronized  GeographicMetadataFormatgetInstance()
     Returns the default geographic metadata format instance.

Field Detail
CARTESIAN
final public static String CARTESIAN(Code)
The cartesian type.
See Also:   GeographicMetadataFormat.setCoordinateSystem



CRS_TYPES
final static List CRS_TYPES(Code)
Enumeration of valid coordinate reference system types.



CS_TYPES
final static List CS_TYPES(Code)
Enumeration of valid coordinate system types.



DIRECTIONS
final static List DIRECTIONS(Code)
Enumeration of valid axis directions. We do not declare String constants for them since they are already available as code list.



ELLIPSOIDAL
final public static String ELLIPSOIDAL(Code)
The ellipsoidal type.
See Also:   GeographicMetadataFormat.setCoordinateSystem



FORMAT_NAME
final public static String FORMAT_NAME(Code)
The metadata format name.



GEOGRAPHIC
final public static String GEOGRAPHIC(Code)
The geographic type. This is often used together with the coordinate system type.
See Also:   GeographicMetadataFormat.setCoordinateReferenceSystem



GEOGRAPHIC_3D
final public static String GEOGRAPHIC_3D(Code)
The geographic type with a vertical axis. This is often used together with a three-dimensional coordinate system type.

If the coordinate reference system has no vertical axis, or has additional axis of other kind than vertical (for example only a temporal axis), then the type should be the plain . This is because such CRS are usually constructed as rather than a CRS with a three-dimensional coordinate system.

To be strict, a 3D CRS should be allowed only if the vertical axis is of the kind "height above the ellipsoid" (as opposed to "height above the geoid" for example), otherwise we have a compound CRS. But many datafile don't make this distinction.
See Also:   GeographicMetadataFormat.setCoordinateReferenceSystem




GEOPHYSICS
final public static String GEOPHYSICS(Code)
The geophysics type. Pixels in the produced by the image reader contain directly geophysics values like temperature or elevation. Sample type is typically float or double and missing value, if any, must be one of .



PACKED
final public static String PACKED(Code)
The packed type. Pixels in the produced by the image reader contain packed data, typically as byte or short integer type. Conversions to geophysics values are performed by the application of a scale and offset. Some special values are typically used for missing values.



PIXEL_ORIENTATIONS
final static List PIXEL_ORIENTATIONS(Code)
Enumeration of valid pixel orientation. We do not declare String constants for them since they are already available as code list.



PROJECTED
final public static String PROJECTED(Code)
The projected type. This is often used together with the coordinate system type.
See Also:   GeographicMetadataFormat.setCoordinateReferenceSystem



PROJECTED_3D
final public static String PROJECTED_3D(Code)
The projected type with a vertical axis. This is often used together with a three-dimensional coordinate system type.

If the coordinate reference system has no vertical axis, or has additional axis of other kind than vertical (for example only a temporal axis), then the type should be the plain . This is because such CRS are usually constructed as rather than a CRS with a three-dimensional coordinate system.

To be strict, a 3D CRS should be allowed only if the vertical axis is of the kind "height above the ellipsoid" (as opposed to "height above the geoid" for example), otherwise we have a compound CRS. But many datafile don't make this distinction.
See Also:   GeographicMetadataFormat.setCoordinateReferenceSystem




SAMPLE_TYPES
final static List SAMPLE_TYPES(Code)
Enumeration of valid sample dimention types.




Constructor Detail
GeographicMetadataFormat
protected GeographicMetadataFormat(String rootName, int maximumDimensions, int maximumBands)(Code)
Creates a metadata format of the given name. Subclasses should invoke the various GeographicMetadataFormat.addElement(String,String,int) addElement or GeographicMetadataFormat.addAttribute addAttribute methods for adding new elements compared to the .
Parameters:
  rootName - the name of the root element.
Parameters:
  maximumDimensions - The maximum number of dimensions allowed for coordinate systems.
Parameters:
  maximumBands - The maximum number of sample dimensions allowed for images.




Method Detail
canNodeAppear
public boolean canNodeAppear(String elementName, ImageTypeSpecifier imageType)(Code)
Returns true if the element (and the subtree below it) is allowed to appear in a metadata document for an image of the given type. The default implementation always returns true .



getInstance
public static synchronized GeographicMetadataFormat getInstance()(Code)
Returns the default geographic metadata format instance.



Fields inherited from javax.imageio.metadata.IIOMetadataFormatImpl
final public static String standardMetadataFormatName(Code)(Java Doc)

Methods inherited from javax.imageio.metadata.IIOMetadataFormatImpl
protected void addAttribute(String elementName, String attrName, int dataType, boolean required, String defaultValue)(Code)(Java Doc)
protected void addAttribute(String elementName, String attrName, int dataType, boolean required, String defaultValue, List<String> enumeratedValues)(Code)(Java Doc)
protected void addAttribute(String elementName, String attrName, int dataType, boolean required, String defaultValue, String minValue, String maxValue, boolean minInclusive, boolean maxInclusive)(Code)(Java Doc)
protected void addAttribute(String elementName, String attrName, int dataType, boolean required, int listMinLength, int listMaxLength)(Code)(Java Doc)
protected void addBooleanAttribute(String elementName, String attrName, boolean hasDefaultValue, boolean defaultValue)(Code)(Java Doc)
protected void addChildElement(String elementName, String parentName)(Code)(Java Doc)
protected void addElement(String elementName, String parentName, int childPolicy)(Code)(Java Doc)
protected void addElement(String elementName, String parentName, int minChildren, int maxChildren)(Code)(Java Doc)
protected void addObjectValue(String elementName, Class<T> classType, boolean required, T defaultValue)(Code)(Java Doc)
protected void addObjectValue(String elementName, Class<T> classType, boolean required, T defaultValue, List<? extends T> enumeratedValues)(Code)(Java Doc)
protected void addObjectValue(String elementName, Class<T> classType, T defaultValue, Comparable<? super T> minValue, Comparable<? super T> maxValue, boolean minInclusive, boolean maxInclusive)(Code)(Java Doc)
protected void addObjectValue(String elementName, Class classType, int arrayMinLength, int arrayMaxLength)(Code)(Java Doc)
abstract public boolean canNodeAppear(String elementName, ImageTypeSpecifier imageType)(Code)(Java Doc)
public int getAttributeDataType(String elementName, String attrName)(Code)(Java Doc)
public String getAttributeDefaultValue(String elementName, String attrName)(Code)(Java Doc)
public String getAttributeDescription(String elementName, String attrName, Locale locale)(Code)(Java Doc)
public String[] getAttributeEnumerations(String elementName, String attrName)(Code)(Java Doc)
public int getAttributeListMaxLength(String elementName, String attrName)(Code)(Java Doc)
public int getAttributeListMinLength(String elementName, String attrName)(Code)(Java Doc)
public String getAttributeMaxValue(String elementName, String attrName)(Code)(Java Doc)
public String getAttributeMinValue(String elementName, String attrName)(Code)(Java Doc)
public String[] getAttributeNames(String elementName)(Code)(Java Doc)
public int getAttributeValueType(String elementName, String attrName)(Code)(Java Doc)
public String[] getChildNames(String elementName)(Code)(Java Doc)
public int getChildPolicy(String elementName)(Code)(Java Doc)
public String getElementDescription(String elementName, Locale locale)(Code)(Java Doc)
public int getElementMaxChildren(String elementName)(Code)(Java Doc)
public int getElementMinChildren(String elementName)(Code)(Java Doc)
public int getObjectArrayMaxLength(String elementName)(Code)(Java Doc)
public int getObjectArrayMinLength(String elementName)(Code)(Java Doc)
public Class getObjectClass(String elementName)(Code)(Java Doc)
public Object getObjectDefaultValue(String elementName)(Code)(Java Doc)
public Object[] getObjectEnumerations(String elementName)(Code)(Java Doc)
public Comparable getObjectMaxValue(String elementName)(Code)(Java Doc)
public Comparable getObjectMinValue(String elementName)(Code)(Java Doc)
public int getObjectValueType(String elementName)(Code)(Java Doc)
protected String getResourceBaseName()(Code)(Java Doc)
public String getRootName()(Code)(Java Doc)
public static IIOMetadataFormat getStandardFormatInstance()(Code)(Java Doc)
public boolean isAttributeRequired(String elementName, String attrName)(Code)(Java Doc)
protected void removeAttribute(String elementName, String attrName)(Code)(Java Doc)
protected void removeElement(String elementName)(Code)(Java Doc)
protected void removeObjectValue(String elementName)(Code)(Java Doc)
protected void setResourceBaseName(String resourceBaseName)(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.