/** * Reads the only internal characters read by pure GML parsers, which are coordinates. These * coordinates are sent to the coordinates reader class which interprets them appropriately, * depending on its current state. * * @param ch Raw coordinate string from the GML document. * @param start Beginning character position of raw coordinate string. * @param length Length of the character string. * @throws SAXException Some parsing error occurred while reading coordinates. */ public void characters(char[] ch, int start, int length) throws SAXException { parent.characters(ch, start, length); }
/** * Checks for GML element end and - if not a coordinates element - sends it directly on down the * chain to the appropriate parent handler. If it is a coordinates (or coord) element, it uses * internal methods to set the current state of the coordinates reader appropriately. * * @param namespaceURI The namespace of the element. * @param localName The local name of the element. * @param qName The full name of the element, including namespace prefix. * @throws SAXException Some parsing error occurred while reading coordinates. */ public void endElement(String namespaceURI, String localName, String qName) throws SAXException { parent.endElement(namespaceURI, localName, qName); } }
/** * Checks for GML element start and - if not a coordinates element - sends it directly on down * the chain to the appropriate parent handler. If it is a coordinates (or coord) element, it * uses internal methods to set the current state of the coordinates reader appropriately. * * @param namespaceURI The namespace of the element. * @param localName The local name of the element. * @param qName The full name of the element, including namespace prefix. * @param atts The element attributes. * @throws SAXException Some parsing error occurred while reading coordinates. */ public void startElement( String namespaceURI, String localName, String qName, org.xml.sax.Attributes atts) throws SAXException { parent.startElement(namespaceURI, localName, qName, atts); }
/** * Manages the end of a new main or sub geometry. This method looks at the status of the current * handler and either returns the finished JTS object to its parent or passes the element end * notification along to the current handler as a sub geometry notice. * * @param localName The local name of the geometry, which corresponds to an OGC simple feature * type. * @throws SAXException parser error. */ public void geometryEnd(String localName) throws SAXException { if (currentHandler.isComplete(localName)) { parent.geometry(currentHandler.create(geometryFactory)); currentHandler = null; } else { currentHandler.subGeometry(localName, currentHandler.GEOMETRY_END); } }
/** * Manages the end of a new main or sub geometry. This method looks at the * status of the current handler and either returns the finished JTS * object to its parent or passes the element end notification along to * the current handler as a sub geometry notice. * * @param localName The local name of the geometry, which corresponds to an * OGC simple feature type. * * @throws SAXException parser error. */ public void geometryEnd(String localName) throws SAXException { if (currentHandler.isComplete(localName)) { parent.geometry(currentHandler.create(geometryFactory)); currentHandler = null; } else { currentHandler.subGeometry(localName, currentHandler.GEOMETRY_END); } }
/** * Reads the only internal characters read by pure GML parsers, which are * coordinates. These coordinates are sent to the coordinates reader * class which interprets them appropriately, depending on its current * state. * * @param ch Raw coordinate string from the GML document. * @param start Beginning character position of raw coordinate string. * @param length Length of the character string. * * @throws SAXException Some parsing error occurred while reading * coordinates. */ public void characters(char[] ch, int start, int length) throws SAXException { parent.characters(ch, start, length); }
/** * Checks for GML element end and - if not a coordinates element - sends it * directly on down the chain to the appropriate parent handler. If it is * a coordinates (or coord) element, it uses internal methods to set the * current state of the coordinates reader appropriately. * * @param namespaceURI The namespace of the element. * @param localName The local name of the element. * @param qName The full name of the element, including namespace prefix. * * @throws SAXException Some parsing error occurred while reading * coordinates. */ public void endElement(String namespaceURI, String localName, String qName) throws SAXException { parent.endElement(namespaceURI, localName, qName); } }
/** * Checks for GML element start and - if not a coordinates element - sends * it directly on down the chain to the appropriate parent handler. If it * is a coordinates (or coord) element, it uses internal methods to set * the current state of the coordinates reader appropriately. * * @param namespaceURI The namespace of the element. * @param localName The local name of the element. * @param qName The full name of the element, including namespace prefix. * @param atts The element attributes. * * @throws SAXException Some parsing error occurred while reading * coordinates. */ public void startElement(String namespaceURI, String localName, String qName, org.xml.sax.Attributes atts) throws SAXException { parent.startElement(namespaceURI, localName, qName, atts); }
/** * Manages the end of a new main or sub geometry. This method looks at the * status of the current handler and either returns the finished JTS * object to its parent or passes the element end notification along to * the current handler as a sub geometry notice. * * @param localName The local name of the geometry, which corresponds to an * OGC simple feature type. * * @throws SAXException parser error. */ public void geometryEnd(String localName) throws SAXException { if (currentHandler.isComplete(localName)) { parent.geometry(currentHandler.create(geometryFactory)); currentHandler = null; } else { currentHandler.subGeometry(localName, currentHandler.GEOMETRY_END); } }
/** * Reads the only internal characters read by pure GML parsers, which are * coordinates. These coordinates are sent to the coordinates reader * class which interprets them appropriately, depending on its current * state. * * @param ch Raw coordinate string from the GML document. * @param start Beginning character position of raw coordinate string. * @param length Length of the character string. * * @throws SAXException Some parsing error occurred while reading * coordinates. */ public void characters(char[] ch, int start, int length) throws SAXException { parent.characters(ch, start, length); }
/** * Checks for GML element end and - if not a coordinates element - sends it * directly on down the chain to the appropriate parent handler. If it is * a coordinates (or coord) element, it uses internal methods to set the * current state of the coordinates reader appropriately. * * @param namespaceURI The namespace of the element. * @param localName The local name of the element. * @param qName The full name of the element, including namespace prefix. * * @throws SAXException Some parsing error occurred while reading * coordinates. */ public void endElement(String namespaceURI, String localName, String qName) throws SAXException { parent.endElement(namespaceURI, localName, qName); } }
/** * Checks for GML element start and - if not a coordinates element - sends * it directly on down the chain to the appropriate parent handler. If it * is a coordinates (or coord) element, it uses internal methods to set * the current state of the coordinates reader appropriately. * * @param namespaceURI The namespace of the element. * @param localName The local name of the element. * @param qName The full name of the element, including namespace prefix. * @param atts The element attributes. * * @throws SAXException Some parsing error occurred while reading * coordinates. */ public void startElement(String namespaceURI, String localName, String qName, org.xml.sax.Attributes atts) throws SAXException { parent.startElement(namespaceURI, localName, qName, atts); }