|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.writersforge.catalan.process.properties.XmlPropertyManager
Utility class for converting XML data into the proper Java objects.
| Constructor Summary | |
XmlPropertyManager()
|
|
| Method Summary | |
void |
loadPropertyFile(java.lang.String propFile,
java.util.Map properties)
Loads all properties from the given property file into the given Map. |
void |
loadXmlAttributes(org.writersforge.bellows.Datum xml,
java.util.Map properties)
Loads all XML attributes into the given Map. |
void |
loadXmlContents(org.writersforge.bellows.Datum xml,
java.util.List nodes)
Loads all child nodes that match the given Bellows query path into the given Map. |
void |
loadXmlContents(org.writersforge.bellows.Datum xml,
java.lang.String name,
java.util.Map properties)
Loads all XML attributes and all child nodes that match the given Bellows query path into the given Map. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmlPropertyManager()
| Method Detail |
public void loadXmlAttributes(org.writersforge.bellows.Datum xml,
java.util.Map properties)
xml - source XML dataproperties - Map to load properties into
public void loadXmlContents(org.writersforge.bellows.Datum xml,
java.util.List nodes)
xml - source XML datanodes - List to load nodes into
public void loadXmlContents(org.writersforge.bellows.Datum xml,
java.lang.String name,
java.util.Map properties)
name parameter
to determine which XML attribute to search for each property's
Map key.
xml - source XML dataname - the attribute name for Map keysproperties - Map to load properties into
public void loadPropertyFile(java.lang.String propFile,
java.util.Map properties)
propFile - properties file relative to classpathproperties - Map to load properties into
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||