Class Tester
java.lang.Object
|
+--TestCase
|
+--Tester
- All Implemented Interfaces:
- myoPyx.Listener
- public class Tester
- extends TestCase
- implements myoPyx.Listener
- See Also:
- Serialized Form
|
Constructor Summary |
Tester(java.lang.String n)
|
|
Method Summary |
void |
endElement(java.lang.String name)
Called when the end tag for an element is encountered. |
void |
startElement(java.lang.String name,
java.util.HashMap attributes)
Called after the start tag is encountered, after the
attributes have been processed, and before any text, PI's
or other elements are processed. |
static Test |
suite()
|
void |
testBadContent()
|
void |
testBadTagOrder()
|
void |
testParse()
|
void |
testValidate()
|
void |
text(java.lang.String txt)
Called when a text node is encountered. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tester
public Tester(java.lang.String n)
testValidate
public void testValidate()
testParse
public void testParse()
testBadTagOrder
public void testBadTagOrder()
testBadContent
public void testBadContent()
suite
public static Test suite()
startElement
public void startElement(java.lang.String name,
java.util.HashMap attributes)
- Description copied from interface:
myoPyx.Listener
- Called after the start tag is encountered, after the
attributes have been processed, and before any text, PI's
or other elements are processed.
- Specified by:
startElement in interface myoPyx.Listener
endElement
public void endElement(java.lang.String name)
- Description copied from interface:
myoPyx.Listener
- Called when the end tag for an element is encountered.
- Specified by:
endElement in interface myoPyx.Listener
text
public void text(java.lang.String txt)
- Description copied from interface:
myoPyx.Listener
- Called when a text node is encountered. The text contents are
passed as the argument.
- Specified by:
text in interface myoPyx.Listener