org.apache.ws.jaxme.generator.sg.impl
Class SimpleTypeSGChainImpl

java.lang.Object
  extended by org.apache.ws.jaxme.generator.sg.impl.SimpleTypeSGChainImpl
All Implemented Interfaces:
SimpleTypeSGChain
Direct Known Subclasses:
EnumerationSG, ParsePrintSG, SimpleTypeRestrictionSG

public class SimpleTypeSGChainImpl
extends java.lang.Object
implements SimpleTypeSGChain


Constructor Summary
protected SimpleTypeSGChainImpl(SimpleTypeSGChain o)
           
 
Method Summary
 void addValidation(SimpleTypeSG pController, JavaMethod pMethod, DirectAccessible pValue)
           
 void forAllNonNullValues(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, SGlet pSGlet)
           
 void forAllValues(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue, SGlet pSGlet)
           
 void generate(SimpleTypeSG pController)
           
 void generate(SimpleTypeSG pController, JavaSource pSource)
           
 AtomicTypeSG getAtomicType(SimpleTypeSG pController)
           
 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.String getCollectionType(SimpleTypeSG pController)
           
 java.lang.Object getEqualsCheck(SimpleTypeSG pController, JavaMethod pMethod, java.lang.Object pValue1, java.lang.Object pValue2)
           
 Facet getFacet(SimpleTypeSG pController, Facet.Type pType)
           
 Facet[] getFacets(SimpleTypeSG pController)
           
 SGFactory getFactory(SimpleTypeSG pController)
           
 java.lang.Object getInitialValue(SimpleTypeSG pController, JavaSource pSource)
           
 ListTypeSG getListType(SimpleTypeSG pController)
           
 org.xml.sax.Locator getLocator(SimpleTypeSG pController)
           
 JavaQName getRuntimeType(SimpleTypeSG pController)
           
 SchemaSG getSchema(SimpleTypeSG pController)
           
 UnionTypeSG getUnionType(SimpleTypeSG pController)
           
 JavaMethod getXMLSetMethod(SimpleTypeSG pController, JavaSource pSource, java.lang.String pFieldName, java.lang.String pParamName, java.lang.String pMethodName)
           
 boolean hasSetMethod(SimpleTypeSG pController)
           
 void init(SimpleTypeSG pController)
           
 boolean isAtomic(SimpleTypeSG pController)
           
 boolean isCausingParseConversionEvent(SimpleTypeSG pController)
           
 boolean isList(SimpleTypeSG pController)
           
 boolean isNullable(SimpleTypeSG pController)
           
 boolean isUnion(SimpleTypeSG pController)
           
 void setNullable(SimpleTypeSG pController, boolean pNullable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTypeSGChainImpl

protected SimpleTypeSGChainImpl(SimpleTypeSGChain o)
Method Detail

isAtomic

public boolean isAtomic(SimpleTypeSG pController)
Specified by:
isAtomic in interface SimpleTypeSGChain

isList

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

isUnion

public boolean isUnion(SimpleTypeSG pController)
Specified by:
isUnion in interface SimpleTypeSGChain

isNullable

public boolean isNullable(SimpleTypeSG pController)
Specified by:
isNullable in interface SimpleTypeSGChain

setNullable

public void setNullable(SimpleTypeSG pController,
                        boolean pNullable)
Specified by:
setNullable in interface SimpleTypeSGChain

getAtomicType

public AtomicTypeSG getAtomicType(SimpleTypeSG pController)
Specified by:
getAtomicType in interface SimpleTypeSGChain

getListType

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

getUnionType

public UnionTypeSG getUnionType(SimpleTypeSG pController)
Specified by:
getUnionType in interface SimpleTypeSGChain

getRuntimeType

public JavaQName getRuntimeType(SimpleTypeSG pController)
Specified by:
getRuntimeType in interface SimpleTypeSGChain

isCausingParseConversionEvent

public boolean isCausingParseConversionEvent(SimpleTypeSG pController)
Specified by:
isCausingParseConversionEvent in interface SimpleTypeSGChain

getCastFromString

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

getCastToString

public TypedValue getCastToString(SimpleTypeSG pController,
                                  JavaMethod pMethod,
                                  java.lang.Object pValue,
                                  DirectAccessible pData)
                           throws org.xml.sax.SAXException
Specified by:
getCastToString in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

getCastFromString

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

hasSetMethod

public boolean hasSetMethod(SimpleTypeSG pController)
                     throws org.xml.sax.SAXException
Specified by:
hasSetMethod in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

getCollectionType

public java.lang.String getCollectionType(SimpleTypeSG pController)
Specified by:
getCollectionType in interface SimpleTypeSGChain

getFacets

public Facet[] getFacets(SimpleTypeSG pController)
Specified by:
getFacets in interface SimpleTypeSGChain

getFacet

public Facet getFacet(SimpleTypeSG pController,
                      Facet.Type pType)
Specified by:
getFacet in interface SimpleTypeSGChain

forAllValues

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

forAllNonNullValues

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

generate

public void generate(SimpleTypeSG pController)
              throws org.xml.sax.SAXException
Specified by:
generate in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

generate

public void generate(SimpleTypeSG pController,
                     JavaSource pSource)
              throws org.xml.sax.SAXException
Specified by:
generate in interface SimpleTypeSGChain
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
Specified by:
getEqualsCheck in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

getInitialValue

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

getXMLSetMethod

public JavaMethod getXMLSetMethod(SimpleTypeSG pController,
                                  JavaSource pSource,
                                  java.lang.String pFieldName,
                                  java.lang.String pParamName,
                                  java.lang.String pMethodName)
                           throws org.xml.sax.SAXException
Specified by:
getXMLSetMethod in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

addValidation

public void addValidation(SimpleTypeSG pController,
                          JavaMethod pMethod,
                          DirectAccessible pValue)
                   throws org.xml.sax.SAXException
Specified by:
addValidation in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

getFactory

public SGFactory getFactory(SimpleTypeSG pController)
Specified by:
getFactory in interface SimpleTypeSGChain

getSchema

public SchemaSG getSchema(SimpleTypeSG pController)
Specified by:
getSchema in interface SimpleTypeSGChain

getLocator

public org.xml.sax.Locator getLocator(SimpleTypeSG pController)
Specified by:
getLocator in interface SimpleTypeSGChain

init

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