public final class ListEnvironmentHandler extends Object implements EnvironmentHandler, CommandHandler
itemize and enumerate).| Constructor and Description |
|---|
ListEnvironmentHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleCommand(DOMBuilder builder,
Element parentElement,
CommandToken itemToken)
Called when a
CommandToken is being handled by the DOMBuilder. |
void |
handleEnvironment(DOMBuilder builder,
Element parentElement,
EnvironmentToken token)
Builds the actual List environment
|
public void handleEnvironment(DOMBuilder builder, Element parentElement, EnvironmentToken token) throws SnuggleParseException
handleEnvironment in interface EnvironmentHandlerbuilder - DOMBuilder running this process, which provides access
to convenience method for appending Nodes to the DOMparentElement - parent Element that the resulting Nodes should (can) be
added totoken - Token representing the environment being processed.SnuggleParseExceptionpublic void handleCommand(DOMBuilder builder, Element parentElement, CommandToken itemToken) throws SnuggleParseException
CommandHandlerCommandToken is being handled by the DOMBuilder.handleCommand in interface CommandHandlerbuilder - DOMBuilder running this process, which provides access
to convenience method for appending Nodes to the DOMparentElement - parent Element that the resulting Nodes should (can) be
added toitemToken - Token representing the command being processed.SnuggleParseException - to indicate a client errorCopyright © 2008–2026 The University of Edinburgh. All rights reserved.