org.apache.ws.jaxme.generator.types
Class UnionTypeSGImpl
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.UnionTypeSGImpl
org.apache.ws.jaxme.generator.types.UnionTypeSGImpl
- All Implemented Interfaces: 
- SimpleTypeSGChain
- public class UnionTypeSGImpl- extends SimpleTypeSGImpl
- Author:
- Jochen Wiedmann
 
 
| Method Summary | 
|  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,
                JavaMethod pMethod,
                java.lang.Object pValue,
                DirectAccessible pData)
 | 
|  java.lang.Object | getEqualsCheck(SimpleTypeSG pController,
               JavaMethod pMethod,
               java.lang.Object pValue1,
               java.lang.Object pValue2)
 | 
| protected  TypeSG[] | getMemberTypes()
 | 
|  JavaQName | getRuntimeType(SimpleTypeSG pController)
 | 
|  UnionTypeSG | getUnionType(SimpleTypeSG pController)
 | 
|  boolean | isCausingParseConversionEvent(SimpleTypeSG pController)
 | 
|  boolean | isUnion(SimpleTypeSG pController)
 | 
 
| Methods inherited from class org.apache.ws.jaxme.generator.types.SimpleTypeSGImpl | 
| addValidation, generate, generate, getAtomicType, getCollectionType, getFacet, getFacets, getFactory, getInitialValue, getListType, getLocator, getSchema, getXMLSetMethod, getXSType, hasSetMethod, init, isAtomic, isList, isNullable, setNullable, setNullable | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
OBJECT_TYPE
public static final JavaQName OBJECT_TYPE
UnionTypeSGImpl
public UnionTypeSGImpl(SGFactory pFactory,
                       SchemaSG pSchema,
                       XSType pType,
                       Context pClassContext,
                       XsQName pName)
                throws org.xml.sax.SAXException
- Creates a new instance of UnionTypeSG. - 
 
getMemberTypes
protected TypeSG[] getMemberTypes()
- 
 
getRuntimeType
public JavaQName getRuntimeType(SimpleTypeSG pController)
- 
 
isUnion
public boolean isUnion(SimpleTypeSG pController)
- 
- Specified by:
- isUnionin interface- SimpleTypeSGChain
- Overrides:
- isUnionin class- SimpleTypeSGImpl
 
- 
 
getCastFromString
public TypedValue getCastFromString(SimpleTypeSG pController,
                                    java.lang.String pValue)
                             throws org.xml.sax.SAXException
- 
- Throws:
- org.xml.sax.SAXException
 
getCastFromString
public 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
public TypedValue getCastToString(SimpleTypeSG pController,
                                  JavaMethod pMethod,
                                  java.lang.Object pValue,
                                  DirectAccessible pData)
                           throws org.xml.sax.SAXException
- 
- Throws:
- org.xml.sax.SAXException
 
getUnionType
public UnionTypeSG getUnionType(SimpleTypeSG pController)
- 
- Specified by:
- getUnionTypein interface- SimpleTypeSGChain
- Overrides:
- getUnionTypein class- SimpleTypeSGImpl
 
- 
 
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
 
getEqualsCheck
public 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
 
isCausingParseConversionEvent
public boolean isCausingParseConversionEvent(SimpleTypeSG pController)
-