@Test public void transformAnimalToHtml() { assertThat(Transform .source(Input.fromFile(TestResources.DOG_FILE).build()) .withStylesheet(Input.fromFile(TestResources.ANIMAL_XSL) .build()) .withOutputProperty(OutputKeys.METHOD, "html") .build() .toString(), not("<?xml version=\"1.0\" encoding=\"UTF-8\"?><dog/>")); }
public static Builder source(Source s) { return new TransformationBuilder(s); }
Transform { public static Builder source(Source s) { return new TransformationBuilder(s); } }
Transform { public static Builder source(Source s) { return new TransformationBuilder(s); } private  Transform(); }
Transform { public static Builder source(Source s) { return new TransformationBuilder(s); } private  Transform(); static Builder source(Source s); }
Transform { public static Builder source(Source s) { return new TransformationBuilder(s); } private  Transform(); static Builder source(Source s);  }