ResourceFactory { public static IResource createResourceByEl(String el) { ResourceExpression expression = ELHelper.getExpressionFromEL(el); if (expression != null) { Object result = expression.evaluate(); if (result instanceof IResource) { return (IResource) result; } } return null; }  static IAggregatedResource createAggregatedResource(List<IResource> resources); static IInlineResource createInlineResource(String type, String content); static IExternalResource createExternalResource(String type, String url); static IResource createLibraryResource(String resourcePath); static IResource createResource(IResourceUrn urn, URL url, IResourceLocale locale, IResourceLibrary library); static IResource createResource(String resourcePath); static IResource createResourceByEl(String el); static IResource createResource(String resourceType, String namespace, String resourcePath); static IResource createResource(String resourceType, String namespace, String resourcePath,
         Map<String, Object> arguments); static IResource createResource(URL url, String locale, IResourceLibrary libraryInfo); static IResource createWarResource(String resourcePath);  }
@Test public void testcreateResourceByEl() { }