net.sf.nachocalendar.customizer
Class XMLCustomizer
DefaultHandler
net.sf.nachocalendar.customizer.XMLCustomizer
- Customizer
public class XMLCustomizer
extends DefaultHandler
implements Customizer
This class reads an xml file to get properties values.
XMLCustomizer
public XMLCustomizer(InputStream config)
throws SAXException,
IOException,
ParserConfigurationException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
getBoolean
public boolean getBoolean(String key)
getDouble
public double getDouble(String key)
getFloat
public float getFloat(String key)
getInteger
public int getInteger(String key)
getLong
public long getLong(String key)
getString
public String getString(String key)
keySet
public Set keySet()
startDocument
public void startDocument()
throws SAXException
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException