|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.talika.tarsis.command.factory.xml.XmlCommandPackageLoader
Utility class that permits load command definitions of a package definition file.
| Constructor Summary | |
|---|---|
XmlCommandPackageLoader(Context context)
Creatres a new XmlCommandPackageLoader for a given Tarsis
context. |
|
| Method Summary | |
|---|---|
java.util.Map |
load(java.lang.String packageName,
java.lang.String fileName)
Loads command definitions of a package from a given file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XmlCommandPackageLoader(Context context)
XmlCommandPackageLoader for a given Tarsis
context.
context - Context Tarsis context.| Method Detail |
public java.util.Map load(java.lang.String packageName,
java.lang.String fileName)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
packageName - String package name.fileName - String command definitions file which contains package
definition.
org.xml.sax.SAXException - Any SAX exception, possibly wrapping another exception.
java.io.IOException - If there is an error setting up the input source.
javax.xml.parsers.ParserConfigurationException - if a parser cannot be created which
satisfies the requested configuration.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||