public class XarEntry extends LocalDocumentReference
Reuse LocalDocumentReference equals and hashCode implementation so that the entry can be used as a
LocalDocumentReference in a map.
TOSTRING_SERIALIZER| Constructor and Description |
|---|
XarEntry(LocalDocumentReference reference) |
XarEntry(LocalDocumentReference reference,
int defaultAction) |
XarEntry(LocalDocumentReference reference,
String name) |
XarEntry(LocalDocumentReference reference,
String name,
int defaultAction) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultAction() |
String |
getDocumentName() |
String |
getEntryName() |
String |
getSpaceName()
Deprecated.
since 7.2M1, does not make much sense anymore with nested space
|
String |
toString() |
getLocale, setLocaleappendParent, compareTo, equals, equals, equals, equalsNonRecursive, extractFirstReference, extractReference, getName, getParameter, getParent, getReversedReferenceChain, getRoot, getType, hashCode, hasParent, removeParent, replaceParent, setName, setParameter, setParameters, setParent, setType, sizepublic XarEntry(LocalDocumentReference reference)
reference - the reference of the documentpublic XarEntry(LocalDocumentReference reference, String name)
reference - the reference of the documentname - the name of the entry (ZIP style)public XarEntry(LocalDocumentReference reference, int defaultAction)
reference - the reference of the documentdefaultAction - the default action associated to a XAR entrypublic XarEntry(LocalDocumentReference reference, String name, int defaultAction)
reference - the reference of the documentname - the name of the entry (ZIP style)defaultAction - the default action associated to a XAR entrypublic String getEntryName()
public int getDefaultAction()
@Deprecated public String getSpaceName()
public String getDocumentName()
public String toString()
toString in class EntityReferenceCopyright © 2004–2016 XWiki. All rights reserved.