org.apache.ws.jaxme.generator.types
Class QNameSG

java.lang.Object
  extended byorg.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
      extended byorg.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
          extended byorg.apache.ws.jaxme.generator.types.AtomicTypeSGImpl
              extended byorg.apache.ws.jaxme.generator.types.QNameSG
All Implemented Interfaces:
SimpleTypeSGChain

public class QNameSG
extends AtomicTypeSGImpl

Author:
Jochen Wiedmann

Field Summary
static JavaQName QNAME_TYPE
           
 
Constructor Summary
QNameSG(SGFactory pFactory, SchemaSG pSchema, XSType pType)
          Creates a new instance of QNameSG.
 
Method Summary
 void forAllNonNullValues(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, SGlet pSGlet)
           
 void forAllValues(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, SGlet pSGlet)
           
 java.lang.Object getCastFromString(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, java.lang.Object pData)
           
 java.lang.Object getCastFromString(SimpleTypeSG pController, java.lang.String pValue)
           
 java.lang.Object getCastToString(SimpleTypeSG pController, java.lang.String pValue, DirectAccessible pData)
           
protected  java.lang.String getDatatypeName()
           
 JavaQName getRuntimeType(SimpleTypeSG pController)
           
 
Methods inherited from class org.apache.ws.jaxme.generator.types.AtomicTypeSGImpl
getAtomicType, getCastToString, getCastToString, getEqualsCheck, isAtomic
 
Methods inherited from class org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
addValidation, generate, generate, getCollectionType, getFacet, getFacets, getFactory, getInitialValue, getListType, getLocator, getSchema, getUnionType, getXMLSetMethod, getXSType, hasSetMethod, init, isList, isNullable, isUnion, setNullable
 
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
getFactory, getLocator, getSchema, getXSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QNAME_TYPE

public static final JavaQName QNAME_TYPE
Constructor Detail

QNameSG

public QNameSG(SGFactory pFactory,
               SchemaSG pSchema,
               XSType pType)
        throws org.xml.sax.SAXException

Creates a new instance of QNameSG.

Method Detail

getDatatypeName

protected java.lang.String getDatatypeName()
Specified by:
getDatatypeName in class AtomicTypeSGImpl

getRuntimeType

public JavaQName getRuntimeType(SimpleTypeSG pController)

getCastFromString

public java.lang.Object getCastFromString(SimpleTypeSG pController,
                                          java.lang.String pValue)
                                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getCastFromString

public java.lang.Object getCastFromString(SimpleTypeSG pController,
                                          JavaMethod pMethod,
                                          java.lang.Object pValue,
                                          java.lang.Object pData)
                                   throws org.xml.sax.SAXException
Specified by:
getCastFromString in interface SimpleTypeSGChain
Overrides:
getCastFromString in class AtomicTypeSGImpl
Throws:
org.xml.sax.SAXException

getCastToString

public java.lang.Object getCastToString(SimpleTypeSG pController,
                                        java.lang.String pValue,
                                        DirectAccessible pData)
                                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

forAllNonNullValues

public void forAllNonNullValues(SimpleTypeSG pController,
                                JavaMethod pMethod,
                                java.lang.Object pValue,
                                SGlet pSGlet)
                         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

forAllValues

public void forAllValues(SimpleTypeSG pController,
                         JavaMethod pMethod,
                         java.lang.Object pValue,
                         SGlet pSGlet)
                  throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException