|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.scribble.protocol.parser.DefaultProtocolParserManager
public class DefaultProtocolParserManager
This class represents the default implementation of the ProtocolProtocolManager interface.
Constructor Summary | |
---|---|
DefaultProtocolParserManager()
This is the default constructor. |
Method Summary | |
---|---|
List<ProtocolParser> |
getParsers()
This method returns the list of protocol parsers. |
ProtocolModel |
parse(ProtocolContext context,
org.scribble.common.resource.Content content,
org.scribble.common.logging.Journal journal)
This method parses the supplied content to create a protocol model. |
void |
setParsers(List<ProtocolParser> parsers)
This method sets the list of protocol parsers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultProtocolParserManager()
Method Detail |
---|
public ProtocolModel parse(ProtocolContext context, org.scribble.common.resource.Content content, org.scribble.common.logging.Journal journal) throws IOException
parse
in interface ProtocolParserManager
context
- The protocol contextcontent
- The content to be parsedjournal
- The journal for reporting issues
IOException
- Failed to retrieve content to be parsedpublic List<ProtocolParser> getParsers()
getParsers
in interface ProtocolParserManager
public void setParsers(List<ProtocolParser> parsers)
setParsers
in interface ProtocolParserManager
parsers
- The list of protocol parsers
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |