public class ConfigHandler
extends org.xml.sax.helpers.DefaultHandler
Modifier and Type | Field and Description |
---|---|
protected java.lang.StringBuilder |
curItem |
protected java.util.Map<java.lang.String,java.lang.String> |
globalProperties |
protected java.util.List<java.lang.String> |
itemList |
protected java.lang.String |
itemListName |
protected org.xml.sax.Locator |
locator |
protected RawPropertyData |
rpd |
protected java.util.Map<java.lang.String,RawPropertyData> |
rpdMap |
Constructor and Description |
---|
ConfigHandler(java.util.Map<java.lang.String,RawPropertyData> rpdMap,
java.util.Map<java.lang.String,java.lang.String> globalProperties) |
ConfigHandler(java.util.Map<java.lang.String,RawPropertyData> rpdMap,
java.util.Map<java.lang.String,java.lang.String> globalProperties,
boolean replaceDuplicates,
java.net.URL baseURL) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName) |
void |
setDocumentLocator(org.xml.sax.Locator locator) |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes) |
protected RawPropertyData rpd
protected org.xml.sax.Locator locator
protected java.util.List<java.lang.String> itemList
protected java.lang.String itemListName
protected java.lang.StringBuilder curItem
protected final java.util.Map<java.lang.String,RawPropertyData> rpdMap
protected final java.util.Map<java.lang.String,java.lang.String> globalProperties
public ConfigHandler(java.util.Map<java.lang.String,RawPropertyData> rpdMap, java.util.Map<java.lang.String,java.lang.String> globalProperties, boolean replaceDuplicates, java.net.URL baseURL)
public ConfigHandler(java.util.Map<java.lang.String,RawPropertyData> rpdMap, java.util.Map<java.lang.String,java.lang.String> globalProperties)
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXParseException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXParseException
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXParseException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXParseException
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
setDocumentLocator
in class org.xml.sax.helpers.DefaultHandler