org.apache.ws.jaxme.generator.types
Class StringSG
java.lang.Object
   org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
       org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl
           org.apache.ws.jaxme.generator.types.AtomicTypeSGImpl
org.apache.ws.jaxme.generator.types.AtomicTypeSGImpl
               org.apache.ws.jaxme.generator.types.StringSG
org.apache.ws.jaxme.generator.types.StringSG
- All Implemented Interfaces: 
- SimpleTypeSGChain
- Direct Known Subclasses: 
- IDREFSG, IDSG
- public class StringSG- extends AtomicTypeSGImpl
- Author:
- Jochen Wiedmann
 
 
| 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)
 | 
|  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,
                java.lang.Object pValue,
                DirectAccessible pData)
 | 
| protected  java.lang.String | getDatatypeName()
 | 
| protected  JavaQName | getDatatypeType()
 | 
|  JavaQName | getRuntimeType(SimpleTypeSG pController)
 | 
|  boolean | isCausingParseConversionEvent(SimpleTypeSG pController)
 | 
 
 
| Methods inherited from class org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl | 
| generate, generate, getCollectionType, getFacet, getFacets, getFactory, getInitialValue, getListType, getLocator, getSchema, getUnionType, getXMLSetMethod, getXSType, hasSetMethod, init, isList, isNullable, isUnion, setNullable, setNullable | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
STRING_TYPE
public static final JavaQName STRING_TYPE
- The string type.
 
 
StringSG
public StringSG(SGFactory pFactory,
                SchemaSG pSchema,
                XSType pType)
         throws org.xml.sax.SAXException
- Creates a new instance of StringTypeSG.java. - 
 
getDatatypeName
protected java.lang.String getDatatypeName()
- 
- Specified by:
- getDatatypeNamein class- AtomicTypeSGImpl
 
- 
 
getDatatypeType
protected JavaQName getDatatypeType()
- 
- Specified by:
- getDatatypeTypein class- AtomicTypeSGImpl
 
- 
 
getRuntimeType
public JavaQName getRuntimeType(SimpleTypeSG pController)
- 
 
getCastFromString
public TypedValue getCastFromString(SimpleTypeSG pController,
                                    java.lang.String pValue)
- 
- Specified by:
- getCastFromStringin interface- SimpleTypeSGChain
- Overrides:
- getCastFromStringin class- AtomicTypeSGImpl
 
- 
 
getCastFromString
public TypedValue getCastFromString(SimpleTypeSG pController,
                                    JavaMethod pMethod,
                                    java.lang.Object pValue,
                                    java.lang.Object pData)
- 
- Specified by:
- getCastFromStringin interface- SimpleTypeSGChain
- Overrides:
- getCastFromStringin class- AtomicTypeSGImpl
 
- 
 
getCastToString
public TypedValue getCastToString(SimpleTypeSG pController,
                                  java.lang.Object pValue,
                                  DirectAccessible pData)
- 
- Overrides:
- getCastToStringin class- AtomicTypeSGImpl
 
- 
 
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
 
isCausingParseConversionEvent
public boolean isCausingParseConversionEvent(SimpleTypeSG pController)
- 
- Specified by:
- isCausingParseConversionEventin interface- SimpleTypeSGChain
- Overrides:
- isCausingParseConversionEventin class- AtomicTypeSGImpl
 
- 
 
addValidation
public void addValidation(SimpleTypeSG pController,
                          JavaMethod pMethod,
                          DirectAccessible pValue)
                   throws org.xml.sax.SAXException
- 
- Specified by:
- addValidationin interface- SimpleTypeSGChain
- Overrides:
- addValidationin class- SimpleTypeSGImpl
 
- 
- Throws:
- org.xml.sax.SAXException