org.apache.axis2.databinding
Interface ADBBean

All Superinterfaces:
Serializable
All Known Implementing Classes:
_boolean, _boolean, _byte, _byte, _double, _double, _float, _float, _int, _int, _long, _long, _short, _short, AnyType, AnyURI, AnyURI, Array, ArrayCoordinate, ArrayE, Base64, Base64, Base64Binary, Base64Binary, Date, Date, DateTime, DateTime, Decimal, Decimal, Duration, Duration, EchoString, EchoStringResponse, ENTITIES, ENTITIES, ENTITY, ENTITY, GDay, GDay, GMonth, GMonth, GMonthDay, GMonthDay, GYear, GYear, GYearMonth, GYearMonth, HexBinary, HexBinary, ID, ID, IDREF, IDREF, IDREFS, IDREFS, Integer, Integer, Language, Language, Name, Name, NCName, NCName, NegativeInteger, NegativeInteger, NMTOKEN, NMTOKEN, NMTOKENS, NMTOKENS, NonNegativeInteger, NonNegativeInteger, NonPositiveInteger, NonPositiveInteger, NormalizedString, NormalizedString, NOTATION, NOTATION, PositiveInteger, PositiveInteger, QName, QName, String, String, Struct, Time, Time, Token, Token, UnsignedByte, UnsignedByte, UnsignedInt, UnsignedInt, UnsignedLong, UnsignedLong, UnsignedShort, UnsignedShort

public interface ADBBean
extends Serializable


Method Summary
 org.apache.axiom.om.OMElement getOMElement(QName parentQName, org.apache.axiom.om.OMFactory factory)
           
 XMLStreamReader getPullParser(QName adbBeanQName)
          Serializes an ADBBean.
 void serialize(QName parentQName, XMLStreamWriter xmlWriter)
           
 void serialize(QName parentQName, XMLStreamWriter xmlWriter, boolean serializeType)
           
 

Method Detail

getPullParser

XMLStreamReader getPullParser(QName adbBeanQName)
                              throws XMLStreamException
Serializes an ADBBean. Gets the pull parser and fetches the XML pull events to represent the bean.

Parameters:
adbBeanQName - the name of the element to be generated for this ADBBean.
Returns:
Returns a pull parser for this ADBBean.
Throws:
XMLStreamException

getOMElement

org.apache.axiom.om.OMElement getOMElement(QName parentQName,
                                           org.apache.axiom.om.OMFactory factory)
                                           throws ADBException
Throws:
ADBException

serialize

void serialize(QName parentQName,
               XMLStreamWriter xmlWriter)
               throws XMLStreamException,
                      ADBException
Throws:
XMLStreamException
ADBException

serialize

void serialize(QName parentQName,
               XMLStreamWriter xmlWriter,
               boolean serializeType)
               throws XMLStreamException,
                      ADBException
Throws:
XMLStreamException
ADBException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.