org.geotools.data.shapefile.shp.xml
Class ShpXmlFileReader

java.lang.Object
  extended by org.geotools.data.shapefile.shp.xml.ShpXmlFileReader
All Implemented Interfaces:
FileReader

public class ShpXmlFileReader
extends java.lang.Object
implements FileReader


Constructor Summary
ShpXmlFileReader(ShpFiles shapefileFiles)
          Parse metadataFile (currently for bounding box information).
 
Method Summary
 java.lang.String id()
          An id for the reader.
 Metadata parse()
           
protected  com.vividsolutions.jts.geom.Envelope parseBounding(org.jdom.Element bounding)
           
protected  IdInfo parseIdInfo(org.jdom.Element element)
           
protected  Metadata parseMetadata(org.jdom.Element root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShpXmlFileReader

public ShpXmlFileReader(ShpFiles shapefileFiles)
                 throws org.jdom.JDOMException,
                        java.io.IOException
Parse metadataFile (currently for bounding box information).

Parameters:
shapefileFiles -
Throws:
org.jdom.JDOMException
java.io.IOException
Method Detail

parse

public Metadata parse()

parseMetadata

protected Metadata parseMetadata(org.jdom.Element root)

parseIdInfo

protected IdInfo parseIdInfo(org.jdom.Element element)

parseBounding

protected com.vividsolutions.jts.geom.Envelope parseBounding(org.jdom.Element bounding)

id

public java.lang.String id()
Description copied from interface: FileReader
An id for the reader. This is only used for debugging.

Specified by:
id in interface FileReader
Returns:
id for the reader.


Copyright © 1996-2010 Geotools. All Rights Reserved.