Class GDALPamDataset
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.openjump.core.rasterimage.GDALPamDataset
- All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Author:
- AdL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ac, int i, int j) voidendElement(String uri, String localName, String qName) readStatistics(File auxXmlFile) voidstartElement(String uri, String localName, String qName, Attributes attributes) voidwriteStatistics(File auxXmlFile, Stats stats) voidwriteStatisticsAndSRS(File auxXmlFile, SRSInfo srsInfo, Stats stats) Methods inherited from class DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContentHandler
declaration
-
Constructor Details
-
GDALPamDataset
public GDALPamDataset()
-
-
Method Details
-
readStatistics
public Stats readStatistics(File auxXmlFile) throws ParserConfigurationException, SAXException, IOException -
writeStatistics
public void writeStatistics(File auxXmlFile, Stats stats) throws ParserConfigurationException, TransformerConfigurationException, TransformerException, SAXException, IOException -
writeStatisticsAndSRS
public void writeStatisticsAndSRS(File auxXmlFile, SRSInfo srsInfo, Stats stats) throws ParserConfigurationException, TransformerConfigurationException, TransformerException, SAXException, IOException -
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-