public class Element extends Api
Modifier and Type | Field and Description |
---|---|
protected BaseElement |
element
The internal element which this wraps.
|
Constructor and Description |
---|
Element(BaseElement element,
XWikiContext context)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected BaseElement |
getBaseElement() |
DocumentReference |
getDocumentReference() |
String |
getName()
Get the name of this element.
|
EntityReference |
getReference() |
convert, convert, convert, convertAttachments, getAuthorizationManager, getContextualAuthorizationManager, getXWikiContext, hasAccess, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
protected BaseElement element
public Element(BaseElement element, XWikiContext context)
element
- the internal BaseElement to wrap.context
- the XWikiContext which may be used to get information about the current request.protected BaseElement getBaseElement()
public String getName()
Object
then it will be the name of the Document
containing the Object, if it's an XWiki Class
it will be the full name of the
Document
where the class is defined, if it's an XWiki
Property
then it will be the name of the property.public EntityReference getReference()
public DocumentReference getDocumentReference()
Copyright © 2004–2021 XWiki. All rights reserved.