|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
org.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
public class PropertiesReadHandler
A read handler that creates property-structures (name-value-pairs) and returns the properties as java.util.Properties collection.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getObject()
Returns the resulting properties collection, never null. |
java.util.Properties |
getResult()
Returns the resulting properties collection, never null. |
| Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler |
|---|
characters, endElement, getLocator, getRootHandler, getTagName, getUri, init, startElement |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesReadHandler()
public PropertiesReadHandler(java.lang.String propertyTagName)
propertyTagName - the tag name for the child elements that define the properties.| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||