|
Evolvica Core API Version 0.6.3 Last Modified: July 20 2004 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.evolvica.engine.AlgorithmBuilder
Algorithm builder.
| Constructor Summary | |
AlgorithmBuilder()
Constructor. |
|
| Method Summary | |
IAlgorithm |
build(org.w3c.dom.Document document)
Builds an algorithm from a XML document. |
IAlgorithm |
build(org.w3c.dom.Document document,
java.lang.ClassLoader loader)
Builds an algorithm from a XML document. |
IAlgorithm |
build(java.io.InputStream stream)
Builds an algorithm from the given inputstream. |
IAlgorithm |
build(java.io.InputStream stream,
java.lang.ClassLoader loader)
Builds an algorithm from the given inputstream. |
IAlgorithm |
build(java.lang.String uri)
Builds an algorithm from the resource at the given URI. |
IAlgorithm |
build(java.lang.String uri,
java.lang.ClassLoader loader)
Builds an algorithm from the resource at the given URI. |
org.w3c.dom.Document |
buildDocument(java.io.InputStream stream)
Reads an algorithm description but does not build the algorithm. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AlgorithmBuilder()
| Method Detail |
public IAlgorithm build(java.lang.String uri)
throws SerializationException,
org.xml.sax.SAXException,
java.io.IOException
uri - URI pointing to an algorithm description.
java.io.IOException - thrown if access to the given description fails
org.xml.sax.SAXException - thrown if the given description is invalid
SerializationException - thrown in case the deserialization of the XML document fails
public IAlgorithm build(java.lang.String uri,
java.lang.ClassLoader loader)
throws SerializationException,
org.xml.sax.SAXException,
java.io.IOException
uri - URI pointing to an algorithm descriptionloader - classloader to use for instantiating the classes
java.io.IOException - thrown if access to the given description fails
org.xml.sax.SAXException - thrown if the given description is invalid
SerializationException - thrown in case the deserialization of the XML document fails
public IAlgorithm build(java.io.InputStream stream)
throws SerializationException,
org.xml.sax.SAXException,
java.io.IOException
stream - input stream
java.io.IOException - thrown if access to the given description fails
org.xml.sax.SAXException - thrown if the given description is invalid
SerializationException - thrown in case the deserialization of the XML document fails
public IAlgorithm build(java.io.InputStream stream,
java.lang.ClassLoader loader)
throws SerializationException,
org.xml.sax.SAXException,
java.io.IOException
stream - input streamloader - classloader to use for instantiating the classes
java.io.IOException - thrown if access to the given description fails
org.xml.sax.SAXException - thrown if the given description is invalid
SerializationException - thrown in case the deserialization of the XML document fails
public org.w3c.dom.Document buildDocument(java.io.InputStream stream)
throws java.io.IOException,
org.xml.sax.SAXException
stream - input stream to read the description from
java.io.IOException - thrown if access to the given description fails
org.xml.sax.SAXException - thrown if the given description is invalid
public IAlgorithm build(org.w3c.dom.Document document)
throws SerializationException
document - XML document containing an algorithm description
SerializationException - thrown in case the deserialization of the XML document fails
public IAlgorithm build(org.w3c.dom.Document document,
java.lang.ClassLoader loader)
throws SerializationException
document - XML document containing an algorithm descriptionloader - class loader to use for instantiating the classes
SerializationException - thrown in case the deserialization of the XML document fails
|
Evolvica Core API Version 0.6.3 Last Modified: July 20 2004 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||