Package org.hl7.fhir.utilities
Class XsltUtilities
- java.lang.Object
-
- org.hl7.fhir.utilities.XsltUtilities
-
public class XsltUtilities extends Object
Utilities for working with XMLThis is separate from
Utilitiesin order to avoid introducing a mandatory dependency on Saxon for anyone using just the structures
-
-
Constructor Summary
Constructors Constructor Description XsltUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringsaxonTransform(String source, String xslt)static voidsaxonTransform(String xsltDir, String source, String xslt, String dest, URIResolver alt)static voidsaxonTransform(String xsltDir, String source, String xslt, String dest, URIResolver alt, Map<String,String> params)static byte[]saxonTransform(Map<String,byte[]> files, byte[] source, byte[] xslt)static voidtransform(String xsltDir, String source, String xslt, String dest, URIResolver alt)static byte[]transform(Map<String,byte[]> files, byte[] source, byte[] xslt)
-
-
-
Constructor Detail
-
XsltUtilities
public XsltUtilities()
-
-
Method Detail
-
saxonTransform
public static byte[] saxonTransform(Map<String,byte[]> files, byte[] source, byte[] xslt) throws TransformerException
- Throws:
TransformerException
-
transform
public static byte[] transform(Map<String,byte[]> files, byte[] source, byte[] xslt) throws TransformerException
- Throws:
TransformerException
-
saxonTransform
public static String saxonTransform(String source, String xslt) throws TransformerException, FileNotFoundException
-
saxonTransform
public static void saxonTransform(String xsltDir, String source, String xslt, String dest, URIResolver alt) throws FileNotFoundException, TransformerException
-
saxonTransform
public static void saxonTransform(String xsltDir, String source, String xslt, String dest, URIResolver alt, Map<String,String> params) throws FileNotFoundException, TransformerException
-
transform
public static void transform(String xsltDir, String source, String xslt, String dest, URIResolver alt) throws FileNotFoundException, TransformerException
-
-