public class StyleMapXmlParser extends org.xml.sax.helpers.DefaultHandler
| Modifier and Type | Field and Description |
|---|---|
Vector |
annotType
The annot type.
|
Vector |
featureValue
The feature value.
|
Vector |
styleColor
The style color.
|
Vector |
styleLabel
The style label.
|
| Constructor and Description |
|---|
StyleMapXmlParser(String xmlFile)
Instantiates a new style map xml parser.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String namespaceURI,
String localName,
String qName) |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic Vector annotType
public Vector styleLabel
public Vector styleColor
public Vector featureValue
public StyleMapXmlParser(String xmlFile)
xmlFile - the xml filepublic void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.