public class SimpleHandler extends java.lang.Object implements TagHandler
<math><apply><plus/><ci>x</ci><cn type="real">3</cn></apply></math>becomes
math -apply --plus --ci ---x --cn {type=real} ---3
Modifier and Type | Class and Description |
---|---|
static class |
SimpleHandler.TreeNode
A class used to represent the tree.
|
Constructor and Description |
---|
SimpleHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
handle(StackFrame frame,
org.xml.sax.Locator loc)
Transform the element, called when a closing tag is encountered.
|
public java.lang.Object handle(StackFrame frame, org.xml.sax.Locator loc) throws org.xml.sax.SAXParseException
TagHandler
handle
in interface TagHandler
frame
- StackFrame representing the elementloc
- location in inputorg.xml.sax.SAXParseException
Copyright © 2018 Singular Systems http://www.singularsys.com/jep