Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogicx.jsp.tags.validators
Class ValidatableTagAdapter

java.lang.Object
  extended by weblogicx.jsp.tags.validators.ValidatableAdapter
      extended by weblogicx.jsp.tags.validators.ValidatableTagAdapter
All Implemented Interfaces:
Serializable, Validatable
Direct Known Subclasses:
CustomValidator

public abstract class ValidatableTagAdapter
extends ValidatableAdapter

See Also:
Serialized Form

Field Summary
protected  BodyContent bodyContent
           
protected  PageContext pageContext
           
protected  Tag parent
           
 
Fields inherited from class weblogicx.jsp.tags.validators.ValidatableAdapter
errorMessage, fieldToValidate, isValid
 
Fields inherited from interface weblogicx.jsp.tags.validators.Validatable
ENCODED_SEPERATOR, SEPERATOR
 
Constructor Summary
ValidatableTagAdapter()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
           
 void doInitBody()
           
 int doStartTag()
           
 String getHiddenField()
           
 Tag getParent()
           
 void release()
           
 void setBodyContent(BodyContent b)
           
 void setPageContext(PageContext pc)
           
 void setParent(Tag t)
           
abstract  boolean userExit()
          This acts as an User Exit...
 
Methods inherited from class weblogicx.jsp.tags.validators.ValidatableAdapter
decodeHiddenField, defaultDecodeHiddenField, defaultWriteHiddenField, getErrorMessage, getFieldToValidate, isValid, setErrorMessage, setFieldToValidate, setIsValid, validate, writeHiddenField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected Tag parent

pageContext

protected PageContext pageContext

bodyContent

protected BodyContent bodyContent
Constructor Detail

ValidatableTagAdapter

public ValidatableTagAdapter()
Method Detail

setPageContext

public void setPageContext(PageContext pc)

setParent

public void setParent(Tag t)

getParent

public Tag getParent()

setBodyContent

public void setBodyContent(BodyContent b)

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException

doInitBody

public void doInitBody()

doAfterBody

public int doAfterBody()

doEndTag

public int doEndTag()
             throws JspException
Throws:
JspException

release

public void release()

getHiddenField

public String getHiddenField()
                      throws JspException
Throws:
JspException

userExit

public abstract boolean userExit()
                          throws JspException
This acts as an User Exit... This Class guarantees that this method will be called in the doStartTag method.

Returns:
boolean which says whether the user exit was successful or not. true --> EVAL_BODY_TAG false --> SKIP_BODY
Throws:
JspException

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04