org.apache.axis2.databinding.types.soapencoding
Class NMTOKEN.Factory

java.lang.Object
  extended by org.apache.axis2.databinding.types.soapencoding.NMTOKEN.Factory
Enclosing class:
NMTOKEN

public static class NMTOKEN.Factory
extends Object

Factory class that keeps the parse method


Constructor Summary
NMTOKEN.Factory()
           
 
Method Summary
static NMTOKEN fromString(String value, String namespaceURI)
           
static NMTOKEN fromString(XMLStreamReader xmlStreamReader, String content)
           
static NMTOKEN parse(XMLStreamReader reader)
          static method to create the object Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable If this object is not an element, it is a complex type and the reader is at the event just after the outer start element Postcondition: If this object is an element, the reader is positioned at its end element If this object is a complex type, the reader is positioned at the end element of its outer element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NMTOKEN.Factory

public NMTOKEN.Factory()
Method Detail

fromString

public static NMTOKEN fromString(String value,
                                 String namespaceURI)

fromString

public static NMTOKEN fromString(XMLStreamReader xmlStreamReader,
                                 String content)

parse

public static NMTOKEN parse(XMLStreamReader reader)
                     throws Exception
static method to create the object Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable If this object is not an element, it is a complex type and the reader is at the event just after the outer start element Postcondition: If this object is an element, the reader is positioned at its end element If this object is a complex type, the reader is positioned at the end element of its outer element

Throws:
Exception


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.