public class IlpClassManagerLoader extends Object
IlpMutableClassManager.
This class has its own logger.IlpMutableClassManager| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 documentpublic 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.public URL getURL()
URL of the XML document that
contains business class information.public XMLReader getXMLReader() throws SAXException, ParserConfigurationException
XMLReader.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.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.