org.gridbus.broker.parsers
Class ServiceParser

java.lang.Object
  extended by org.gridbus.broker.parsers.ServiceParser

public final class ServiceParser
extends java.lang.Object

Author:
Krishna, Xingchen Chu

Constructor Summary
ServiceParser()
           
 
Method Summary
 Service parseService(java.lang.String applicationId, org.w3c.dom.Node serviceNode, ServiceManager serviceStore)
          parse the single service from the service node
 void parseServices(java.lang.String applicationId, org.w3c.dom.Node serviceNode, ServiceManager serviceStore)
           
 void parseServices(java.lang.String applicationId, java.lang.String serviceFileName, ServiceManager serviceStore)
           
 boolean validate(java.lang.String serviceFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceParser

public ServiceParser()
Method Detail

parseService

public Service parseService(java.lang.String applicationId,
                            org.w3c.dom.Node serviceNode,
                            ServiceManager serviceStore)
                     throws java.lang.Exception
parse the single service from the service node

Parameters:
applicationId -
serviceNode -
serviceStore -
Returns:
Throws:
java.lang.Exception

parseServices

public void parseServices(java.lang.String applicationId,
                          org.w3c.dom.Node serviceNode,
                          ServiceManager serviceStore)
                   throws java.lang.Exception
Parameters:
applicationId -
serviceFileName -
serviceStore -
Throws:
java.lang.Exception

parseServices

public void parseServices(java.lang.String applicationId,
                          java.lang.String serviceFileName,
                          ServiceManager serviceStore)
                   throws java.lang.Exception
Parameters:
applicationId -
serviceFileName -
serviceStore -
Throws:
java.lang.Exception

validate

public final boolean validate(java.lang.String serviceFileName)
                       throws java.lang.Exception
Parameters:
serviceFileName -
Returns:
Throws:
java.lang.Exception

Copyright © The University of Melbourne. 2006