|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport com.cc.framework.taglib.svg.EmbedTag
This tag is used to embedd a SVG stream in a HTML page. The tag inserts the SVG-Stream specified in the tag-body directly in the resulting HTML page. The SVG-Stream is saved in the ResourceManager for this purpose. On the HTML-page, the following reference to the registered resource is written (see example):
<object data='/cc/session/svgresource.res' width='100%' height='200' type='image/svg+xml'> <embed src='/cc/session/svgresource.res' width='100%' height='200' type='image/svg+xml' pluginspage='http://www.adobe.com/svg/viewer/install/'/> </object>The tag uses the Resource-Servlet of the common controls framework. There must be an SVG-Viewer installed on the client system.
Field Summary | |
private java.lang.String |
height
Height of the SVG |
private org.apache.commons.logging.Log |
log
Commons Logging instance. |
private java.lang.String |
name
Name |
private HttpScope |
scope
Scope |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.String |
width
Width of the SVG |
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 | |
EmbedTag()
Constructor |
Method Summary | |
int |
doAfterBody()
|
void |
release()
|
void |
setHeight(java.lang.String value)
The height of the SVG-viewer window. |
void |
setName(java.lang.String value)
Specifies the name of the Java-Bean. |
void |
setPageContext(javax.servlet.jsp.PageContext pc)
|
void |
setScope(java.lang.String scope)
This attribute shows the Scope in which the Java-Bean with the actual display data can be found. |
void |
setWidth(java.lang.String value)
The width of the SVG-viewer window. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doEndTag, doInitBody, doStartTag, 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 |
Field Detail |
private static final long serialVersionUID
private transient org.apache.commons.logging.Log log
private HttpScope scope
private java.lang.String name
private java.lang.String width
private java.lang.String height
Constructor Detail |
public EmbedTag()
Method Detail |
public void setPageContext(javax.servlet.jsp.PageContext pc)
Tag.setPageContext(PageContext pc)
public void release()
Tag.release()
public int doAfterBody()
IterationTag.doAfterBody()
public void setName(java.lang.String value)
value
- namepublic void setWidth(java.lang.String value)
value
- The width of the SVG-viewer window.public void setHeight(java.lang.String value)
value
- The height of the SVG-viewer window.public void setScope(java.lang.String scope) throws javax.servlet.jsp.JspException
scope
- Scope
javax.servlet.jsp.JspException
- if an invalid Scope is passed as Argument
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |