Package org.apache.tapestry.asset

Examples of org.apache.tapestry.asset.ExternalResource


    private IComponentSpecification createSimpleCompSpec(String componentName, Class<?> componentClass) throws NoSuchMethodError {
        IComponentSpecification compSpec = createMock(IComponentSpecification.class);
        expect(compSpec.getPublicId()).andReturn(null);
        expect(compSpec.getComponentClassName()).andReturn(componentClass.getName());
        expect(compSpec.getDescription()).andReturn(componentName);
        Resource res = new ExternalResource("dummy", null);
        expect(compSpec.getSpecificationLocation()).andReturn(res).anyTimes();
        return compSpec;
    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.asset.ExternalResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.