com.sun.faces.taglib.html_basic
Class CommandTagParserImpl

java.lang.Object
  extended by com.sun.faces.taglib.html_basic.CommandTagParserImpl
All Implemented Interfaces:
TagParser

public class CommandTagParserImpl
extends java.lang.Object
implements TagParser

Parses the command tag attributes and verifies that the required attributes are present


Constructor Summary
CommandTagParserImpl()
          CommandTagParserImpl constructor
 
Method Summary
 java.lang.String getMessage()
          Get the failure message
 boolean hasFailed()
          Return false if validator conditions have not been met
 void parseEndElement()
          Parse the end element
 void parseStartElement()
          Parse the starting element.
 void setValidatorInfo(ValidatorInfo validatorInfo)
          Set the validator info object that has the current tag information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandTagParserImpl

public CommandTagParserImpl()

CommandTagParserImpl constructor

Method Detail

setValidatorInfo

public void setValidatorInfo(ValidatorInfo validatorInfo)

Set the validator info object that has the current tag information

Specified by:
setValidatorInfo in interface TagParser
Parameters:
ValidatorInfo - object with current tag info

getMessage

public java.lang.String getMessage()

Get the failure message

Specified by:
getMessage in interface TagParser
Returns:
String Failure message

hasFailed

public boolean hasFailed()

Return false if validator conditions have not been met

Specified by:
hasFailed in interface TagParser
Returns:
boolean false if validation conditions have not been met

parseStartElement

public void parseStartElement()

Parse the starting element. Parcel out to appropriate handler method.

Specified by:
parseStartElement in interface TagParser

parseEndElement

public void parseEndElement()

Parse the end element

Specified by:
parseEndElement in interface TagParser


Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.