Package org.apache.axis2.databinding
Interface ADBHelper<T>
-
- Type Parameters:
T
- the bean class that this helper is able to process
public interface ADBHelper<T>
Interface implemented by all ADB helpers. Helpers are generated by ADB when helper mode is enabled. They contain the parsing and serialization logic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<T>
getBeanClass()
OMElement
getOMElement(T bean, QName parentQName, OMFactory factory)
T
parse(XMLStreamReader reader)
void
serialize(T bean, QName parentQName, XMLStreamWriter xmlWriter)
-
-
-
Method Detail
-
getOMElement
OMElement getOMElement(T bean, QName parentQName, OMFactory factory) throws ADBException
- Throws:
ADBException
-
serialize
void serialize(T bean, QName parentQName, XMLStreamWriter xmlWriter) throws XMLStreamException
- Throws:
XMLStreamException
-
parse
T parse(XMLStreamReader reader) throws Exception
- Throws:
Exception
-
-