com.cc.framework.taglib.svg
Class SvgTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.cc.framework.taglib.svg.SvgTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class SvgTag
extends javax.servlet.jsp.tagext.TagSupport

This Tag is used to embedd a SVG-Stream in a HTML-Page

Since:
1.0
Version:
$Revision: 1.23 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private  java.lang.String height
          Height
private  org.apache.commons.logging.Log log
          Commons Logging instance.
private  java.lang.String name
          The name of the bean containing our underlying property.
private  java.lang.String property
          Property
private  HttpScope scope
          The Scope of the bean containing our underlying property.
private static long serialVersionUID
          Serial Version UID
private  java.lang.String width
          Width
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
SvgTag()
          Constructor
 
Method Summary
 int doEndTag()
           
protected  java.lang.String getResourceName()
          Returns the rescource name
protected  java.lang.Object lookupBean()
          Retrieves the bean which holds the Display Data or Control Instance
 void release()
           
 void setHeight(java.lang.String value)
          Sets the height
 void setName(java.lang.String value)
          Sets the name
 void setPageContext(javax.servlet.jsp.PageContext pc)
           
 void setProperty(java.lang.String property)
          Sets the property
 void setScope(java.lang.String scope)
          Sets the scope
 void setWidth(java.lang.String value)
          Sets the width
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

log

private transient org.apache.commons.logging.Log log
Commons Logging instance.


scope

private HttpScope scope
The Scope of the bean containing our underlying property.


name

private java.lang.String name
The name of the bean containing our underlying property.


property

private java.lang.String property
Property


width

private java.lang.String width
Width


height

private java.lang.String height
Height

Constructor Detail

SvgTag

public SvgTag()
Constructor

Method Detail

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext pc)
See Also:
Tag.setPageContext(PageContext pc)

release

public void release()
See Also:
Tag.release()

lookupBean

protected java.lang.Object lookupBean()
                               throws javax.servlet.jsp.JspException
Retrieves the bean which holds the Display Data or Control Instance

Returns:
Bean (Control instance or DataModel)
Throws:
javax.servlet.jsp.JspException - Is thrown when the bean could not be found

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
See Also:
Tag.doEndTag()

getResourceName

protected java.lang.String getResourceName()
Returns the rescource name

Returns:
String

setScope

public void setScope(java.lang.String scope)
              throws javax.servlet.jsp.JspException
Sets the scope

Parameters:
scope - Scope
Throws:
javax.servlet.jsp.JspException - If the Argument can't be converted to HttpScope

setName

public void setName(java.lang.String value)
Sets the name

Parameters:
value - Name

setProperty

public void setProperty(java.lang.String property)
                 throws javax.servlet.jsp.JspException
Sets the property

Parameters:
property - Property
Throws:
javax.servlet.jsp.JspException

setWidth

public void setWidth(java.lang.String value)
Sets the width

Parameters:
value - Width

setHeight

public void setHeight(java.lang.String value)
Sets the height

Parameters:
value - Height


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.