|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.evolvica.engine.DescriptorBuilder
Builder for loading operator descriptors.
Constructor Summary | |
DescriptorBuilder()
|
Method Summary | |
static OperatorDescriptor |
build(org.w3c.dom.Document document)
Builds a descriptor from the given XML document. |
static OperatorDescriptor |
build(java.io.InputStream stream)
Loads a descriptor from the given input stream. |
static OperatorDescriptor |
build(java.net.URI uri)
Loads a descriptor from the given URI. |
static void |
updateDescriptor(org.w3c.dom.Element element,
AttributeDescriptor descriptor)
Updates an existing attribute descriptor with the information from the given XML element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DescriptorBuilder()
Method Detail |
public static OperatorDescriptor build(java.net.URI uri) throws SerializationException
uri
- URI to load descriptor from
SerializationException
- thrown in case the loading of the descriptor failspublic static OperatorDescriptor build(java.io.InputStream stream) throws SerializationException
stream
- input stream to load descriptor from
SerializationException
- thrown in case the loading of the descriptor failspublic static OperatorDescriptor build(org.w3c.dom.Document document) throws SerializationException
document
- XML document to create the descriptor from
SerializationException
- thrown in case the descriptor building failspublic static void updateDescriptor(org.w3c.dom.Element element, AttributeDescriptor descriptor)
element
- XML elementdescriptor
- attribute descriptor to be updated
|
Evolvica Core API Version 0.6.2 Last Modified: June 29 2004 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |