public interface ViewLinkMarshallerFactory
Modifier and Type | Method and Description |
---|---|
Marshaller<Link> |
newBlogPostLinkMarshaller() |
Marshaller<Link> |
newBlogPostLinkMarshaller(HrefEvaluator hrefEvaluator,
Marshaller<Link> unresolvedLinkMarshaller)
Get a new instance of a blog post link view marshaller which will usage a specific HrefEvaluator instead of the
default for creating the actual href attribute in the rendererd link.
|
Marshaller<Link> |
newPageLinkMarshaller()
Get a new instance of the default page link view marshaller.
|
Marshaller<Link> |
newPageLinkMarshaller(Marshaller<CreatePageLink> createPageLinkMarshaller,
HrefEvaluator hrefEvaluator,
Marshaller<Link> unresolvedLinkMarshaller)
Get a new instance of a page link view marshaller which will use a specific 'create page' link Marshaller and a
specific HrefEvaluator for creating the actual rendered link.
|
Marshaller<Link> |
newUserLinkMarshaller() |
Marshaller<Link> |
newUserLinkMarshaller(HrefEvaluator hrefEvaluator,
Marshaller<Link> unresolvedLinkMarshaller)
Get a new instance of a user link view marshaller which will usage a specific HrefEvaluator instead of the
default for creating the actual href attribute in the rendererd link.
|
Marshaller<Link> newPageLinkMarshaller()
Marshaller<Link> newPageLinkMarshaller(Marshaller<CreatePageLink> createPageLinkMarshaller, HrefEvaluator hrefEvaluator, Marshaller<Link> unresolvedLinkMarshaller)
If any of the parameters are null then the default version will be used in the returned marshaller.
createPageLinkMarshaller
- a custom 'create page' link Marshaller to be used by the returned marshallerhrefEvaluator
- a custom hrefEvaluator to be used by the returned marshaller.unresolvedLinkMarshaller
- the marshaller to be used for unresolved linksMarshaller<Link> newBlogPostLinkMarshaller()
Marshaller<Link> newBlogPostLinkMarshaller(HrefEvaluator hrefEvaluator, Marshaller<Link> unresolvedLinkMarshaller)
hrefEvaluator
- a custom hrefEvaluator to be used to the returned marshaller.unresolvedLinkMarshaller
- the marshaller to be used for unresolved linksMarshaller<Link> newUserLinkMarshaller()
Marshaller<Link> newUserLinkMarshaller(HrefEvaluator hrefEvaluator, Marshaller<Link> unresolvedLinkMarshaller)
hrefEvaluator
- a custom hrefEvaluator to be used to the returned marshaller.unresolvedLinkMarshaller
- the marshaller to be used for unresolved linksCopyright © 2003–2016 Atlassian. All rights reserved.