org.exoplatform.services.rest.transformer
Class XMLInputTransformer
java.lang.Object
org.exoplatform.services.rest.transformer.InputEntityTransformer
org.exoplatform.services.rest.transformer.XMLInputTransformer
- All Implemented Interfaces:
- GenericEntityTransformer, GenericInputEntityTransformer
public class XMLInputTransformer
- extends InputEntityTransformer
This type of transformer can read XML from input stream.
- Version:
- $Id: $
- Author:
- Andrey Parfonov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLInputTransformer
public XMLInputTransformer()
readFrom
public final Document readFrom(InputStream entityDataStream)
throws IOException
- Build Objects from given InputStream.}
- Specified by:
readFrom in class InputEntityTransformer
- Parameters:
entityDataStream - from this InputStream Object should be red.
- Returns:
- Object builded Object.
- Throws:
IOException - Input/Output Exception.
Copyright © 2009 eXo Platform SAS. All Rights Reserved.