public interface EnvironmentHandler
BuiltinEnvironment should append children to the outgoing DOM.
An instance of this interface must be stateless once created.
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleEnvironment(DOMBuilder builder,
org.w3c.dom.Element parentElement,
EnvironmentToken token)
Called when a
CommandToken is being handled by the DOMBuilder. |
void handleEnvironment(DOMBuilder builder, org.w3c.dom.Element parentElement, EnvironmentToken token) throws SnuggleParseException
CommandToken is being handled by the DOMBuilder.builder - 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.SnuggleParseException