Package org.apache.cxf.aegis
Interface AegisIo
- All Known Subinterfaces:
AegisReader<ReaderT>,AegisWriter<SinkT>
- All Known Implementing Classes:
AegisElementDataReader,AegisElementDataWriter,AegisXMLStreamDataReader,AegisXMLStreamDataWriter
public interface AegisIo
Aegis 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
Modifier and TypeMethodDescriptionvoidsetProperty(String prop, Object value) Set an arbitrary property on the reader.voidSupply a schema to validate the input.
-
Method Details
-
setSchema
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-
-
setProperty
Set an arbitrary property on the reader.#FAULTand#ENDPOINTspecify two common properties: the Fault object being read and theEndpoint.- Parameters:
prop- Name of the property.value- Value of the property.
-