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 String
id()
An id for the reader.Metadata
parse()
protected Envelope
parseBounding(XMLStreamReader reader)
protected IdInfo
parseIdInfo(XMLStreamReader reader)
protected Metadata
parseMetadata(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:FileReader
An id for the reader. This is only used for debugging.- Specified by:
id
in interfaceFileReader
- Returns:
- id for the reader.
-
-