org.apache.ws.jaxme.generator.types

Class StringSG

public class StringSG extends AtomicTypeSGImpl

Author: Jochen Wiedmann

Field Summary
static JavaQNameSTRING_TYPE
The string type.
Constructor Summary
StringSG(SGFactory pFactory, SchemaSG pSchema, XSType pType)

Creates a new instance of StringTypeSG.java.

Method Summary
voidaddValidation(SimpleTypeSG pController, JavaMethod pMethod, DirectAccessible pValue)
voidforAllNonNullValues(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, SGlet pSGlet)
voidforAllValues(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, SGlet pSGlet)
TypedValuegetCastFromString(SimpleTypeSG pController, String pValue)
TypedValuegetCastFromString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, Object pData)
TypedValuegetCastToString(SimpleTypeSG pController, JavaMethod pMethod, Object pValue, DirectAccessible pData)
protected StringgetDatatypeName()
protected JavaQNamegetDatatypeType()
JavaQNamegetRuntimeType(SimpleTypeSG pController)
booleanisCausingParseConversionEvent(SimpleTypeSG pController)

Field Detail

STRING_TYPE

public static final JavaQName STRING_TYPE
The string type.

Constructor Detail

StringSG

public StringSG(SGFactory pFactory, SchemaSG pSchema, XSType pType)

Creates a new instance of StringTypeSG.java.

Method Detail

addValidation

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

forAllNonNullValues

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

forAllValues

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

getCastFromString

public TypedValue getCastFromString(SimpleTypeSG pController, String pValue)

getCastFromString

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

getCastToString

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

getDatatypeName

protected String getDatatypeName()

getDatatypeType

protected JavaQName getDatatypeType()

getRuntimeType

public JavaQName getRuntimeType(SimpleTypeSG pController)

isCausingParseConversionEvent

public boolean isCausingParseConversionEvent(SimpleTypeSG pController)