com.microsofttranslator.api.v1.soap_svc
Class SoapStub.Duration

java.lang.Object
  extended by com.microsofttranslator.api.v1.soap_svc.SoapStub.Duration
All Implemented Interfaces:
java.io.Serializable, org.apache.axis2.databinding.ADBBean
Enclosing class:
SoapStub

public static class SoapStub.Duration
extends java.lang.Object
implements org.apache.axis2.databinding.ADBBean

See Also:
Serialized Form

Nested Class Summary
static class SoapStub.Duration.Factory
          Factory class that keeps the parse method
 
Field Summary
protected  org.apache.axis2.databinding.types.Duration localDuration
          field for Duration
static javax.xml.namespace.QName MY_QNAME
           
 
Constructor Summary
SoapStub.Duration()
           
 
Method Summary
 org.apache.axis2.databinding.types.Duration getDuration()
          Auto generated getter method
 org.apache.axiom.om.OMElement getOMElement(javax.xml.namespace.QName parentQName, org.apache.axiom.om.OMFactory factory)
           
 javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)
          databinding method to get an XML representation of this object
static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader)
          isReaderMTOMAware
 void serialize(javax.xml.namespace.QName parentQName, org.apache.axiom.om.OMFactory factory, org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter)
           
 void serialize(javax.xml.namespace.QName parentQName, org.apache.axiom.om.OMFactory factory, org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, boolean serializeType)
           
 void setDuration(org.apache.axis2.databinding.types.Duration param)
          Auto generated setter method
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MY_QNAME

public static final javax.xml.namespace.QName MY_QNAME

localDuration

protected org.apache.axis2.databinding.types.Duration localDuration
field for Duration

Constructor Detail

SoapStub.Duration

public SoapStub.Duration()
Method Detail

getDuration

public org.apache.axis2.databinding.types.Duration getDuration()
Auto generated getter method

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

setDuration

public void setDuration(org.apache.axis2.databinding.types.Duration param)
Auto generated setter method

Parameters:
param - Duration

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isReaderMTOMAware

public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader)
isReaderMTOMAware

Returns:
true if the reader supports MTOM

getOMElement

public org.apache.axiom.om.OMElement getOMElement(javax.xml.namespace.QName parentQName,
                                                  org.apache.axiom.om.OMFactory factory)
                                           throws org.apache.axis2.databinding.ADBException
Parameters:
parentQName -
factory -
Returns:
org.apache.axiom.om.OMElement
Throws:
org.apache.axis2.databinding.ADBException

serialize

public void serialize(javax.xml.namespace.QName parentQName,
                      org.apache.axiom.om.OMFactory factory,
                      org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter)
               throws javax.xml.stream.XMLStreamException,
                      org.apache.axis2.databinding.ADBException
Specified by:
serialize in interface org.apache.axis2.databinding.ADBBean
Throws:
javax.xml.stream.XMLStreamException
org.apache.axis2.databinding.ADBException

serialize

public void serialize(javax.xml.namespace.QName parentQName,
                      org.apache.axiom.om.OMFactory factory,
                      org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter,
                      boolean serializeType)
               throws javax.xml.stream.XMLStreamException,
                      org.apache.axis2.databinding.ADBException
Specified by:
serialize in interface org.apache.axis2.databinding.ADBBean
Throws:
javax.xml.stream.XMLStreamException
org.apache.axis2.databinding.ADBException

getPullParser

public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)
                                               throws org.apache.axis2.databinding.ADBException
databinding method to get an XML representation of this object

Specified by:
getPullParser in interface org.apache.axis2.databinding.ADBBean
Throws:
org.apache.axis2.databinding.ADBException