Package org.apache.cxf.aegis
Interface AegisIo
-
- All Known Subinterfaces:
AegisReader<ReaderT>,AegisWriter<SinkT>
- All Known Implementing Classes:
AegisElementDataReader,AegisElementDataWriter,AegisXMLStreamDataReader,AegisXMLStreamDataWriter
public interface AegisIoAegis abstraction for reading. Note that this interface does not include the 'read' method. Since the caller of a reader has to know the type of the source object, the read method is not specified here in the interface, but is provided in the specific type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetProperty(String prop, Object value)Set an arbitrary property on the reader.voidsetSchema(Schema s)Supply a schema to validate the input.
-
-
-
Method Detail
-
setSchema
void setSchema(Schema s)
Supply a schema to validate the input. Bindings silently ignore this parameter if they do not support schema validation, or the particular form of validation implied by a particular form of Schema.- Parameters:
s-
-
-