org.apache.ws.jaxme.generator.sg
Interface SimpleTypeSGChain

All Known Implementing Classes:
AtomicTypeSGImpl, Base64BinarySG, BooleanSG, ByteSG, DateSG, DateTimeSG, DecimalSG, DoubleSG, DurationSG, EnumerationSG, FloatSG, HexBinarySG, IDREFSG, IDSG, IntegerSG, IntSG, ListTypeSGImpl, LongSG, ParsePrintSG, PrimitiveTypeSG, QNameSG, ShortSG, SimpleTypeRestrictionSG, SimpleTypeSGChainImpl, SimpleTypeSGImpl, StringSG, TimeSG, UnionTypeSGImpl, UnsignedIntSG, UnsignedShortSG

public interface SimpleTypeSGChain


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)
           
 

Method Detail

isAtomic

boolean isAtomic(SimpleTypeSG pController)

isList

boolean isList(SimpleTypeSG pController)

isUnion

boolean isUnion(SimpleTypeSG pController)

isNullable

boolean isNullable(SimpleTypeSG pController)

setNullable

void setNullable(SimpleTypeSG pController,
                 boolean pNullable)

getAtomicType

AtomicTypeSG getAtomicType(SimpleTypeSG pController)

getListType

ListTypeSG getListType(SimpleTypeSG pController)

getUnionType

UnionTypeSG getUnionType(SimpleTypeSG pController)

getRuntimeType

JavaQName getRuntimeType(SimpleTypeSG pController)

isCausingParseConversionEvent

boolean isCausingParseConversionEvent(SimpleTypeSG pController)

getCastFromString

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

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

getCastFromString

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

hasSetMethod

boolean hasSetMethod(SimpleTypeSG pController)
                     throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getCollectionType

java.lang.String getCollectionType(SimpleTypeSG pController)

getFacets

Facet[] getFacets(SimpleTypeSG pController)

getFacet

Facet getFacet(SimpleTypeSG pController,
               Facet.Type pType)

forAllValues

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

forAllNonNullValues

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

generate

void generate(SimpleTypeSG pController)
              throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

generate

void generate(SimpleTypeSG pController,
              JavaSource pSource)
              throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getEqualsCheck

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

java.lang.Object getInitialValue(SimpleTypeSG pController,
                                 JavaSource pSource)
                                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getXMLSetMethod

JavaMethod getXMLSetMethod(SimpleTypeSG pController,
                           JavaSource pSource,
                           java.lang.String pFieldName,
                           java.lang.String pParamName,
                           java.lang.String pMethodName)
                           throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

addValidation

void addValidation(SimpleTypeSG pController,
                   JavaMethod pMethod,
                   DirectAccessible pValue)
                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getFactory

SGFactory getFactory(SimpleTypeSG pController)

getSchema

SchemaSG getSchema(SimpleTypeSG pController)

getLocator

org.xml.sax.Locator getLocator(SimpleTypeSG pController)

init

void init(SimpleTypeSG pController)
          throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException