|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.model.internal.reference.DefaultReferenceDocumentReferenceResolver
@Component @Named(value="default/reference") @Singleton public class DefaultReferenceDocumentReferenceResolver
Specialized version of EntityReferenceResolver which can be considered a helper
component to resolve DocumentReference objects from Entity Reference (when they
miss some parent references or have NULL values). This implementation uses fixed default values when parts of the
Reference are missing in the string representation. Default values are retrieved from the
ModelConfiguration class.
| Constructor Summary | |
|---|---|
DefaultReferenceDocumentReferenceResolver()
|
|
| Method Summary | |
|---|---|
DocumentReference |
resolve(EntityReference documentReferenceRepresentation,
java.lang.Object... parameters)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultReferenceDocumentReferenceResolver()
| Method Detail |
|---|
public DocumentReference resolve(EntityReference documentReferenceRepresentation,
java.lang.Object... parameters)
resolve in interface DocumentReferenceResolver<EntityReference>documentReferenceRepresentation - the representation of a document reference (eg as a String)parameters - optional parameters. Their meaning depends on the resolver implementation
DocumentReferenceResolver.resolve(T, java.lang.Object...)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||