org.apache.axis2.databinding.types.xsd
Class NMTOKENS

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

public class NMTOKENS
extends Object
implements ADBBean

NMTOKENS bean class

See Also:
Serialized Form

Nested Class Summary
static class NMTOKENS.Factory
          Factory class that keeps the parse method
 
Field Summary
protected  NMTokens localNMTOKENS
          field for NMTOKENS
 
Constructor Summary
NMTOKENS()
           
 
Method Summary
 NMTokens getNMTOKENS()
          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 setNMTOKENS(NMTokens param)
          Auto generated setter method
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

localNMTOKENS

protected NMTokens localNMTOKENS
field for NMTOKENS

Constructor Detail

NMTOKENS

public NMTOKENS()
Method Detail

getNMTOKENS

public NMTokens getNMTOKENS()
Auto generated getter method

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

setNMTOKENS

public void setNMTOKENS(NMTokens param)
Auto generated setter method

Parameters:
param - NMTOKENS

toString

public String toString()
Overrides:
toString in class Object

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.