dk.brics.servletvalidator.tagform
Class AttributeParenthesisModel

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

public class AttributeParenthesisModel
extends Object
implements ParenthesisModel

A parenthesismodel where =" is the start parenthesis and " is the end parenthesis

Author:
schwarz

Constructor Summary
AttributeParenthesisModel()
           
 
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

AttributeParenthesisModel

public AttributeParenthesisModel()
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.