se.kmr.scam.web.taglib.scam
Class WriteTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
se.kmr.scam.web.taglib.common.BodyTagSupport
se.kmr.scam.web.taglib.common.BasePropertyTag
se.kmr.scam.web.taglib.common.SimpleBasePropertyTag
se.kmr.scam.web.taglib.scam.AclBasePropertyTag
se.kmr.scam.web.taglib.scam.WriteTag
- All Implemented Interfaces:
- BodyTag, IterationTag, Serializable, Tag
- public class WriteTag
- extends se.kmr.scam.web.taglib.scam.AclBasePropertyTag
Exposes value(s) for ACL-write for a subject
- Version:
- $Revision: 1.4 $
- Author:
- Jöran
- See Also:
- Serialized Form
- Created:
- den 17 april 2003
Fields inherited from class se.kmr.scam.web.taglib.common.BasePropertyTag |
_currentObject, _default, _delimiter, _iterator, _lang, _maxSize, _maxSizeTot, _values, default_, delimiter_, lang_, maxSize_, maxSizeTot_ |
Methods inherited from class se.kmr.scam.web.taglib.common.BasePropertyTag |
doAfterBody, exposeValues, getCurrentObject, getHasMore, getLanguage, info, release, setDefault, setDelimiter, setLanguage, setMaxSize, setMaxSizeTot, toString |
WriteTag
public WriteTag()
getProperty
public Property getProperty()
- Gets a property to expose.
- Specified by:
getProperty
in class SimpleBasePropertyTag
- Returns:
- the property
setSome
public void setSome(String some)
setAll
public void setAll(String all)
doStartTag
public int doStartTag()
throws JspException
- Recives notification of the start of a tag.
Value(s) of the tag is written to the page if a delimiter is defined.
If a variable is defined, then each value is exposed in that variable
in each iteration.
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class BasePropertyTag
- Returns:
- the value SKIP_BODY if the value(s) is written to the page,
otherwise EVAL_BODY_INCLUDE.
- Throws:
JspException
- thrown in case of exception writing to the page
or extracting property value.
doEndTag
public int doEndTag()
throws JspException
- Receives notification at end of tag.
If the tag has no content the values are exposed on the page.
- Specified by:
doEndTag
in interface Tag
- Overrides:
doEndTag
in class BasePropertyTag
- Returns:
- the value of EVAL_PAGE
- Throws:
JspException
- is thrown in case of exception exposing the values
getValueNodes
public List getValueNodes()
throws RDFException
- Gets the property value that the implementation represents.
- Overrides:
getValueNodes
in class SimpleBasePropertyTag
- Returns:
- the value object, if the property exists (of defiend language),
oterwise null.
- Throws:
RDFException
- thrown in case of exception extracting property value
Copyright © 2003 SCAM. All Rights Reserved.