|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscs.core.builder.XMLComponentBuilder
public final class XMLComponentBuilder
The purpose of this class is to build components based entirely on an XML description. The XML file must comply to the official XSD.
Constructor Summary | |
---|---|
XMLComponentBuilder(ORB orb,
POA poa)
Constructs a builder that uses XML as a description format to assembly a component. |
Method Summary | |
---|---|
ComponentContext |
build(File file)
Builds a component, based on an XML file. |
ComponentContext |
build(InputStream input)
Builds a component, based on an XML file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLComponentBuilder(ORB orb, POA poa) throws SchemaNotFoundException, InvalidSchemaException, ParserConfigurationException
orb
- The orb that shall be associated to this component and its CORBA
objects.poa
- The poa that shall be used to activate and deactivate the
servants.
SchemaNotFoundException
InvalidSchemaException
ParserConfigurationException
Method Detail |
---|
public ComponentContext build(File file) throws IOException, SCSException
input
- The XML file.
SCSException
- If any error occurs. The exception will contain the
more specific exception.
IOException
public ComponentContext build(InputStream input) throws IOException, SCSException
inputStream
- .
IOException
SCSException
- If any error occurs. The exception will contain the
more specific exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |