org.sca4j.introspection.xml
Interface TypeLoader<OUTPUT>
public interface TypeLoader<OUTPUT>
Deserializes an element from a StAX input stream.
- Version:
- $Rev: 4301 $ $Date: 2008-05-23 06:33:58 +0100 (Fri, 23 May 2008) $
load
OUTPUT load(javax.xml.stream.XMLStreamReader reader,
IntrospectionContext context)
throws javax.xml.stream.XMLStreamException
- Deserializes an element in an XML stream. When this method returns the stream will be positioned on the corresponding END_ELEMENT. Errors and
warnings will be reported to the IntrospectionContext.
- Parameters:
reader - the XML stream reader positioned on the applicable START_ELEMENTcontext - the context for the load operation
- Returns:
- the deserialized object for that element
- Throws:
javax.xml.stream.XMLStreamException - if an error reading the XML stream occurs
Copyright © 2008-2011 Service Symphony. All Rights Reserved.