project35.soa.ontology.provenance
Class OntologyMetaDataUtility

java.lang.Object
  extended by project35.soa.ontology.provenance.OntologyMetaDataUtility

public class OntologyMetaDataUtility
extends java.lang.Object

a convenience class for parsing meta data about ontology services. It comes with methods that can extract property values from a collection of Parameter[] objects or from a fragment of XML


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
OntologyMetaDataUtility()
           
 
Method Summary
 void loadValuesFromParameters(Parameter[] parameters, OntologyServiceMetaData ontologyServiceMetaData)
           
 OntologyMetaData readMetaDataValues(org.w3c.dom.Element ontologyMetaDataElement)
           
 void writeMetaDataValues(OntologyMetaData ontologyMetaData, java.io.OutputStreamWriter out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntologyMetaDataUtility

public OntologyMetaDataUtility()
Method Detail

loadValuesFromParameters

public void loadValuesFromParameters(Parameter[] parameters,
                                     OntologyServiceMetaData ontologyServiceMetaData)

readMetaDataValues

public OntologyMetaData readMetaDataValues(org.w3c.dom.Element ontologyMetaDataElement)

writeMetaDataValues

public void writeMetaDataValues(OntologyMetaData ontologyMetaData,
                                java.io.OutputStreamWriter out)
                         throws java.io.IOException
Throws:
java.io.IOException