@Role
public interface XarEntryTypeResolver
XarEntryType
instance depending on the name and the context.Modifier and Type | Field and Description |
---|---|
static String |
DOCUMENT_PREFIX
The prefix used for the hints of components specific to the entry reference.
|
Modifier and Type | Method and Description |
---|---|
XarEntryType |
getDefault() |
XarEntryType |
resolve(XarEntry entry,
boolean fallbackOnDefault) |
static final String DOCUMENT_PREFIX
XarEntryType resolve(XarEntry entry, boolean fallbackOnDefault)
entry
- the XAR entryfallbackOnDefault
- if true, return the default XarEntryType
if no specific component can be foundXarEntryType
instanceXarEntryType getDefault()
XarEntryType
instanceCopyright © 2004–2022 XWiki. All rights reserved.