org.apache.camel.spi
Class XmlUnmarshaller
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlUnmarshaller
public XmlUnmarshaller()
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.