public class XmlStyleSourceHandler extends org.xml.sax.helpers.DefaultHandler
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
XmlStyleSourceHandler.RuleElem |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
hadArea |
private boolean |
hadIcon |
private boolean |
hadLine |
private boolean |
hadLineMod |
private boolean |
inArea |
private boolean |
inCondition |
private boolean |
inDoc |
private boolean |
inIcon |
private boolean |
inLine |
private boolean |
inLineMod |
private boolean |
inRule |
private boolean |
inScaleMax |
private boolean |
inScaleMin |
private XmlStyleSourceHandler.RuleElem |
rule |
(package private) XmlStyleSource |
style |
| Constructor and Description |
|---|
XmlStyleSourceHandler(XmlStyleSource style) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
(package private) java.awt.Color |
convertColor(java.lang.String colString) |
void |
endDocument() |
void |
endElement(java.lang.String uri,
java.lang.String name,
java.lang.String qName) |
private void |
error(java.lang.String message) |
void |
startDocument() |
void |
startElement(java.lang.String uri,
java.lang.String name,
java.lang.String qName,
org.xml.sax.Attributes atts) |
private void |
startElementLine(java.lang.String qName,
org.xml.sax.Attributes atts,
LinePrototype line) |
private void |
startElementLinemod(java.lang.String qName,
org.xml.sax.Attributes atts,
LinemodPrototype line) |
private boolean inDoc
private boolean inRule
private boolean inCondition
private boolean inLine
private boolean inLineMod
private boolean inIcon
private boolean inArea
private boolean inScaleMax
private boolean inScaleMin
private boolean hadLine
private boolean hadLineMod
private boolean hadIcon
private boolean hadArea
private XmlStyleSourceHandler.RuleElem rule
XmlStyleSource style
public XmlStyleSourceHandler(XmlStyleSource style)
java.awt.Color convertColor(java.lang.String colString)
public void startDocument()
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class org.xml.sax.helpers.DefaultHandlerpublic void endDocument()
endDocument in interface org.xml.sax.ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerprivate void error(java.lang.String message)
private void startElementLine(java.lang.String qName, org.xml.sax.Attributes atts, LinePrototype line)
private void startElementLinemod(java.lang.String qName, org.xml.sax.Attributes atts, LinemodPrototype line)
public void startElement(java.lang.String uri, java.lang.String name, java.lang.String qName, org.xml.sax.Attributes atts)
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerpublic void endElement(java.lang.String uri, java.lang.String name, java.lang.String qName)
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerpublic void characters(char[] ch, int start, int length)
characters in interface org.xml.sax.ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandler