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.
getBeanClass
Class<T> getBeanClass()
getPullParser
XMLStreamReader getPullParser(T bean,
QName adbBeanQName)
throws XMLStreamException
- Throws:
XMLStreamException
getOMElement
org.apache.axiom.om.OMElement getOMElement(T bean,
QName parentQName,
org.apache.axiom.om.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
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.