org.exoplatform.services.rest.transformer
Class XSLT4DOMOutputTransformer
java.lang.Object
org.exoplatform.services.rest.transformer.OutputEntityTransformer
org.exoplatform.services.rest.transformer.XSLT4DOMOutputTransformer
- All Implemented Interfaces:
- GenericEntityTransformer, GenericOutputEntityTransformer
public class XSLT4DOMOutputTransformer
- extends OutputEntityTransformer
This type of transformer can transform given XML to other mime-type
and write it to output stream.
- Version:
- $Id: $
- Author:
- Andrey Parfonov
|
Constructor Summary |
XSLT4DOMOutputTransformer(org.exoplatform.services.xml.transform.trax.TRAXTemplatesService templatesService)
Construct transformer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSLT4DOMOutputTransformer
public XSLT4DOMOutputTransformer(org.exoplatform.services.xml.transform.trax.TRAXTemplatesService templatesService)
- Construct transformer.
- Parameters:
templatesService - TRAXTemplates service.
writeTo
public void writeTo(Object entity,
OutputStream entityDataStream)
throws IOException
- Write entity to OutputStream.}
- Specified by:
writeTo in class OutputEntityTransformer
- Parameters:
entity - the Object which should be writedentityDataStream - the OutputStream
- Throws:
IOException - Input/Output Exception
Copyright © 2009 eXo Platform SAS. All Rights Reserved.