public interface CommentCreatorManager
CommentCreator
implementation should be used for a given Resource or
resource type. This manager considers the priorities and resource types supported by the CommentCreator
implementation. It also respects resource type inheritance, i.e, it will always return the most specific
CommentCreator
implementation, given a resource or resource type as per the resource type hierarchy.Modifier and Type | Method and Description |
---|---|
CommentCreator |
getCommentCreator(Resource resource) |
CommentCreator |
getCommentCreator(java.lang.String resourceType) |
CommentCreator getCommentCreator(Resource resource)
resource
- the resource for which an CommentCreator
is requested for.CommentCreator
that can handle the given resource.CommentCreator getCommentCreator(java.lang.String resourceType)
resourceType
- the resource type for which an CommentCreator
is requested for.CommentCreator
that can handle the given resource resource type.Copyright © 2010 - 2020 Adobe. All Rights Reserved