Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cl::utfsm::cdbChecker::CDBSchemasResolver Class Reference

List of all members.

Public Member Functions

 CDBSchemasResolver (String XSDPath)
InputSource resolveEntity (String publicID, String systemID)
String findSchemaFile (String schemaName)

Package Attributes

String schemaPaths []

Constructor & Destructor Documentation

cl::utfsm::cdbChecker::CDBSchemasResolver::CDBSchemasResolver String  XSDPath  )  [inline]
 

Instantiates a CDBSchemasResolver and initialises the array of directories where to search for schema files.


Member Function Documentation

String cl::utfsm::cdbChecker::CDBSchemasResolver::findSchemaFile String  schemaName  )  [inline]
 

Finds a schema file, is exists, in the directories configured at construction time. Returns null if the schema file cannot be found

TODO:

  • Code could be optimised keeping a map of the found schema files, since I see that the method is called many times for the same file.
  • We should add some diagnostic, but calling directly println would interleave with the output from other parts of the code.

InputSource cl::utfsm::cdbChecker::CDBSchemasResolver::resolveEntity String  publicID,
String  systemID
[inline]
 

Resolves and entity. Called whenever a schema file needs to be mapped into a real file


Member Data Documentation

String cl::utfsm::cdbChecker::CDBSchemasResolver::schemaPaths[] [package]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:59 2009 for ACS Java API by doxygen 1.3.8