eu.xtreemos.xosd.services
Class SXMLExtractor

java.lang.Object
  extended by eu.xtreemos.xosd.services.SXMLExtractor

public class SXMLExtractor
extends java.lang.Object


Field Summary
private  CommunicationAddress _accesspoint_remoteaddress
           
private  eu.xtreemos.system.eventmachine.queue.Context context
           
static java.lang.String servicename
          AUTOGENERATED CODE
 
Constructor Summary
SXMLExtractor(eu.xtreemos.system.eventmachine.queue.Context context)
           
 
Method Summary
 void getXMLObject(java.lang.String __path, java.lang.Integer __schemaType)
          Transform an XML stored in a file into a hash table containing the searchable elements of the source XML.
 void getXMLObject(java.lang.String __path, java.lang.Integer __schemaType, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Transform an XML stored in a file into a hash table containing the searchable elements of the source XML.
 void getXMLObject(java.lang.String __path, java.lang.Integer __schemaType, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Transform an XML stored in a file into a hash table containing the searchable elements of the source XML.
 void getXMLObjectFromDocument(org.w3c.dom.Document __xmlDocument, java.lang.Integer __schemaType)
          Transform an XML stored in a DOM document into a hash table containing the searchable elements of the source XML.
 void getXMLObjectFromDocument(org.w3c.dom.Document __xmlDocument, java.lang.Integer __schemaType, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Transform an XML stored in a DOM document into a hash table containing the searchable elements of the source XML.
 void getXMLObjectFromDocument(org.w3c.dom.Document __xmlDocument, java.lang.Integer __schemaType, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Transform an XML stored in a DOM document into a hash table containing the searchable elements of the source XML.
 void getXMLObjectFromString(java.lang.String __xmlDocument, java.lang.Integer __schemaType)
          Transform an XML stored in a string into a hash table containing the searchable elements of the source XML.
 void getXMLObjectFromString(java.lang.String __xmlDocument, java.lang.Integer __schemaType, eu.xtreemos.system.communication.bus.CallbackMessage callback)
          Transform an XML stored in a string into a hash table containing the searchable elements of the source XML.
 void getXMLObjectFromString(java.lang.String __xmlDocument, java.lang.Integer __schemaType, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
          Transform an XML stored in a string into a hash table containing the searchable elements of the source XML.
 void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servicename

public static java.lang.String servicename
AUTOGENERATED CODE


context

private eu.xtreemos.system.eventmachine.queue.Context context

_accesspoint_remoteaddress

private CommunicationAddress _accesspoint_remoteaddress
Constructor Detail

SXMLExtractor

public SXMLExtractor(eu.xtreemos.system.eventmachine.queue.Context context)
Method Detail

setRemoteaddress

public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)

getXMLObjectFromString

public void getXMLObjectFromString(java.lang.String __xmlDocument,
                                   java.lang.Integer __schemaType)
Transform an XML stored in a string into a hash table containing the searchable elements of the source XML. The elements of the hashtable are either strings for simple tags, instances of Hashtable for complex structures, and instances of ArrayList for multiple entries having the same key.

Parameters:
xmlDocument - The contents of the XML contents.
schemaType - The type of schema. (TODO use some sort of an enum type instead of int)

getXMLObjectFromString

public void getXMLObjectFromString(java.lang.String __xmlDocument,
                                   java.lang.Integer __schemaType,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback)
Transform an XML stored in a string into a hash table containing the searchable elements of the source XML. The elements of the hashtable are either strings for simple tags, instances of Hashtable for complex structures, and instances of ArrayList for multiple entries having the same key.

Parameters:
xmlDocument - The contents of the XML contents.
schemaType - The type of schema. (TODO use some sort of an enum type instead of int)

getXMLObjectFromString

public void getXMLObjectFromString(java.lang.String __xmlDocument,
                                   java.lang.Integer __schemaType,
                                   eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                   eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Transform an XML stored in a string into a hash table containing the searchable elements of the source XML. The elements of the hashtable are either strings for simple tags, instances of Hashtable for complex structures, and instances of ArrayList for multiple entries having the same key.

Parameters:
xmlDocument - The contents of the XML contents.
schemaType - The type of schema. (TODO use some sort of an enum type instead of int)

getXMLObject

public void getXMLObject(java.lang.String __path,
                         java.lang.Integer __schemaType)
Transform an XML stored in a file into a hash table containing the searchable elements of the source XML. The elements of the hashtable are either strings for simple tags, instances of Hashtable for complex structures, and instances of ArrayList for multiple entries having the same key.

Parameters:
path - The path to the xml file on the file system of the service's host.
schemaType - The type of schema. (TODO use some sort of an enum type instead of int)
Throws:
SAXException
IOException

getXMLObject

public void getXMLObject(java.lang.String __path,
                         java.lang.Integer __schemaType,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback)
Transform an XML stored in a file into a hash table containing the searchable elements of the source XML. The elements of the hashtable are either strings for simple tags, instances of Hashtable for complex structures, and instances of ArrayList for multiple entries having the same key.

Parameters:
path - The path to the xml file on the file system of the service's host.
schemaType - The type of schema. (TODO use some sort of an enum type instead of int)
Throws:
SAXException
IOException

getXMLObject

public void getXMLObject(java.lang.String __path,
                         java.lang.Integer __schemaType,
                         eu.xtreemos.system.communication.bus.CallbackMessage callback,
                         eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Transform an XML stored in a file into a hash table containing the searchable elements of the source XML. The elements of the hashtable are either strings for simple tags, instances of Hashtable for complex structures, and instances of ArrayList for multiple entries having the same key.

Parameters:
path - The path to the xml file on the file system of the service's host.
schemaType - The type of schema. (TODO use some sort of an enum type instead of int)
Throws:
SAXException
IOException

getXMLObjectFromDocument

public void getXMLObjectFromDocument(org.w3c.dom.Document __xmlDocument,
                                     java.lang.Integer __schemaType)
Transform an XML stored in a DOM document into a hash table containing the searchable elements of the source XML. The elements of the hashtable are either strings for simple tags, instances of Hashtable for complex structures, and instances of ArrayList for multiple entries having the same key.

Parameters:
xmlDocument - xml document object
schemaType - The type of schema. (TODO use some sort of an enum type instead of int)

getXMLObjectFromDocument

public void getXMLObjectFromDocument(org.w3c.dom.Document __xmlDocument,
                                     java.lang.Integer __schemaType,
                                     eu.xtreemos.system.communication.bus.CallbackMessage callback)
Transform an XML stored in a DOM document into a hash table containing the searchable elements of the source XML. The elements of the hashtable are either strings for simple tags, instances of Hashtable for complex structures, and instances of ArrayList for multiple entries having the same key.

Parameters:
xmlDocument - xml document object
schemaType - The type of schema. (TODO use some sort of an enum type instead of int)

getXMLObjectFromDocument

public void getXMLObjectFromDocument(org.w3c.dom.Document __xmlDocument,
                                     java.lang.Integer __schemaType,
                                     eu.xtreemos.system.communication.bus.CallbackMessage callback,
                                     eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Transform an XML stored in a DOM document into a hash table containing the searchable elements of the source XML. The elements of the hashtable are either strings for simple tags, instances of Hashtable for complex structures, and instances of ArrayList for multiple entries having the same key.

Parameters:
xmlDocument - xml document object
schemaType - The type of schema. (TODO use some sort of an enum type instead of int)