BEA Systems, Inc.

com.beasys.commerce.axiom.jsp.tags
Class AbstractTag

java.lang.Object
  |
  +--weblogic.utils.compiler.CodeGenerator
        |
        +--com.beasys.commerce.axiom.jsp.tags.AbstractTag
Direct Known Subclasses:
ESAbstractTag, ForEachInArrayTag

public abstract class AbstractTag
extends weblogic.utils.compiler.CodeGenerator
implements weblogic.servlet.jsp.JspExtension

Provides default implementation of weblogic.servlet.jsp.JspExtension for custom tags.


Inner classes inherited from class weblogic.utils.compiler.CodeGenerator
weblogic.utils.compiler.CodeGenerator.Output
 
Fields inherited from class weblogic.utils.compiler.CodeGenerator
NON_WORD_CHARS
 
Constructor Summary
AbstractTag()
           
 
Method Summary
 java.lang.String processEndTag(java.lang.String tag, java.util.Properties props)
          Default Implementation, JspExtension.
 java.lang.String processStartTag(java.lang.String tag, java.util.Properties props)
          Default Implementation, JspExtension.
 java.lang.String processTag(java.lang.String tag, java.util.Properties props)
          Default Implementation, JspExtension.
 void setJspContext(weblogic.servlet.jsp.JspContext jspc)
          Default Implementation, JspExtension.
 java.lang.String uniqueId()
           
 
Methods inherited from class weblogic.utils.compiler.CodeGenerator
argumentLookup, baseConversion, buildString, classLookup, date, ensureDir, exceptions, expandArrayClass, generate, generate, generate, generate, generateCode, generator, get_component_type, getFileChars, getRootDirectoryName, installResource, is_primitive_array, javaCodeForType, lookupConvert, parameters, parse, primitive_type_array, primitive_type, readLookup, rootDirectory, setRootDirectoryName, setTargetDirectory, targetFile, time, timeAndDate, type_array, writeLookup, year
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTag

public AbstractTag()
Method Detail

setJspContext

public void setJspContext(weblogic.servlet.jsp.JspContext jspc)
Default Implementation, JspExtension. Sets the weblogic.servlet.jsp.JspContext for the tag.
Specified by:
setJspContext in interface weblogic.servlet.jsp.JspExtension
Parameters:
jspc - the new JspContext.

processTag

public java.lang.String processTag(java.lang.String tag,
                                   java.util.Properties props)
                            throws weblogic.servlet.jsp.JspExtensionException
Default Implementation, JspExtension. Employed when a tag that has no enclosed body in its JSP invocation is opened.
Specified by:
processTag in interface weblogic.servlet.jsp.JspExtension
Parameters:
tag - the tag name
properties - the properties passed to the tag, which result from the tag attributes used in its JSP invocation.
Returns:
resultant JSP code, inserted into the JSP file's _jspService method. Default implementation returns an empty String.
Throws:
weblogic.servlet.jsp.JspExtensionException -  

processStartTag

public java.lang.String processStartTag(java.lang.String tag,
                                        java.util.Properties props)
                                 throws weblogic.servlet.jsp.JspExtensionException
Default Implementation, JspExtension. Employed when a tag that has an enclosed body in its JSP invocation is opened.
Specified by:
processStartTag in interface weblogic.servlet.jsp.JspExtension
Parameters:
tag - the tag name
properties - the properties passed to the tag, which result from the tag attributes used in its JSP invocation.
Returns:
resultant JSP code, inserted into the JSP file's _jspService method. Default implementation returns a empty String.
Throws:
weblogic.servlet.jsp.JspExtensionException -  

processEndTag

public java.lang.String processEndTag(java.lang.String tag,
                                      java.util.Properties props)
                               throws weblogic.servlet.jsp.JspExtensionException
Default Implementation, JspExtension. Employed when a tag that has an enclosed body in its JSP invocation is opened.
Specified by:
processEndTag in interface weblogic.servlet.jsp.JspExtension
Parameters:
tag - the tag name
properties - the properties passed to the tag, which result from the tag attributes used in its JSP invocation.
Returns:
resultant JSP code, inserted into the JSP file's _jspService method. Default implementation returns an empty String.
Throws:
weblogic.servlet.jsp.JspExtensionException -  

uniqueId

public java.lang.String uniqueId()

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved