Class Duration
java.lang.Object
org.apache.axis2.databinding.types.xsd.Duration
- All Implemented Interfaces:
Serializable,ADBBean
Duration bean class
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFactory class that keeps the parse method -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAuto generated getter methodorg.apache.axiom.om.OMElementgetOMElement(QName parentQName, org.apache.axiom.om.OMFactory factory) getPullParser(QName qName) databinding method to get an XML representation of this objectstatic booleanisReaderMTOMAware(XMLStreamReader reader) isReaderMTOMAwarevoidserialize(QName parentQName, XMLStreamWriter xmlWriter) voidserialize(QName parentQName, XMLStreamWriter xmlWriter, boolean serializeType) voidsetDuration(Duration param) Auto generated setter methodtoString()
-
Field Details
-
localDuration
field for Duration
-
-
Constructor Details
-
Duration
public Duration()
-
-
Method Details
-
getDuration
Auto generated getter method- Returns:
- org.apache.axis2.databinding.types.Duration
-
setDuration
Auto generated setter method- Parameters:
param- Duration
-
toString
-
isReaderMTOMAware
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:
getOMElementin interfaceADBBean- Parameters:
parentQName-factory-- Returns:
- org.apache.axiom.om.OMElement
- Throws:
ADBException
-
serialize
public void serialize(QName parentQName, XMLStreamWriter xmlWriter) throws XMLStreamException, ADBException - Specified by:
serializein interfaceADBBean- Throws:
XMLStreamExceptionADBException
-
serialize
public void serialize(QName parentQName, XMLStreamWriter xmlWriter, boolean serializeType) throws XMLStreamException, ADBException - Specified by:
serializein interfaceADBBean- Throws:
XMLStreamExceptionADBException
-
getPullParser
databinding method to get an XML representation of this object- Specified by:
getPullParserin interfaceADBBean- Parameters:
qName- the name of the element to be generated for this ADBBean.- Returns:
- Returns a pull parser for this ADBBean.
- Throws:
ADBException
-