com.sun.faces.taglib.jsf_core
Class IdTagParserImpl

java.lang.Object
  extended by com.sun.faces.taglib.jsf_core.IdTagParserImpl
All Implemented Interfaces:
TagParser

public class IdTagParserImpl
extends java.lang.Object
implements TagParser

Parses tags to verify that an id attribute is present if it is determined to be required


Constructor Summary
IdTagParserImpl()
          CommandTagParser 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 ending 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

IdTagParserImpl

public IdTagParserImpl()

CommandTagParser 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. If it is a specific JSTL tag make sure that the nested JSF tags have IDs.

Specified by:
parseStartElement in interface TagParser

parseEndElement

public void parseEndElement()

Parse the ending element. If it is a specific JSTL tag make sure that the appropriate flags are set.

Specified by:
parseEndElement in interface TagParser


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