com.bea.content.manager.servlets.jsp.taglib
Class GetBinaryPropertyTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.bea.content.manager.servlets.jsp.taglib.GetBinaryPropertyTag
All Implemented Interfaces
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class GetBinaryPropertyTag
extends javax.servlet.jsp.tagext.BodyTagSupport

Use GenericUrl to obtain binary properties data - from within a WSRP environment

See Also
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
GetBinaryPropertyTag()
          Constructs a GenericURL
 
Method Summary
protected  void addParameter(String name, String value)
          Add a query parameter.
 int doEndTag()
          Tag lifecycle method.
 int doStartTag()
          Tag lifecycle method.
 String getNodePath()
           
 String getServletMapping()
           
protected  com.bea.p13n.url.GenericURL getUrl()
          Start the tag.
protected  void init()
          Initializes this tag.
 void release()
          Releases the tag.
 void setContextualPath(String contextualPath)
          Sets contextual path.
 void setDomain(String domain)
          Sets the domain.
 void setEncodeSession(String encodeSession)
          Enables URL rewriting for encoding a session ID in the URL.
 void setForcedAmpForm(String useAmpEntity)
          Forces the form of query separators used for this URL.
 void setNodePath(String nodePath)
           
 void setPageContext(javax.servlet.jsp.PageContext pageContext)
          Sets the page context.
 void setPath(String path)
          Sets path.
 void setPathPrefix(String pathPrefix)
          Sets a path prefix.
 void setPort(int port)
          Sets a port.
 void setScheme(String scheme)
          Sets the protocol scheme.
 void setScope(String scope)
          Sets the scope.
 void setServletMapping(String servletMapping)
           
 void setTemplate(String template)
          Sets a URL template for this URL.
 void setVar(String var)
          Sets the var.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Constructor Detail

GetBinaryPropertyTag

public GetBinaryPropertyTag()

Constructs a GenericURL

Method Detail

init

protected void init()

Initializes this tag.


setForcedAmpForm

public void setForcedAmpForm(String useAmpEntity)

Forces the form of query separators used for this URL.

Parameters
useAmpEntity - boolean

setVar

public void setVar(String var)

Sets the var.

Parameters
var - name of the var

setScope

public void setScope(String scope)

Sets the scope.

Parameters
scope - scope of the var

addParameter

protected void addParameter(String name,
                            String value)

Add a query parameter.

Parameters
name - name
value - value

setTemplate

public void setTemplate(String template)

Sets a URL template for this URL.

Parameters
template - url template

setScheme

public void setScheme(String scheme)

Sets the protocol scheme. Should be one of "HTTP" or "HTTPS". If a protocol is not specified, the protocol that was used to make the current request will be used.

Parameters
scheme - protocol scheme

setPort

public void setPort(int port)

Sets a port. If a port is not specified, the port that was used to make the current request will be used.

Parameters
port - port

setDomain

public void setDomain(String domain)

Sets the domain. If a domain is not specified, the domain that was used to make the current request will be used.

Parameters
domain - domain

setPath

public void setPath(String path)

Sets path.

Parameters
path - path

setPathPrefix

public void setPathPrefix(String pathPrefix)

Sets a path prefix.

Parameters
pathPrefix - path prefix

setContextualPath

public void setContextualPath(String contextualPath)

Sets contextual path.

Parameters
contextualPath -

setEncodeSession

public void setEncodeSession(String encodeSession)

Enables URL rewriting for encoding a session ID in the URL. If not set to true, does not encode the URL with the session ID. Default is true.

Parameters
encodeSession - boolean

release

public void release()

Releases the tag.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.BodyTagSupport

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException

Tag lifecycle method.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException

Tag lifecycle method.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws
javax.servlet.jsp.JspException

getServletMapping

public String getServletMapping()
Returns
Returns the servletMapping.

setServletMapping

public void setServletMapping(String servletMapping)
Parameters
servletMapping - The servletMapping to set.

getNodePath

public String getNodePath()
Returns
Returns the nodePath.

setNodePath

public void setNodePath(String nodePath)
Parameters
nodePath - The nodePath to set.

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pageContext)

Sets the page context.

Specified by:
setPageContext in interface javax.servlet.jsp.tagext.Tag
Overrides:
setPageContext in class javax.servlet.jsp.tagext.TagSupport
Parameters
pageContext - page context

getUrl

protected com.bea.p13n.url.GenericURL getUrl()
Start the tag.



Copyright © 2011, Oracle. All rights reserved.