Class Wrapper
- java.lang.Object
-
- org.ow2.joram.jakarta.connector.utils.Wrapper
-
public class Wrapper extends Object
XML Wrapper.
-
-
Constructor Summary
Constructors Constructor Description Wrapper(boolean debug)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbrowse(Node node)Stringexplore(Node node)voidexplore(Node node, String key)StringextractPropertyInfo(NodeList nodeList)Stringparse(InputStream in)Parses the RA's configuration file from an input stream.voidsetPropertiesValue(NodeList nodeList, String key)Stringupdate(InputStream in, Map map)Update the configuration from the properties in parameter.
-
-
-
Field Detail
-
debug
private final boolean debug
-
map
private Map map
-
-
Method Detail
-
parse
public String parse(InputStream in) throws Exception
Parses the RA's configuration file from an input stream.- Parameters:
in- The input stream.- Throws:
Exception- unspecialized error
-
extractPropertyInfo
public String extractPropertyInfo(NodeList nodeList) throws Exception
- Throws:
Exception
-
update
public String update(InputStream in, Map map) throws Exception
Update the configuration from the properties in parameter.- Parameters:
in- The input streammap- The map containing the updates.- Throws:
Exception- unspecialized error
-
-