Package org.exoplatform.commons.xml

Examples of org.exoplatform.commons.xml.DocumentSource


   private void assertDescriptorCanBeLoaded(String descriptorPath) throws MalformedURLException
   {
      URL url = Thread.currentThread().getContextClassLoader().getResource(descriptorPath);
      assertNotNull("The " + descriptorPath + " can not be found", url);
      DocumentSource source = DocumentSource.create(url);
      List<SkinConfigTask> tasks = SkinConfigParser.fetchTasks(source);
      assertNotNull("There are no tasks", tasks);
      assertEquals(8, tasks.size());
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.commons.xml.DocumentSource

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.