public class ParserState extends ScannerState
Modifier and Type | Field and Description |
---|---|
TokenHandler |
handler |
boolean |
nextControlOpt |
RTFProperties |
props |
level, parentState
Constructor and Description |
---|
ParserState(TokenHandler handler) |
ParserState(TokenHandler handler,
RTFProperties initialProperties) |
Modifier and Type | Method and Description |
---|---|
ScannerState |
childState() |
ParserState |
getParentParserState() |
RTFProperties |
getParentProperties() |
protected void |
leave()
Is called when this state is leaved and switched to parent state.
|
void |
setStateLeavedListener(StateLeavedListener l,
int code) |
public TokenHandler handler
public RTFProperties props
public boolean nextControlOpt
public ParserState(TokenHandler handler)
public ParserState(TokenHandler handler, RTFProperties initialProperties)
public ScannerState childState()
childState
in class ScannerState
public ParserState getParentParserState()
public RTFProperties getParentProperties()
protected void leave()
ScannerState
leave
in class ScannerState
public void setStateLeavedListener(StateLeavedListener l, int code)
© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.