FileDocCategorySizeDatePackage
JstlCoreTLV.javaAPI DocGlassfish v2 API11948Sat May 05 19:18:02 BST 2007org.apache.taglibs.standard.tlv

JstlCoreTLV

public class JstlCoreTLV extends JstlBaseTLV

A SAX-based TagLibraryValidator for the core JSTL tag library. Currently implements the following checks:

  • Expression syntax validation.
  • Choose / when / otherwise constraints
  • Tag bodies that must either be empty or non-empty given particular attributes. (E.g., cannot have a body when 'value' is specified; it *must* have a body otherwise.) For these purposes, "having a body" refers to non-whitespace content inside the tag.
  • Other minor constraints.
author
Shawn Bayern

Fields Summary
private final String
CHOOSE
private final String
WHEN
private final String
OTHERWISE
private final String
EXPR
private final String
SET
private final String
IMPORT
private final String
URL
private final String
REDIRECT
private final String
PARAM
private final String
TEXT
private final String
VALUE
private final String
DEFAULT
private final String
VAR_READER
private final String
IMPORT_WITH_READER
private final String
IMPORT_WITHOUT_READER
Constructors Summary
Methods Summary
protected org.xml.sax.helpers.DefaultHandlergetHandler()

	return new Handler();
    
public javax.servlet.jsp.tagext.ValidationMessage[]validate(java.lang.String prefix, java.lang.String uri, javax.servlet.jsp.tagext.PageData page)



    //*********************************************************************
    // set its type and delegate validation to super-class
       
	          
	return super.validate( TYPE_CORE, prefix, uri, page );