junit.extensions.xml.elements
Class NoOpTagHandler

java.lang.Object
  extended byjunit.extensions.xml.elements.AbstractTagHandler
      extended byjunit.extensions.xml.elements.NoOpTagHandler
All Implemented Interfaces:
XMLConstants

public class NoOpTagHandler
extends AbstractTagHandler

Provide a mechanism for turning off specific tag handlers by changing the tag handler assignment.

Tag Name

noop

Examples

Simple usage
  <noop/>
 
Used as a tag hander to ignore user tags.
 <taghandlers action="add" tagname="mytag" classname="junit.extensions.xml.elements.NoOpTagHandler/>
 

Author:
Kevin Wilson

Field Summary
 
Fields inherited from class junit.extensions.xml.elements.AbstractTagHandler
 
Fields inherited from interface junit.extensions.xml.XMLConstants
ACTION, ACTUALOBJ, ACTUALREFID, ADD, ASSERTENABLED, ASSERTEQUALS, ASSERTNOTEQUALS, ASSERTNOTNULL, ASSERTNOTSAME, ASSERTNULL, ASSERTSAME, CALL, CASE, CHOOSE, CLASSNAME, COLUMN, CONFIRM, DEBUG, DEFAULT, DELIMITER, DIALOG, DUMP, ECHO, ENABLED, ENCODING, EVALUATE, EXPECTEDOBJ, EXPECTEDREFID, FAIL, FILE, FOCUS, FOREACH, ID, INDEX, JFCFILELOC, LESSTHAN, LISTITEM, LOG, MARK, MESSAGE, METHOD, MODE, NAME, OTHERWISE, PATHREFID, PROCEDURE, PROPERTY, RECURSIVE, REFID, RELATIVE, REMOVE, ROW, SAVE, STDERR, STDOUT, STOPWATCH, SUITE, SWITCH, TABLECELL, TAGHANDLERS, TAGNAME, TEST, TYPE, USERE, VALUE, WHEN, WHILE
 
Constructor Summary
NoOpTagHandler(org.w3c.dom.Element element, IXMLTestCase testcase)
          Constructor.
 
Method Summary
 void processElement()
          Handle the XML processing of the tag 'noop'.
 
Methods inherited from class junit.extensions.xml.elements.AbstractTagHandler
checkAtLeastOneRequiredAttribute, checkAtLeastOneRequiredAttribute, checkElementTagName, checkOneRequiredAttribute, checkOneRequiredAttribute, checkRequiredAttribute, checkRequiredAttribute, getBoolean, getBoolean, getBoolean, getBoolean, getElement, getInt, getInt, getLong, getLong, getPoint, getPoint, getString, getString, getString, getString, getTagName, getTest, getTestCase, getXMLTestCase, getXMLTestSuite, resolveVariables, validateElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpTagHandler

public NoOpTagHandler(org.w3c.dom.Element element,
                      IXMLTestCase testcase)
Constructor.

Parameters:
element - Element to be processed by the tag handler.
testcase - parent test case.
Method Detail

processElement

public void processElement()
Handle the XML processing of the tag 'noop'.

Specified by:
processElement in class AbstractTagHandler


Licensed under: GNU Lesser General Public License, Ver 2.1, February 1999