org.jaffa.tools.domainmeta.uniface
Class RelationshipInfoReader

java.lang.Object
  extended byorg.jaffa.tools.domainmeta.uniface.RelationshipInfoReader

public class RelationshipInfoReader
extends Object

This class will parse the RelationshipInfo file returning a List of Relationship objects.

Author:
GautamJ

Nested Class Summary
static class RelationshipInfoReader.Relationship
          An instance of this class represents a relationship defined in the RelationshipInfo.xml file.
 
Constructor Summary
RelationshipInfoReader()
           
 
Method Summary
static List parse(String input)
          This will parse the RelationshipInfo file returning a List of Relationship objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipInfoReader

public RelationshipInfoReader()
Method Detail

parse

public static List parse(String input)
                  throws ParserConfigurationException,
                         SAXException,
                         IOException
This will parse the RelationshipInfo file returning a List of Relationship objects. XML format for the RelationshipInfo file is:

Parameters:
input - the RelationshipInfo file.
Returns:
a sorted List of Relationship objects.
Throws:
ParserConfigurationException - if the xml parsing fails.
SAXException - if the xml parsing fails.
IOException - if the xml parsing fails.


Copyright © 2002-2004 JAFFA Project.