org.apache.tapestry.data
Class NullDataSqueezerFilter
java.lang.Object
org.apache.tapestry.data.AbstractDataSqueezerFilter
org.apache.tapestry.data.NullDataSqueezerFilter
- All Implemented Interfaces:
- DataSqueezerFilter
public class NullDataSqueezerFilter
- extends AbstractDataSqueezerFilter
Handles null data assumedly?
- Author:
- jcarman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullDataSqueezerFilter
public NullDataSqueezerFilter()
squeeze
public String squeeze(Object data,
DataSqueezer dataSqueezer)
- Description copied from interface:
DataSqueezerFilter
- Optionally squeezes the data object into a String.
- Parameters:
data
- the data to squeezedataSqueezer
- the next squeezer in the pipeline
- Returns:
- the string representation
unsqueeze
public Object unsqueeze(String string,
DataSqueezer dataSqueezer)
- Description copied from interface:
DataSqueezerFilter
- Unsqueezes the string. Note that in a special case, where the first
character of the string is not a recognized prefix, it is assumed that
the string is simply a string, and returned with no change.
- Parameters:
string
- the string representation of the datadataSqueezer
- the next squeezer in the pipeline
- Returns:
- the unsqueezed data object
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.