Apache CXF API

org.apache.cxf.aegis
Interface AegisReader<ReaderT>

Type Parameters:
ReaderT -
All Superinterfaces:
AegisIo
All Known Implementing Classes:
AegisElementDataReader, AegisXMLStreamDataReader

public interface AegisReader<ReaderT>
extends AegisIo

Interface for Aegis readers.


Method Summary
 Object read(ReaderT reader)
          Read an object.
 Object read(ReaderT reader, AegisType desiredType)
          Read an object expecting a particular input type.
 
Methods inherited from interface org.apache.cxf.aegis.AegisIo
setProperty, setSchema
 

Method Detail

read

Object read(ReaderT reader)
            throws Exception
Read an object.

Parameters:
reader - the source.
Returns:
Throws:
Exception

read

Object read(ReaderT reader,
            AegisType desiredType)
            throws Exception
Read an object expecting a particular input type.

Parameters:
reader - the source.
desiredType - the expected input type.
Returns:
Throws:
Exception

Apache CXF API

Apache CXF