|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.rest.transformer.InputEntityTransformer
public abstract class InputEntityTransformer
Basic implementations of GenericInputEntityTransformer.
| Field Summary | |
|---|---|
protected Class<?> |
entityType
type of Objects which InputEntityTransformer can serve. |
| Constructor Summary | |
|---|---|
InputEntityTransformer(Object... components)
With this constructor from ExoContainer can be got any Objects. |
|
| Method Summary | |
|---|---|
Class<?> |
getType()
Get the type of served Objects. |
abstract Object |
readFrom(InputStream entityDataStream)
Build Objects from given InputStream. |
void |
setType(Class<?> entityType)
Set the type of Objects which should be serve by InputEntityTransformer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Class<?> entityType
| Constructor Detail |
|---|
public InputEntityTransformer(Object... components)
components - the Objects from ExoContainer.EntityTransformerFactory.newTransformer(Class).| Method Detail |
|---|
public final void setType(Class<?> entityType)
entityType - the type of entity.public final Class<?> getType()
public abstract Object readFrom(InputStream entityDataStream)
throws IOException
entityDataStream - from this InputStream Object should be red.
IOException - Input/Output Exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||