org.apache.ws.jaxme.generator.sg

Interface SimpleTypeSGChain

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, Object pValue, SGlet pSGlet)
void
forAllValues(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, SGlet pSGlet)
void
generate(SimpleTypeSG pController)
void
generate(SimpleTypeSG pController, JavaSource pSource)
AtomicTypeSG
getAtomicType(SimpleTypeSG pController)
TypedValue
getCastFromString(SimpleTypeSG pController, String pValue)
TypedValue
getCastFromString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, Object pData)
TypedValue
getCastToString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, DirectAccessible pData)
String
getCollectionType(SimpleTypeSG pController)
Object
getEqualsCheck(SimpleTypeSG pController, JavaMethod pMethod, Object pValue1, Object pValue2)
Facet
getFacet(SimpleTypeSG pController, Facet.Type pType)
Facet[]
getFacets(SimpleTypeSG pController)
SGFactory
getFactory(SimpleTypeSG pController)
Object
getInitialValue(SimpleTypeSG pController, JavaSource pSource)
ListTypeSG
getListType(SimpleTypeSG pController)
Locator
getLocator(SimpleTypeSG pController)
JavaQName
getRuntimeType(SimpleTypeSG pController)
SchemaSG
getSchema(SimpleTypeSG pController)
UnionTypeSG
getUnionType(SimpleTypeSG pController)
JavaMethod
getXMLSetMethod(SimpleTypeSG pController, JavaSource pSource, String pFieldName, String pParamName, 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 Details

addValidation

public void addValidation(SimpleTypeSG pController,
                          JavaMethod pMethod,
                          DirectAccessible pValue)
            throws SAXException

forAllNonNullValues

public void forAllNonNullValues(SimpleTypeSG pController,
                                JavaMethod pMethod,
                                Object pValue,
                                SGlet pSGlet)
            throws SAXException

forAllValues

public void forAllValues(SimpleTypeSG pController,
                         JavaMethod pMethod,
                         Object pValue,
                         SGlet pSGlet)
            throws SAXException

generate

public void generate(SimpleTypeSG pController)
            throws SAXException

generate

public void generate(SimpleTypeSG pController,
                     JavaSource pSource)
            throws SAXException

getAtomicType

public AtomicTypeSG getAtomicType(SimpleTypeSG pController)

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController,
                                    String pValue)
            throws SAXException

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController,
                                    JavaMethod pMethod,
                                    Object pValue,
                                    Object pData)
            throws SAXException

getCastToString

public TypedValue getCastToString(SimpleTypeSG pController,
                                  JavaMethod pMethod,
                                  Object pValue,
                                  DirectAccessible pData)
            throws SAXException

getCollectionType

public String getCollectionType(SimpleTypeSG pController)

getEqualsCheck

public Object getEqualsCheck(SimpleTypeSG pController,
                             JavaMethod pMethod,
                             Object pValue1,
                             Object pValue2)
            throws SAXException

getFacet

public Facet getFacet(SimpleTypeSG pController,
                      Facet.Type pType)

getFacets

public Facet[] getFacets(SimpleTypeSG pController)

getFactory

public SGFactory getFactory(SimpleTypeSG pController)

getInitialValue

public Object getInitialValue(SimpleTypeSG pController,
                              JavaSource pSource)
            throws SAXException

getListType

public ListTypeSG getListType(SimpleTypeSG pController)

getLocator

public Locator getLocator(SimpleTypeSG pController)

getRuntimeType

public JavaQName getRuntimeType(SimpleTypeSG pController)

getSchema

public SchemaSG getSchema(SimpleTypeSG pController)

getUnionType

public UnionTypeSG getUnionType(SimpleTypeSG pController)

getXMLSetMethod

public JavaMethod getXMLSetMethod(SimpleTypeSG pController,
                                  JavaSource pSource,
                                  String pFieldName,
                                  String pParamName,
                                  String pMethodName)
            throws SAXException

hasSetMethod

public boolean hasSetMethod(SimpleTypeSG pController)
            throws SAXException

init

public void init(SimpleTypeSG pController)
            throws SAXException

isAtomic

public boolean isAtomic(SimpleTypeSG pController)

isCausingParseConversionEvent

public boolean isCausingParseConversionEvent(SimpleTypeSG pController)

isList

public boolean isList(SimpleTypeSG pController)

isNullable

public boolean isNullable(SimpleTypeSG pController)

isUnion

public boolean isUnion(SimpleTypeSG pController)

setNullable

public void setNullable(SimpleTypeSG pController,
                        boolean pNullable)