jade.lang.acl
Class ACLParser
java.lang.Object
jade.lang.acl.ACLParser
- All Implemented Interfaces:
- ACLParserConstants
public class ACLParser
- extends java.lang.Object
- implements ACLParserConstants
Javadoc documentation for the file
- Version:
- $Date: 2005-04-15 17:50:12 +0200 (Fri, 15 Apr 2005) $ $Revision: 5671 $
- Author:
- Fabio Bellifemine - CSELT S.p.A
| Fields inherited from interface jade.lang.acl.ACLParserConstants |
ADDRESSES, AID, AIDSTATE, CONTENT, CONTENTSTATE, CONVERSATION_ID, DATETIME, DEFAULT, DIGIT, ENCODING, END, EOF, FLOATONE, FLOATTWO, IN_REPLY_TO, INTEGER, LANGUAGE, LBRACE, LBRACE2, MESSAGEPARAMETERSTATE, MESSAGETYPE, MESSAGETYPESTATE, NAME, ONTOLOGY, PREFIXBYTELENGTHENCODEDSTRING, PROTOCOL, RBRACE, RBRACE2, RECEIVER, REPLY_BY, REPLY_TO, REPLY_WITH, RESOLVERS, SENDER, SEQUENCE, SET, START, STRINGLITERAL, tokenImage, USERDEFINEDPARAM, USERDEFINEDSLOT, WORD |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public ACLParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
ACLParser
public ACLParser(java.io.InputStream stream)
ACLParser
public ACLParser(java.io.Reader stream)
ACLParser
public ACLParser(ACLParserTokenManager tm)
main
public static void main(java.lang.String[] args)
throws ParseException
- Throws:
ParseException
create
public static ACLParser create()
parse
public ACLMessage parse(java.io.Reader text)
throws ParseException
- Throws:
ParseException
parseAID
public AID parseAID(java.io.Reader text)
throws ParseException
- Throws:
ParseException
Message
public final ACLMessage Message()
throws ParseException
- Throws:
ParseException
MessageType
public final void MessageType()
throws ParseException
- Throws:
ParseException
MessageParameter
public final void MessageParameter()
throws ParseException
- Throws:
ParseException
Content
public final java.lang.String Content()
throws ParseException
- Throws:
ParseException
AgentIdentifier
public final AID AgentIdentifier()
throws ParseException
- Throws:
ParseException
Expression
public final java.lang.String Expression()
throws ParseException
- Throws:
ParseException
Word
public final java.lang.String Word()
throws ParseException
- Throws:
ParseException
Stringa
public final java.lang.String Stringa()
throws ParseException
- Throws:
ParseException
StringLiteral
public final java.lang.String StringLiteral()
throws ParseException
- Throws:
ParseException
ByteLengthEncodedString
public final java.lang.String ByteLengthEncodedString()
throws ParseException
- Throws:
ParseException
Number
public final java.lang.String Number()
throws ParseException
- Throws:
ParseException
DateTimeToken
public final java.lang.String DateTimeToken()
throws ParseException
- Throws:
ParseException
Digit
public final java.lang.String Digit()
throws ParseException
- Throws:
ParseException
Integer
public final java.lang.String Integer()
throws ParseException
- Throws:
ParseException
Float
public final java.lang.String Float()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(ACLParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()