helper
|
|||||||||||||||||||||||||||||||||||||||||||||||||
| Constructor Summary | |
ConfigurationRead(XMultiServiceFactory xMSF)
Creates new ConfigurationRead. |
|
ConfigurationRead(XMultiServiceFactory xMSF,
String rootnode)
Creates new ConfigurationRead |
|
| Method Summary | |
Object |
getByHierarchicalName(String name)
Get contents of a node by its hierarchical name. |
String[] |
getRootNodeNames()
Get the elements of the root node. |
String[] |
getSubNodeNames(String name)
Get all elements of this node |
boolean |
hasByHieracrhicalName(String name)
Does the node with this hierarchical name exist? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
ConfigurationRead
public ConfigurationRead(XMultiServiceFactory xMSF, String rootnode)
- Creates new ConfigurationRead
- Parameters:
xMSF- An instance of service "com.sun.star.configuration.ConfigurationProvider"rootnode- The root of the configuration nodes.
ConfigurationRead
public ConfigurationRead(XMultiServiceFactory xMSF)
- Creates new ConfigurationRead. This uses "org.openoffice.Setup"
as default root name.
- Parameters:
xMSF- An instance of service "com.sun.star.configuration.ConfigurationProvider"
| Method Detail |
hasByHieracrhicalName
public boolean hasByHieracrhicalName(String name) throws NoSuchElementException, WrappedTargetException
- Does the node with this hierarchical name exist?
- Parameters:
name- The hierarchical name of a subnode.- Returns:
- True, if the node exists.
getRootNodeNames
public String[] getRootNodeNames()
- Get the elements of the root node.
- Returns:
- All elements of the root node.
getSubNodeNames
public String[] getSubNodeNames(String name)
- Get all elements of this node
- Parameters:
name- The name of the node- Returns:
- All elements of this node (as hierarchical names).
getByHierarchicalName
public Object getByHierarchicalName(String name) throws NoSuchElementException
- Get contents of a node by its hierarchical name.
- Parameters:
The- hierarchical name of the node.- Returns:
- The contents as an object
|
OOoRunner test harness | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

