|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.model.internal.reference.DefaultStringDocumentReferenceResolver
@Component @Singleton public class DefaultStringDocumentReferenceResolver
Specialized version of EntityReferenceResolver which can be considered a helper
component to resolve DocumentReference objects from their string representation. 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 | |
|---|---|
DefaultStringDocumentReferenceResolver()
|
|
| Method Summary | |
|---|---|
DocumentReference |
resolve(java.lang.String 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 DefaultStringDocumentReferenceResolver()
| Method Detail |
|---|
public DocumentReference resolve(java.lang.String documentReferenceRepresentation,
java.lang.Object... parameters)
resolve in interface DocumentReferenceResolver<java.lang.String>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 | |||||||||