On Tue, Jul 30, 2013 at 11:06 AM, Carsten Ziegeler <[email protected]>wrote:

> Hi,
>
> if you're Resource implementation inherits from AbstractResource (which it
> should), then isResourceType is already implemented for you and you can use
> this implementation. (Actually this method simply calls
> ResourceResolver#isResourceType.
>
Got the point. Thanks you.

>
> Regards
> Carsten
>
>
> 2013/7/30 Dishara Wijewardana <[email protected]>
>
> > Hi Ian,
> > How to evaluate  Resource#isResourceType(String s). I believe the String
> we
> > pass is A resource type. So obvious feeling is the equal comparison. But
> I
> > believe as per JCR spec, that there is a hierarchy of node types. So do
> we
> > need to consider that also in this case. If so, any APIs available that
> can
> > be re used ?
> >
> > --
> > Thanks
> > /Dishara
> >
>
>
>
> --
> Carsten Ziegeler
> [email protected]
>



-- 
Thanks
/Dishara

Reply via email to