BEA Systems, Inc.

com.beasys.commerce.portal.tags
Class PortalTag

java.lang.Object
  |
  +--weblogic.utils.compiler.CodeGenerator
        |
        +--com.beasys.commerce.axiom.jsp.tags.AbstractTag
              |
              +--com.beasys.commerce.portal.tags.PTAbstractTag
                    |
                    +--com.beasys.commerce.portal.tags.PortalTag

public class PortalTag
extends PTAbstractTag
implements weblogic.servlet.jsp.JspExtension

Portal Tag provides the necessary methods for implementation of the customized tag.


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, targetDirectory, verboseCodegen
 
Constructor Summary
PortalTag()
           
 
Method Summary
 java.lang.String id()
           
 java.lang.String portalName()
           
 java.lang.String processEndTag(java.lang.String tag, java.util.Properties props)
          Called to process the tag attributes upon initial tag declaration.
 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)
          Called to process the tag attributes upon initial tag declaration.
 void setId(java.lang.String anId)
           
 void setJspContext(weblogic.servlet.jsp.JspContext aJspc)
          Default Implementation, JspExtension.
 void setPortalName(java.lang.String aPortalName)
           
 
Methods inherited from class com.beasys.commerce.portal.tags.PTAbstractTag
getDefaultValue, processTemplate
 
Methods inherited from class com.beasys.commerce.axiom.jsp.tags.AbstractTag
uniqueId
 
Methods inherited from class weblogic.utils.compiler.CodeGenerator
argumentLookup, baseConversion, buildString, classLookup, cleanup, date, ensureDir, exceptions, expandArrayClass, extractOptionValues, generate, generate, generate, generate, generateCode, generator, get_component_type, getFileChars, getProductionRule, getRootDirectoryName, getRuleName, installResource, is_primitive_array, javaCodeForType, lookupConvert, makeOutputStream, outputs, outputs, parameters, parse, prepare, primitive_type_array, primitive_type, processProductionRules, processTemplate, readLookup, rootDirectory, setRootDirectoryName, setTargetDirectory, targetFile, time, timeAndDate, type_array, writeLookup, year
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalTag

public PortalTag()
Method Detail

setPortalName

public void setPortalName(java.lang.String aPortalName)

portalName

public java.lang.String portalName()

setId

public void setId(java.lang.String anId)

id

public java.lang.String id()

setJspContext

public void setJspContext(weblogic.servlet.jsp.JspContext aJspc)
Description copied from class: AbstractTag
Default Implementation, JspExtension. Sets the weblogic.servlet.jsp.JspContext for the tag.
Specified by:
setJspContext in interface weblogic.servlet.jsp.JspExtension
Overrides:
setJspContext in class AbstractTag
Tags copied from class: AbstractTag
Parameters:
jspc - the new JspContext.

processStartTag

public java.lang.String processStartTag(java.lang.String tag,
                                        java.util.Properties props)
                                 throws weblogic.servlet.jsp.JspExtensionException
Description copied from class: AbstractTag
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
Overrides:
processStartTag in class AbstractTag
Tags copied from class: AbstractTag
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 -  

processTag

public java.lang.String processTag(java.lang.String tag,
                                   java.util.Properties props)
                            throws weblogic.servlet.jsp.JspExtensionException
Called to process the tag attributes upon initial tag declaration. This is a WLS-specific method, both in signature, and due to the use of the jspc variable.
Specified by:
processTag in interface weblogic.servlet.jsp.JspExtension
Overrides:
processTag in class AbstractTag
Parameters:
tag - the tage name
props - properties prescribed by tag attributes
Returns:
resultant jsp text

processEndTag

public java.lang.String processEndTag(java.lang.String tag,
                                      java.util.Properties props)
                               throws weblogic.servlet.jsp.JspExtensionException
Called to process the tag attributes upon initial tag declaration. This is a WLS-specific method, both in signature, and due to the use of the jspc variable.
Specified by:
processEndTag in interface weblogic.servlet.jsp.JspExtension
Overrides:
processEndTag in class AbstractTag
Parameters:
tag - the tage name
props - properties prescribed by tag attributes
Returns:
resultant jsp text

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved