|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContextGroup
This interface describes the container for group-related of an interpreter context.
| Method Summary | |
|---|---|
void |
afterGroup(AfterGroupObserver observer)
Register a observer to be called at the end of the group. |
void |
afterGroup(Token t)
Add a token to the tokens inserted after the group has been closed. |
void |
closeGroup(Typesetter typesetter,
TokenSource source)
Perform all actions required upon the closing of a group. |
GroupInfo[] |
getGroupInfos()
Getter for the array of group information describing the currently open groups. |
long |
getGroupLevel()
Getter for the group level. |
GroupType |
getGroupType()
Getter for the group type. |
boolean |
isGlobalGroup()
Test whether this group is the first one, which means that there is no group before and closing this group would fail. |
void |
openGroup(GroupType id,
Locator locator,
Token start)
This method can be used to open another group. |
| Method Detail |
|---|
void afterGroup(AfterGroupObserver observer)
observer - the observer to registercloseGroup(Typesetter, TokenSource)
void afterGroup(Token t)
throws HelpingException
t - the token to add
HelpingException - in case of an errorcloseGroup(Typesetter, TokenSource)
void closeGroup(Typesetter typesetter,
TokenSource source)
throws HelpingException
typesetter - the typesetter to invoke if neededsource - the source to get Tokens from if needed
HelpingException - in case of an erroropenGroup(GroupType, Locator, Token)GroupInfo[] getGroupInfos()
getGroupLevel()long getGroupLevel()
getGroupInfos()GroupType getGroupType()
openGroup(GroupType, Locator, Token)boolean isGlobalGroup()
true iff this is the first groupopenGroup(GroupType, Locator, Token)
void openGroup(GroupType id,
Locator locator,
Token start)
throws HelpingException
id - the type of the grouplocator - the locator for the startstart - the token which started the group
HelpingException - in case of an error
ConfigurationException - in case of an error in the configuration,
e.g. the class for the group can not be determined.closeGroup(Typesetter, TokenSource)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||