public class DefaultResourceIdentifierMatcher extends Object implements ResourceIdentifierMatcher
ResourceIdentifierResolver
implementations.
This implementation only supports the CEO and RI's that are legitimate render context CEOs. Any other CEO to RI matches will return false. This implementation
Constructor and Description |
---|
DefaultResourceIdentifierMatcher() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
matches(BlogPost blog,
ResourceIdentifier ri) |
protected boolean |
matches(Comment comment,
ResourceIdentifier ri)
Remembering that this implementation is intended for use in rendering then a Comment is said to
match the ResourceIdentifier if the parent of the Comment matches the ResourceIdentifier.
|
boolean |
matches(ContentEntityObject ceo,
ResourceIdentifier ri) |
protected boolean |
matches(Draft draft,
ResourceIdentifier ri) |
protected boolean |
matches(Page page,
ResourceIdentifier ri) |
public boolean matches(ContentEntityObject ceo, ResourceIdentifier ri)
matches
in interface ResourceIdentifierMatcher
ceo
- the entity to compareri
- the resource identifier to compareprotected boolean matches(Page page, ResourceIdentifier ri)
protected boolean matches(BlogPost blog, ResourceIdentifier ri)
protected boolean matches(Draft draft, ResourceIdentifier ri)
protected boolean matches(Comment comment, ResourceIdentifier ri)
comment
- ri
- Copyright © 2003–2016 Atlassian. All rights reserved.