org.apache.camel.spi
Class XmlUnmarshaller

java.lang.Object
  extended by org.apache.camel.spi.XmlUnmarshaller
All Implemented Interfaces:
Unmarshaller

public abstract class XmlUnmarshaller
extends Object
implements Unmarshaller

Unmarshallers that unmarshall to XML should extend this base class.

Version:
$Revision: 520124 $

Constructor Summary
XmlUnmarshaller()
           
 
Method Summary
 Object unmarshal(InputStream stream)
          Unmarshals the given stream into an object.
abstract  Object unmarshal(Source stream)
          Unmarshals the given stream into an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlUnmarshaller

public XmlUnmarshaller()
Method Detail

unmarshal

public Object unmarshal(InputStream stream)
                 throws IOException
Unmarshals the given stream into an object.

Specified by:
unmarshal in interface Unmarshaller
Throws:
IOException

unmarshal

public abstract Object unmarshal(Source stream)
                          throws IOException
Unmarshals the given stream into an object.

Throws:
IOException


Copyright © 2007 Apache Software Foundation. All Rights Reserved.