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

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

public class Struct
extends Object
implements ADBBean

Struct bean class

See Also:
Serialized Form

Nested Class Summary
static class Struct.Factory
          Factory class that keeps the parse method
 
Field Summary
protected  org.apache.axiom.om.OMElement[] localExtraElement
          field for ExtraElement This was an Array!
protected  boolean localExtraElementTracker
           
protected  URI localHref
          field for Href This was an Attribute!
protected  Id localId
          field for Id This was an Attribute!
 
Constructor Summary
Struct()
           
 
Method Summary
 void addExtraElement(org.apache.axiom.om.OMElement param)
          Auto generated add method for the array for convenience
 org.apache.axiom.om.OMElement[] getExtraElement()
          Auto generated getter method
 URI getHref()
          Auto generated getter method
 Id getId()
          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 setExtraElement(org.apache.axiom.om.OMElement[] param)
          Auto generated setter method
 void setHref(URI param)
          Auto generated setter method
 void setId(Id param)
          Auto generated setter method
protected  void validateExtraElement(org.apache.axiom.om.OMElement[] param)
          validate the array for ExtraElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localExtraElement

protected org.apache.axiom.om.OMElement[] localExtraElement
field for ExtraElement This was an Array!


localExtraElementTracker

protected boolean localExtraElementTracker

localId

protected Id localId
field for Id This was an Attribute!


localHref

protected URI localHref
field for Href This was an Attribute!

Constructor Detail

Struct

public Struct()
Method Detail

getExtraElement

public org.apache.axiom.om.OMElement[] getExtraElement()
Auto generated getter method

Returns:
org.apache.axiom.om.OMElement[]

validateExtraElement

protected void validateExtraElement(org.apache.axiom.om.OMElement[] param)
validate the array for ExtraElement


setExtraElement

public void setExtraElement(org.apache.axiom.om.OMElement[] param)
Auto generated setter method

Parameters:
param - ExtraElement

addExtraElement

public void addExtraElement(org.apache.axiom.om.OMElement param)
Auto generated add method for the array for convenience

Parameters:
param - org.apache.axiom.om.OMElement

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.