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

java.lang.Object
  extended by org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
      extended by org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
          extended by org.apache.ws.jaxme.generator.types.ListTypeSGImpl
All Implemented Interfaces:
SimpleTypeSGChain

public class ListTypeSGImpl
extends SimpleTypeSGImpl

Author:
Jochen Wiedmann

Field Summary
static JavaQName ARRAYLIST_TYPE
           
static JavaQName LIST_TYPE
           
 
Constructor Summary
ListTypeSGImpl(SGFactory pFactory, SchemaSG pSchemaSG, XSType pType, Context pClassContext, XsQName pName)
          Creates a new instance of ListTypeSG in the given Context.
 
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)
           
 TypedValue getCastFromString(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, java.lang.Object pData)
           
 TypedValue getCastFromString(SimpleTypeSG pController, java.lang.String pValue)
           
 TypedValue getCastToString(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, DirectAccessible pData)
           
 java.lang.Object getEqualsCheck(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue1, java.lang.Object pValue2)
           
 java.lang.Object getInitialValue(SimpleTypeSG pController, JavaSource p0)
           
protected  TypeSG getItemType()
           
 ListTypeSG getListType(SimpleTypeSG pController)
           
 JavaQName getRuntimeType(SimpleTypeSG pController)
           
 boolean hasSetMethod(SimpleTypeSG pController)
           
 void init(SimpleTypeSG pController)
           
 boolean isCausingParseConversionEvent(SimpleTypeSG pController)
           
 boolean isList(SimpleTypeSG pController)
           
 
Methods inherited from class org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
addValidation, generate, generate, getAtomicType, getCollectionType, getFacet, getFacets, getFactory, getLocator, getSchema, getUnionType, getXMLSetMethod, getXSType, isAtomic, isNullable, isUnion, setNullable, 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

LIST_TYPE

public static final JavaQName LIST_TYPE

ARRAYLIST_TYPE

public static final JavaQName ARRAYLIST_TYPE
Constructor Detail

ListTypeSGImpl

public ListTypeSGImpl(SGFactory pFactory,
                      SchemaSG pSchemaSG,
                      XSType pType,
                      Context pClassContext,
                      XsQName pName)
               throws org.xml.sax.SAXException

Creates a new instance of ListTypeSG in the given Context.

Throws:
org.xml.sax.SAXException
Method Detail

hasSetMethod

public boolean hasSetMethod(SimpleTypeSG pController)
Specified by:
hasSetMethod in interface SimpleTypeSGChain
Overrides:
hasSetMethod in class SimpleTypeSGImpl

isList

public boolean isList(SimpleTypeSG pController)
Specified by:
isList in interface SimpleTypeSGChain
Overrides:
isList in class SimpleTypeSGImpl

init

public void init(SimpleTypeSG pController)
          throws org.xml.sax.SAXException
Specified by:
init in interface SimpleTypeSGChain
Overrides:
init in class SimpleTypeSGImpl
Throws:
org.xml.sax.SAXException

getItemType

protected TypeSG getItemType()

getListType

public ListTypeSG getListType(SimpleTypeSG pController)
Specified by:
getListType in interface SimpleTypeSGChain
Overrides:
getListType in class SimpleTypeSGImpl

getRuntimeType

public JavaQName getRuntimeType(SimpleTypeSG pController)

getCastFromString

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

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController,
                                    JavaMethod pMethod,
                                    java.lang.Object pValue,
                                    java.lang.Object pData)
                             throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getCastToString

public TypedValue getCastToString(SimpleTypeSG pController,
                                  JavaMethod pMethod,
                                  java.lang.Object 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

getEqualsCheck

public java.lang.Object getEqualsCheck(SimpleTypeSG pController,
                                       JavaMethod pMethod,
                                       java.lang.Object pValue1,
                                       java.lang.Object pValue2)
                                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getInitialValue

public java.lang.Object getInitialValue(SimpleTypeSG pController,
                                        JavaSource p0)
                                 throws org.xml.sax.SAXException
Specified by:
getInitialValue in interface SimpleTypeSGChain
Overrides:
getInitialValue in class SimpleTypeSGImpl
Throws:
org.xml.sax.SAXException

isCausingParseConversionEvent

public boolean isCausingParseConversionEvent(SimpleTypeSG pController)