net.sf.doolin.oxml.adapter
Class DimensionOXMLAdapter

java.lang.Object
  extended by net.sf.doolin.oxml.adapter.AbstractSimpleOXMLAdapter<Dimension>
      extended by 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

Constructor Summary
DimensionOXMLAdapter()
           
 
Method Summary
protected  Dimension adapt(String value, OXMLContext context)
          Adapts a simple string to an object.
 
Methods inherited from class net.sf.doolin.oxml.adapter.AbstractSimpleOXMLAdapter
adapt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DimensionOXMLAdapter

public DimensionOXMLAdapter()
Method Detail

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 adapt
context - Execution context
Returns:
Created instance


Copyright © 2011. All Rights Reserved.