se.kmr.scam.web.taglib.common
Class SimpleBasePropertyTag
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
- All Implemented Interfaces:
- BodyTag, IterationTag, Serializable, Tag
- Direct Known Subclasses:
- se.kmr.scam.web.taglib.scam.AclBasePropertyTag, AuthorTag, BodyTag, CreatedTag, CreatedTag, CreatorTag, DescriptionTag, DisplayNameTag, EMAILTag, ExtentTag, FNTag, FormatTag, IdentifierTag, InModelTag, LanguageTag, ModifiedTag, NICKNAMETag, OwnerTag, PasswordTag, PHOTOTag, RoleTag, ROLETag, SourceTag, SubjectTag, TitleTag, TITLETag, TypeTag, TypeTag, URLTag, ValidTag
- public abstract class SimpleBasePropertyTag
- extends BasePropertyTag
An abstract class for exposing the value of a property. The property
is directly associated to the given subject.
- Version:
- $Revision: 1.11 $
- Author:
- Jöran
- See Also:
- Serialized Form
- Created:
- den 23 oktober 2002
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, doEndTag, doStartTag, exposeValues, getCurrentObject, getHasMore, getLanguage, info, release, setDefault, setDelimiter, setLanguage, setMaxSize, setMaxSizeTot, toString |
SimpleBasePropertyTag
public SimpleBasePropertyTag()
getProperty
public abstract Property getProperty()
- Gets a property to expose.
- Returns:
- the property
getValueNodes
public List getValueNodes()
throws RDFException
- Gets a property value for a resource. If the resource has multiple values
for the property (and language) it is undefined which value is returned.
If a language is provied a value is returned only if the property exists
and is of the same langugae.
- Specified by:
getValueNodes
in class BasePropertyTag
- Returns:
- the node representing the property value.
- Throws:
RDFException
- thrown in case of exception extracting the property value
Copyright © 2003 SCAM. All Rights Reserved.