com.xpn.xwiki.api
Class Class
java.lang.Object
com.xpn.xwiki.api.Api
com.xpn.xwiki.api.Element
com.xpn.xwiki.api.Collection
com.xpn.xwiki.api.Class
public class Class
- extends Collection
| 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 |
Class
public Class(BaseClass obj,
XWikiContext context)
getBaseClass
protected BaseClass getBaseClass()
getPropertyNames
public java.lang.Object[] getPropertyNames()
- Overrides:
getPropertyNames in class Collection
getProperties
public Element[] getProperties()
- Overrides:
getProperties in class Collection
- Returns:
- an array with the properties of the class
get
public Element get(java.lang.String name)
- Parameters:
name - the name of the element
- Returns:
- the PropertyClass for the given name
- See Also:
PropertyClass,
Element
getXWikiClass
public BaseClass getXWikiClass()
- Returns:
- the BaseClass (without the wrapping) if you have the programming right.
newObject
public Object newObject()
throws XWikiException
- Returns:
- a new object from this class
- Throws:
XWikiException
Copyright © 2004-2008 XWiki. All Rights Reserved.