org.apache.axis2.databinding.types.soapencoding
Class Array

java.lang.Object
  extended by org.apache.axis2.databinding.types.soapencoding.Array
All Implemented Interfaces:
Serializable, ADBBean

public class Array
extends Object
implements ADBBean

Array bean class

See Also:
Serialized Form

Nested Class Summary
static class Array.Factory
          Factory class that keeps the parse method
 
Field Summary
protected  QName arrayTypeQName
           
static String CHILD_LOCAL_NAME
           
protected  String localArrayType
          field for ArrayType This was an Attribute!
protected  URI localHref
          field for Href This was an Attribute!
protected  Id localId
          field for Id This was an Attribute!
protected  String localOffset
          field for Offset This was an Attribute!
protected  List objectList
           
static String SOAP_NAMESPACE_PREFIX
           
 
Constructor Summary
Array()
           
 
Method Summary
 void addObject(Object object)
           
 String getArrayType()
          Auto generated getter method
 QName getArrayTypeQName()
           
 URI getHref()
          Auto generated getter method
 Id getId()
          Auto generated getter method
 List getObjectList()
           
 String getOffset()
          Auto generated getter method
 org.apache.axiom.om.OMElement getOMElement(QName parentQName, org.apache.axiom.om.OMFactory factory)
           
 XMLStreamReader getPullParser(QName qName)
          databinding method to get an XML representation of this object
static boolean isReaderMTOMAware(XMLStreamReader reader)
          isReaderMTOMAware
 void serialize(QName parentQName, XMLStreamWriter xmlWriter)
           
 void serialize(QName parentQName, XMLStreamWriter xmlWriter, boolean serializeType)
           
 void setArrayType(String param)
          Auto generated setter method
 void setArrayTypeQName(QName qname)
           
 void setHref(URI param)
          Auto generated setter method
 void setId(Id param)
          Auto generated setter method
 void setObjectList(List objectList)
           
 void setOffset(String param)
          Auto generated setter method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHILD_LOCAL_NAME

public static final String CHILD_LOCAL_NAME
See Also:
Constant Field Values

SOAP_NAMESPACE_PREFIX

public static final String SOAP_NAMESPACE_PREFIX
See Also:
Constant Field Values

objectList

protected List objectList

arrayTypeQName

protected QName arrayTypeQName

localArrayType

protected String localArrayType
field for ArrayType This was an Attribute!


localOffset

protected String localOffset
field for Offset This was an Attribute!


localId

protected Id localId
field for Id This was an Attribute!


localHref

protected URI localHref
field for Href This was an Attribute!

Constructor Detail

Array

public Array()
Method Detail

getObjectList

public List getObjectList()

setObjectList

public void setObjectList(List objectList)

addObject

public void addObject(Object object)

setArrayTypeQName

public void setArrayTypeQName(QName qname)

getArrayTypeQName

public QName getArrayTypeQName()

getArrayType

public String getArrayType()
Auto generated getter method

Returns:
java.lang.String

setArrayType

public void setArrayType(String param)
Auto generated setter method

Parameters:
param - ArrayType

getOffset

public String getOffset()
Auto generated getter method

Returns:
java.lang.String

setOffset

public void setOffset(String param)
Auto generated setter method

Parameters:
param - Offset

getId

public Id getId()
Auto generated getter method

Returns:
org.apache.axis2.databinding.types.Id

setId

public void setId(Id param)
Auto generated setter method

Parameters:
param - Id

getHref

public URI getHref()
Auto generated getter method

Returns:
org.apache.axis2.databinding.types.URI

setHref

public void setHref(URI param)
Auto generated setter method

Parameters:
param - Href

isReaderMTOMAware

public static boolean isReaderMTOMAware(XMLStreamReader reader)
isReaderMTOMAware

Returns:
true if the reader supports MTOM

getOMElement

public org.apache.axiom.om.OMElement getOMElement(QName parentQName,
                                                  org.apache.axiom.om.OMFactory factory)
                                           throws ADBException
Specified by:
getOMElement in interface ADBBean
Parameters:
parentQName -
factory -
Returns:
org.apache.axiom.om.OMElement
Throws:
ADBException

serialize

public void serialize(QName parentQName,
                      XMLStreamWriter xmlWriter)
               throws XMLStreamException,
                      ADBException
Specified by:
serialize in interface ADBBean
Throws:
XMLStreamException
ADBException

serialize

public void serialize(QName parentQName,
                      XMLStreamWriter xmlWriter,
                      boolean serializeType)
               throws XMLStreamException,
                      ADBException
Specified by:
serialize in interface ADBBean
Throws:
XMLStreamException
ADBException

getPullParser

public XMLStreamReader getPullParser(QName qName)
                              throws ADBException
databinding method to get an XML representation of this object

Specified by:
getPullParser in interface ADBBean
Parameters:
qName - the name of the element to be generated for this ADBBean.
Returns:
Returns a pull parser for this ADBBean.
Throws:
ADBException


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