com.xpn.xwiki.api
Class Property
java.lang.Object
com.xpn.xwiki.api.Api
com.xpn.xwiki.api.Element
com.xpn.xwiki.api.Property
public class Property
- extends Element
Property is a single attribute of an XWiki Object
.
- Version:
- $Id: c9e48622bf38e00314fdb1932d0eb8f48d913bf8 $
Fields inherited from class com.xpn.xwiki.api.Api |
context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Property
public Property(BaseProperty property,
XWikiContext context)
- The Constructor.
- Parameters:
property
- the internal BaseProperty
to wrap.context
- the XWikiContext which may be used to get information about the current request.
getBaseProperty
protected BaseProperty getBaseProperty()
- Returns:
- the internal
BaseProperty
which this Property wraps.
getProperty
public BaseProperty getProperty()
- Returns:
- the internal
BaseProperty
which this Property wraps.
getValue
public Object getValue()
- Returns:
- the actual value of the property, as a String, Number or List.
Copyright © 2004-2013 XWiki. All Rights Reserved.