|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
se.kmr.scam.client.chain.CommandChainParser
Parser for CommandChain configurations.
| Constructor Summary | |
CommandChainParser()
|
|
| Method Summary | |
void |
endElement(String namespaceURI,
String localName,
String qName)
Handles the ending of an element |
Map |
getActionsMapping()
Deprecated. |
CommandChainConfiguration |
getConfiguration()
Gets current configuration. |
void |
parse(InputStream is)
Parse the CommandChain definitions from a stream |
void |
parse(String filename)
Parse the given XML-file. |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
Handles the start of an element |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CommandChainParser()
| Method Detail |
public void parse(String filename)
throws HttpException
filename -
HttpException - thrown in case of exception while parsing the
configuration
public void parse(InputStream is)
throws HttpException
is - Parse this stream
HttpException - thrown in case of exception while parsing the
configurationpublic CommandChainConfiguration getConfiguration()
public Map getActionsMapping()
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
namespaceURI - The namespace of the elementlocalName - The local name of the elementqName - The element nameatts - Attributes defined in the element
SAXException - Thrown in case of an exception in processing the
start of an element.
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
namespaceURI - The namespace of the elementlocalName - The local name of the elementqName - The element name
SAXException - thrown in case of missmatch in configuration
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||