de.smartics.ci.config.test
Class JDomTestUtils

Package class diagram package JDomTestUtils
java.lang.Object
  extended by de.smartics.ci.config.test.JDomTestUtils

public final class JDomTestUtils
     
     
extends Object

Utilities to access Test documents for tests.


Method Summary
static org.jdom.Document load(Class<?> anchor, String resource)
           
static String read(Class<?> anchor, String resource)
           
static String toString(org.jdom.Document document)
           
static String toString(org.jdom.Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

load

public static org.jdom.Document load(Class<?> anchor,
                                     String resource)
                              throws IllegalArgumentException
Throws:
IllegalArgumentException

read

public static String read(Class<?> anchor,
                          String resource)

toString

public static String toString(org.jdom.Document document)

toString

public static String toString(org.jdom.Element element)


Copyright © 2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.