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

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

public class PositiveInteger
extends java.lang.Object
implements ADBBean

PositiveInteger bean class

See Also:
Serialized Form

Nested Class Summary
static class PositiveInteger.Factory
          Factory class that keeps the parse method
 
Field Summary
protected  PositiveInteger localPositiveInteger
          field for PositiveInteger
 
Constructor Summary
PositiveInteger()
           
 
Method Summary
 org.apache.axiom.om.OMElement getOMElement(QName parentQName, org.apache.axiom.om.OMFactory factory)
           
 PositiveInteger getPositiveInteger()
          Auto generated getter method
 javax.xml.stream.XMLStreamReader getPullParser(QName qName)
          databinding method to get an XML representation of this object
static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader)
          isReaderMTOMAware
 void serialize(QName parentQName, org.apache.axiom.om.OMFactory factory, MTOMAwareXMLStreamWriter xmlWriter)
           
 void serialize(QName parentQName, org.apache.axiom.om.OMFactory factory, MTOMAwareXMLStreamWriter xmlWriter, boolean serializeType)
           
 void setPositiveInteger(PositiveInteger 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

localPositiveInteger

protected PositiveInteger localPositiveInteger
field for PositiveInteger

Constructor Detail

PositiveInteger

public PositiveInteger()
Method Detail

getPositiveInteger

public PositiveInteger getPositiveInteger()
Auto generated getter method

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

setPositiveInteger

public void setPositiveInteger(PositiveInteger param)
Auto generated setter method

Parameters:
param - PositiveInteger

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(QName parentQName,
                                                  org.apache.axiom.om.OMFactory factory)
                                           throws ADBException
Parameters:
parentQName -
factory -
Returns:
org.apache.axiom.om.OMElement
Throws:
ADBException

serialize

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

serialize

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

getPullParser

public javax.xml.stream.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 ? 2007 Apache Web Services Project. All Rights Reserved.