/*
|
* Copyright (C) 2003, 2004, 2005, 2006 Joe Walnes.
|
* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 XStream Committers.
|
* All rights reserved.
|
*
|
* The software in this package is published under the terms of the BSD
|
* style license a copy of which has been included with this distribution in
|
* the LICENSE.txt file.
|
*
|
* Created on 26. September 2003 by Joe Walnes
|
*/
|
package com.awsle.aibatis.xml.engine.converters;
|
|
import com.awsle.aibatis.xml.engine.objecttree.ObjectTree;
|
import com.awsle.aibatis.xml.engine.xml.XMLReader;
|
import com.awsle.aibatis.xml.engine.xml.XMLWriter;
|
|
public interface Converter {
|
|
boolean canConvert(Class type);
|
|
void toXML(ObjectTree objectGraph, XMLWriter xmlWriter, ConverterLookup converterLookup);
|
|
void fromXML(ObjectTree objectGraph, XMLReader xmlReader, ConverterLookup converterLookup, Class requiredType);
|
}
|