nl.hippo.client.webdav.utils
Class XslTransformer

java.lang.Object
  extended by nl.hippo.client.webdav.utils.XslTransformer

public class XslTransformer
extends Object

Wraps an xslt transformer


Method Summary
static void identityTransform(Source source, Result result)
          Perform an identity xslt transformation
static List transform(WebdavResponse xslt, Source source, Result result)
          Perform an xslt transformation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

transform

public static List transform(WebdavResponse xslt,
                             Source source,
                             Result result)
                      throws ClientException
Perform an xslt transformation

Parameters:
xslt - IntputStream on a UTF-8 encoded valid xslt document
source - XML source
result - XML result
Returns:
A list of errors
Throws:
ClientException - If something went wrong.

identityTransform

public static void identityTransform(Source source,
                                     Result result)
                              throws ClientException
Perform an identity xslt transformation

Parameters:
source - XML source
result - XML result
Throws:
ClientException - If something went wrong


Copyright © 2006-2009 Hippo. All Rights Reserved.