|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.io.SemanticsLoader
Loads SemanticModule
definition from XML descriptor.
Field Summary | |
static java.lang.String |
DESCRIPTOR_NAME
Name of smf descriptor. |
Constructor Summary | |
SemanticsLoader()
Construct. |
Method Summary | |
SemanticModule |
load(java.lang.String packageName)
Load a SemanticModule deifnition from a URL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DESCRIPTOR_NAME
Constructor Detail |
public SemanticsLoader()
Method Detail |
public SemanticModule load(java.lang.String packageName) throws java.io.IOException, java.lang.Exception
SemanticModule
deifnition from a URL.packageName
- The java package containing the module.null
if none found.java.io.IOException
- If an IO errors occurs.java.lang.Exception
- If an error occurs evaluating the definition.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |