コード例 #1
0
ファイル: XsltBuilder.java プロジェクト: pax95/camel
 /** Sets the XSLT transformer from a File */
 public void setTransformerFile(File xslt) throws TransformerConfigurationException {
   setTransformerSource(new StreamSource(xslt));
 }
コード例 #2
0
ファイル: XsltBuilder.java プロジェクト: pax95/camel
 /** Sets the XSLT transformer from the given input stream */
 public void setTransformerInputStream(InputStream in)
     throws TransformerConfigurationException, IOException {
   notNull(in, "InputStream");
   setTransformerSource(new StreamSource(in));
 }
コード例 #3
0
ファイル: XsltBuilder.java プロジェクト: pax95/camel
 /** Creates an XSLT processor using the given XSLT source */
 public static XsltBuilder xslt(Source xslt) throws TransformerConfigurationException {
   notNull(xslt, "xslt");
   XsltBuilder answer = new XsltBuilder();
   answer.setTransformerSource(xslt);
   return answer;
 }