project35.mda.config
Class ServiceConfigurationParser

java.lang.Object
  extended by project35.mda.config.ServiceConfigurationParser

public class ServiceConfigurationParser
extends java.lang.Object

Project35ConfigurationReader delegates to this class when it wants to parse a description of services, including ontology services, validation services and ID Generator services


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Constructor Summary
ServiceConfigurationParser()
           
 
Method Summary
 DocumentValidationServiceConfiguration parseDocumentValidationServiceConfiguration(org.w3c.dom.Element documentValidationServiceElement)
           
 FieldValidationServiceConfiguration parseFieldValidationServiceConfiguration(org.w3c.dom.Element fieldValidationServiceElement)
           
 IDGeneratorServiceConfiguration parseIDGeneratorServiceConfiguration(org.w3c.dom.Element idGeneratorServiceElement)
           
 OntologyServiceConfiguration parseOntologyServiceConfiguration(org.w3c.dom.Element ontologyServiceElement)
           
 RecordValidationServiceConfiguration parseRecordValidationServiceConfiguration(org.w3c.dom.Element recordValidationServiceElement)
           
 void populateServiceConfiguration(org.w3c.dom.Element serviceElement, ServiceConfiguration serviceConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceConfigurationParser

public ServiceConfigurationParser()
Method Detail

parseOntologyServiceConfiguration

public OntologyServiceConfiguration parseOntologyServiceConfiguration(org.w3c.dom.Element ontologyServiceElement)
                                                               throws java.lang.Exception
Throws:
java.lang.Exception

parseDocumentValidationServiceConfiguration

public DocumentValidationServiceConfiguration parseDocumentValidationServiceConfiguration(org.w3c.dom.Element documentValidationServiceElement)
                                                                                   throws java.lang.Exception
Throws:
java.lang.Exception

parseRecordValidationServiceConfiguration

public RecordValidationServiceConfiguration parseRecordValidationServiceConfiguration(org.w3c.dom.Element recordValidationServiceElement)
                                                                               throws java.lang.Exception
Throws:
java.lang.Exception

parseFieldValidationServiceConfiguration

public FieldValidationServiceConfiguration parseFieldValidationServiceConfiguration(org.w3c.dom.Element fieldValidationServiceElement)
                                                                             throws java.lang.Exception
Throws:
java.lang.Exception

parseIDGeneratorServiceConfiguration

public IDGeneratorServiceConfiguration parseIDGeneratorServiceConfiguration(org.w3c.dom.Element idGeneratorServiceElement)
                                                                     throws java.lang.Exception
Throws:
java.lang.Exception

populateServiceConfiguration

public void populateServiceConfiguration(org.w3c.dom.Element serviceElement,
                                         ServiceConfiguration serviceConfiguration)
                                  throws java.lang.Exception
Throws:
java.lang.Exception