org.lwes.db
Class ESFParser
java.lang.Object
org.lwes.db.ESFParser
- All Implemented Interfaces:
- ESFParserConstants
public class ESFParser
- extends java.lang.Object
- implements ESFParserConstants
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public ESFParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
ESFParser
public ESFParser(java.io.InputStream stream)
ESFParser
public ESFParser(java.io.InputStream stream,
java.lang.String encoding)
ESFParser
public ESFParser(java.io.Reader stream)
ESFParser
public ESFParser(ESFParserTokenManager tm)
setEventTemplateDB
public void setEventTemplateDB(EventTemplateDB DB)
getEventTemplateDB
public EventTemplateDB getEventTemplateDB()
setCurrentEvent
public void setCurrentEvent(java.lang.String evt)
getCurrentEvent
public java.lang.String getCurrentEvent()
eventlist
public final void eventlist()
throws ParseException
- A list of events
- Throws:
ParseException
event
public final void event()
throws ParseException
- a single event
- Throws:
ParseException
eventName
public final void eventName()
throws ParseException
- The name of an event, should be max 256 chars ([a-zA-Z0-9_]*)
- Throws:
ParseException
attributeList
public final void attributeList()
throws ParseException
- Throws:
ParseException
attribute
public final void attribute()
throws ParseException
- Throws:
ParseException
type
public final java.lang.String type()
throws ParseException
- Throws:
ParseException
attributeName
public final java.lang.String attributeName()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.InputStream stream,
java.lang.String encoding)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(ESFParserTokenManager 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()