Package 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,ADBSOAPModelBuilder.Body,ADBSOAPModelBuilder.Child,ADBSOAPModelBuilder.Envelope,ADBSOAPModelBuilder.Header,AnyType,AnyURI,AnyURI,Array,ArrayCoordinate,ArrayE,Base64,Base64,Base64Binary,Base64Binary,Date,Date,DateTime,DateTime,Decimal,Decimal,Duration,Duration,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
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axiom.om.OMElementgetOMElement(QName parentQName, org.apache.axiom.om.OMFactory factory) getPullParser(QName adbBeanQName) Serializes an ADBBean.voidserialize(QName parentQName, XMLStreamWriter xmlWriter) voidserialize(QName parentQName, XMLStreamWriter xmlWriter, boolean serializeType)
-
Method Details
-
getPullParser
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:
XMLStreamExceptionADBException
-
serialize
void serialize(QName parentQName, XMLStreamWriter xmlWriter, boolean serializeType) throws XMLStreamException, ADBException - Throws:
XMLStreamExceptionADBException
-