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

Object
  extended by ShpXmlFileReader
All Implemented Interfaces:
FileReader

public class ShpXmlFileReader
extends Object
implements FileReader


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

Constructor Detail

ShpXmlFileReader

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

Parameters:
shapefileFiles -
Throws:
JDOMException
IOException
Method Detail

parse

public Metadata parse()

parseMetadata

protected Metadata parseMetadata(Element root)

parseIdInfo

protected IdInfo parseIdInfo(Element element)

parseBounding

protected Envelope parseBounding(Element bounding)

id

public 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.