XmlReadHandlerpublic class PropertiesReadHandler extends AbstractXmlReadHandler
| Constructor | Description |
|---|---|
PropertiesReadHandler() |
Creates a properties read-handler using "property" as child-tagname.
|
PropertiesReadHandler(java.lang.String propertyTagName) |
Creates a properties read-handler using the specified propertyTagName as child-tagname.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
getObject() |
Returns the resulting properties collection, never null.
|
java.util.Properties |
getResult() |
Returns the resulting properties collection, never null.
|
characters, endElement, getLocator, getRootHandler, getTagName, getUri, init, startElementpublic PropertiesReadHandler()
public PropertiesReadHandler(java.lang.String propertyTagName)
propertyTagName - the tag name for the child elements that define the properties.public java.util.Properties getResult()
public java.lang.Object getObject()
throws org.xml.sax.SAXException
org.xml.sax.SAXException - if there is a parsing error.