|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.seam.remoting.wrapper.BaseWrapper
Base class for all Wrapper implementations.
Field Summary | |
---|---|
protected CallContext |
context
The call context |
protected org.dom4j.Element |
element
The DOM4J element containing the value |
protected String |
path
The path of this object within the result object graph |
protected Object |
value
The wrapped value |
Constructor Summary | |
---|---|
BaseWrapper()
|
Method Summary | |
---|---|
Object |
getValue()
Returns the wrapped value |
void |
serialize(OutputStream out)
Default implementation does nothing |
void |
setCallContext(CallContext context)
Sets the call context |
void |
setElement(org.dom4j.Element element)
Extracts a value from a DOM4J Element |
void |
setPath(String path)
Sets the path. |
void |
setValue(Object value)
Sets the wrapped value |
void |
unmarshal()
Default implementation does nothing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.seam.remoting.wrapper.Wrapper |
---|
conversionScore, convert, marshal |
Field Detail |
---|
protected String path
protected CallContext context
protected org.dom4j.Element element
protected Object value
Constructor Detail |
---|
public BaseWrapper()
Method Detail |
---|
public void setPath(String path)
public void setValue(Object value)
public Object getValue()
public void setCallContext(CallContext context)
setCallContext
in interface Wrapper
call
- Callpublic void setElement(org.dom4j.Element element)
setElement
in interface Wrapper
element
- Elementpublic void unmarshal()
public void serialize(OutputStream out) throws IOException
out
- OutputStream
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |