public class LocalDocumentReference extends EntityReference
TOSTRING_SERIALIZER| Constructor and Description |
|---|
LocalDocumentReference(DocumentReference documentReference) |
LocalDocumentReference(EntityReference reference) |
LocalDocumentReference(EntityReference entityReference,
Locale locale) |
LocalDocumentReference(String spaceName,
String pageName)
Create a new Document reference in the current wiki.
|
LocalDocumentReference(String spaceName,
String pageName,
Locale locale)
Create a new Document reference in the current wiki.
|
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale() |
protected void |
setLocale(Locale locale)
Set the locale of this document reference.
|
appendParent, compareTo, equals, extractReference, getName, getParameter, getParent, getReversedReferenceChain, getRoot, getType, hashCode, removeParent, replaceParent, setName, setParameter, setParameters, setParent, setType, toStringpublic LocalDocumentReference(String spaceName, String pageName)
spaceName - the name of the space containing the document, must not be nullpageName - the name of the document, must not be nullpublic LocalDocumentReference(String spaceName, String pageName, Locale locale)
spaceName - the name of the space containing the document, must not be nullpageName - the name of the document, must not be nulllocale - the new locale for this referencepublic LocalDocumentReference(DocumentReference documentReference)
documentReference - the full document referencepublic LocalDocumentReference(EntityReference reference)
reference - the reference to clonepublic LocalDocumentReference(EntityReference entityReference, Locale locale)
entityReference - the referencelocale - the new locale for this reference, if null, locale is removedCopyright © 2004–2014 XWiki. All rights reserved.