Class ShpXmlFileReader
- Object
-
- ShpXmlFileReader
-
- All Implemented Interfaces:
FileReader
public class ShpXmlFileReader extends Object implements FileReader
-
-
Constructor Summary
Constructors Constructor Description ShpXmlFileReader(ShpFiles shapefileFiles)Parse metadataFile (currently for bounding box information).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()An id for the reader.Metadataparse()protected EnvelopeparseBounding(XMLStreamReader reader)protected IdInfoparseIdInfo(XMLStreamReader reader)protected MetadataparseMetadata(XMLStreamReader reader)
-
-
-
Constructor Detail
-
ShpXmlFileReader
public ShpXmlFileReader(ShpFiles shapefileFiles)
Parse metadataFile (currently for bounding box information).
-
-
Method Detail
-
parse
public Metadata parse()
-
parseMetadata
protected Metadata parseMetadata(XMLStreamReader reader) throws XMLStreamException
- Throws:
XMLStreamException
-
parseIdInfo
protected IdInfo parseIdInfo(XMLStreamReader reader) throws XMLStreamException
- Throws:
XMLStreamException
-
parseBounding
protected Envelope parseBounding(XMLStreamReader reader) throws XMLStreamException
- Throws:
XMLStreamException
-
id
public String id()
Description copied from interface:FileReaderAn id for the reader. This is only used for debugging.- Specified by:
idin interfaceFileReader- Returns:
- id for the reader.
-
-