Joram 5.3.1

org.objectweb.joram.client.connector.utils
Class Wrapper

java.lang.Object
  extended by org.objectweb.joram.client.connector.utils.Wrapper

public class Wrapper
extends java.lang.Object

XML Wrapper.


Constructor Summary
Wrapper(boolean debug)
           
 
Method Summary
 void browse(org.w3c.dom.Node node)
           
 java.lang.String explore(org.w3c.dom.Node node)
           
 void explore(org.w3c.dom.Node node, java.lang.String key)
           
 java.lang.String extractPropertyInfo(org.w3c.dom.NodeList nodeList)
           
 java.lang.String parse(java.io.InputStream in)
          Parses the RA's configuration file from an input stream.
 void setPropertiesValue(org.w3c.dom.NodeList nodeList, java.lang.String key)
           
 java.lang.String update(java.io.InputStream in, java.util.Map map)
          Update the configuration from the properties in parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wrapper

public Wrapper(boolean debug)
Method Detail

parse

public java.lang.String parse(java.io.InputStream in)
                       throws java.lang.Exception
Parses the RA's configuration file from an input stream.

Parameters:
in - The input stream.
Throws:
java.lang.Exception - unspecialized error

explore

public java.lang.String explore(org.w3c.dom.Node node)
                         throws java.lang.Exception
Throws:
java.lang.Exception

extractPropertyInfo

public java.lang.String extractPropertyInfo(org.w3c.dom.NodeList nodeList)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

update

public java.lang.String update(java.io.InputStream in,
                               java.util.Map map)
                        throws java.lang.Exception
Update the configuration from the properties in parameter.

Parameters:
in - The input stream
map - The map containing the updates.
Throws:
java.lang.Exception - unspecialized error

browse

public void browse(org.w3c.dom.Node node)
            throws java.lang.Exception
Throws:
java.lang.Exception

explore

public void explore(org.w3c.dom.Node node,
                    java.lang.String key)
             throws java.lang.Exception
Throws:
java.lang.Exception

setPropertiesValue

public void setPropertiesValue(org.w3c.dom.NodeList nodeList,
                               java.lang.String key)
                        throws java.lang.Exception
Throws:
java.lang.Exception

Joram 5.3.1

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved