org.apache.tapestry.util.io
Class ComponentAddressAdaptor
java.lang.Object
|
+--org.apache.tapestry.util.io.ComponentAddressAdaptor
- All Implemented Interfaces:
- ISqueezeAdaptor
- public class ComponentAddressAdaptor
- extends Object
- implements ISqueezeAdaptor
Squeezes a org.apache.tapestry.ComponentAddress.
- Since:
- 2.2
- Version:
- $Id: ComponentAddressAdaptor.java,v 1.2 2003/05/28 13:41:47 hlship Exp $
- Author:
- mindbridge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentAddressAdaptor
public ComponentAddressAdaptor()
squeeze
public String squeeze(DataSqueezer squeezer,
Object data)
throws IOException
- Description copied from interface:
ISqueezeAdaptor
- Converts the data object into a String.
- Specified by:
squeeze
in interface ISqueezeAdaptor
- Following copied from interface:
org.apache.tapestry.util.io.ISqueezeAdaptor
- Throws:
IOException
- if the object can't be converted.
unsqueeze
public Object unsqueeze(DataSqueezer squeezer,
String string)
throws IOException
- Description copied from interface:
ISqueezeAdaptor
- Converts a String back into an appropriate object.
- Specified by:
unsqueeze
in interface ISqueezeAdaptor
- Following copied from interface:
org.apache.tapestry.util.io.ISqueezeAdaptor
- Throws:
IOException
- if the String can't be converted.
register
public void register(DataSqueezer squeezer)
- Description copied from interface:
ISqueezeAdaptor
- Invoked to ask an adaptor to register itself to the squeezer.
- Specified by:
register
in interface ISqueezeAdaptor