|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.storage.IlpClassManagerLoader
public class IlpClassManagerLoader
This class can load an XML document into an IlpMutableClassManager.
This class has its own logger.
IlpMutableClassManager| Constructor Summary | |
|---|---|
IlpClassManagerLoader(String uri,
IlpContext c)
Creates a class manager loader to load a model from an XML document. |
|
IlpClassManagerLoader(String uri,
IlpContext c,
boolean validate)
Creates a class manager loader to load a model from an XML document. |
|
IlpClassManagerLoader(String uri,
IlpMutableClassManager classManager,
IlpTypeConverter typeConverter,
IlpURLAccessService urlAccessService)
Creates a class manager loader to load a model from an XML document. |
|
IlpClassManagerLoader(String uri,
IlpMutableClassManager classManager,
IlpTypeConverter typeConverter,
IlpURLAccessService urlAccessService,
boolean validate)
Creates a class manager loader to load a model from an XML document. |
|
| Method Summary | |
|---|---|
URL |
getURL()
Returns the URL of the XML document that
contains business class information. |
XMLReader |
getXMLReader()
Returns the XMLReader. |
void |
parse()
Parses an XML document containing a model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlpClassManagerLoader(String uri,
IlpMutableClassManager classManager,
IlpTypeConverter typeConverter,
IlpURLAccessService urlAccessService)
uri - The URI. It does not have to be fully resolved by
the application before it is passed.classManager - The class manager.typeConverter - The type converter used to load the XML document.urlAccessService - The URL access service used to resolve the URI.
public IlpClassManagerLoader(String uri,
IlpMutableClassManager classManager,
IlpTypeConverter typeConverter,
IlpURLAccessService urlAccessService,
boolean validate)
uri - The URI. It does not have to be fully resolved by
the application before it is passed.classManager - The class manager.typeConverter - The type converter used to load the XML document.urlAccessService - The URL access service used to resolve the URI.validate - Validates or not the XML document
public IlpClassManagerLoader(String uri,
IlpContext c)
uri - The URI. It does not have to be fully resolved by
the application before it is passed.c - Application context which contains information about
services that are needed to load the new model.
public IlpClassManagerLoader(String uri,
IlpContext c,
boolean validate)
uri - The URI. It does not have to be fully resolved by
the application before it is passed.c - Application context which contains information about
services that are needed to load the new model.validate - Validates or not the XML document.| Method Detail |
|---|
public URL getURL()
URL of the XML document that
contains business class information.
public XMLReader getXMLReader()
throws SAXException,
ParserConfigurationException
XMLReader.
SAXException
ParserConfigurationException
public void parse()
throws IOException,
SAXException
SAXException - which is any SAX exception, possibly wrapping another exception.
IOException - which is an IO exception from the parser,
possibly from a byte stream or character stream supplied by the application.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||