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

Inheritance diagram for cl::utfsm::cdbChecker::CDBSchemasResolver:
Inheritance graph
[legend]
Collaboration diagram for cl::utfsm::cdbChecker::CDBSchemasResolver:
Collaboration graph
[legend]

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.

References schemaPaths.


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.

References schemaPaths.

Referenced by resolveEntity().

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

References findSchemaFile().


Member Data Documentation


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2