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$
Fields inherited from class com.xpn.xwiki.api.Api |
context |
Constructor Summary |
Property(com.xpn.xwiki.objects.BaseProperty property,
com.xpn.xwiki.XWikiContext context)
The Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Property
public Property(com.xpn.xwiki.objects.BaseProperty property,
com.xpn.xwiki.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 com.xpn.xwiki.objects.BaseProperty getBaseProperty()
- Returns:
- the internal
BaseProperty
which this Property wraps.
getProperty
public com.xpn.xwiki.objects.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-2012 XWiki. All Rights Reserved.