net.sf.doolin.oxml.adapter
Class DimensionOXMLAdapter
java.lang.Object
net.sf.doolin.oxml.adapter.AbstractSimpleOXMLAdapter<Dimension>
net.sf.doolin.oxml.adapter.DimensionOXMLAdapter
- All Implemented Interfaces:
- OXMLAdapter
public class DimensionOXMLAdapter
- extends AbstractSimpleOXMLAdapter<Dimension>
OXMLAdapter for a Dimension object which has been rendered as
"width,height".
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DimensionOXMLAdapter
public DimensionOXMLAdapter()
adapt
protected Dimension adapt(String value,
OXMLContext context)
- Description copied from class:
AbstractSimpleOXMLAdapter
- Adapts a simple string to an object.
- Specified by:
adapt in class AbstractSimpleOXMLAdapter<Dimension>
- Parameters:
value - String to adaptcontext - Execution context
- Returns:
- Created instance
Copyright © 2011. All Rights Reserved.