dk.brics.servletvalidator.tagform
Class TagParenthesisModel

java.lang.Object
  extended by dk.brics.servletvalidator.tagform.TagParenthesisModel
All Implemented Interfaces:
ParenthesisModel

public class TagParenthesisModel
extends Object
implements ParenthesisModel

A parenthesisModel where < and </ are the start parentheses and > and /> are end parentheses

Author:
schwarz

Constructor Summary
TagParenthesisModel()
           
 
Method Summary
 boolean isEndParanthesis(Terminal t)
          Returns true if the terminal is an end parenthesis
 boolean isStartParanthesis(Terminal t)
          Returns true if the terminal is a start parenthesis
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagParenthesisModel

public TagParenthesisModel()
Method Detail

isEndParanthesis

public boolean isEndParanthesis(Terminal t)
Description copied from interface: ParenthesisModel
Returns true if the terminal is an end parenthesis

Specified by:
isEndParanthesis in interface ParenthesisModel

isStartParanthesis

public boolean isStartParanthesis(Terminal t)
Description copied from interface: ParenthesisModel
Returns true if the terminal is a start parenthesis

Specified by:
isStartParanthesis in interface ParenthesisModel


Copyright © 2008 Mathias Schwarz.