org.apache.ws.jaxme.generator.sg.impl
Class JAXBTypeSG
java.lang.Object
   org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
org.apache.ws.jaxme.generator.sg.impl.JAXBSGItem
       org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG
org.apache.ws.jaxme.generator.sg.impl.JAXBTypeSG
- All Implemented Interfaces: 
- TypeSGChain
- public class JAXBTypeSG- extends JAXBSGItem- implements TypeSGChain
- Author:
- Jochen Wiedmann, Ias
| Constructor Summary | 
| protected  | JAXBTypeSG(SGFactory pFactory,
           SchemaSG pSchema,
           XSType pType)Creates a new, global instance of JAXBTypeSG.
 | 
| protected  | JAXBTypeSG(SGFactory pFactory,
           SchemaSG pSchema,
           XSType pType,
           Context pClassContext,
           XsQName pName)Creates a new, local instance of JAXBTypeSG.
 | 
| protected  | JAXBTypeSG(SGFactory pFactory,
           SchemaSG pSchema,
           XSType pType,
           XsQName pName)
 | 
 
| Method Summary | 
|  void | generate(TypeSG pController)
 | 
|  void | generate(TypeSG pController,
         JavaSource pSource)
 | 
|  ComplexTypeSG | getComplexTypeSG(TypeSG pController)
 | 
|  TypeSG | getExtendedType(TypeSG pController)
 | 
|  SGFactory | getFactory(TypeSG pController)
 | 
|  org.xml.sax.Locator | getLocator(TypeSG pController)
 | 
|  XsQName | getName(TypeSG pController)
 | 
|  java.lang.Object | getProperty(TypeSG pController,
            java.lang.String pName)
 | 
|  TypeSG | getRestrictedType(TypeSG pController)
 | 
|  JavaQName | getRuntimeType(TypeSG pController)
 | 
|  SchemaSG | getSchema(TypeSG pController)
 | 
|  XsSchemaHeader | getSchemaHeader(TypeSG pController)
 | 
|  SimpleTypeSG | getSimpleTypeSG(TypeSG pController)
 | 
|  JavaField | getXMLField(TypeSG pController,
            JavaSource pSource,
            java.lang.String pFieldName,
            java.lang.String pDefaultValue)
 | 
|  JavaMethod | getXMLGetMethod(TypeSG pController,
                JavaSource pSource,
                java.lang.String pFieldName,
                java.lang.String pMethodName)
 | 
|  JavaMethod | getXMLIsSetMethod(TypeSG pController,
                  JavaSource pSource,
                  java.lang.String pFieldName,
                  java.lang.String pMethodName)The implementation of this method is temporarily experimental.
 | 
|  JavaMethod | getXMLSetMethod(TypeSG pController,
                JavaSource pSource,
                java.lang.String pFieldName,
                java.lang.String pMethodName)
 | 
| protected  XSType | getXSType()
 | 
|  void | init(TypeSG pController)
 | 
|  boolean | isComplex(TypeSG pController)
 | 
|  boolean | isExtension(TypeSG pController)
 | 
|  boolean | isGlobalClass(TypeSG pController)
 | 
|  boolean | isGlobalType(TypeSG pController)
 | 
|  boolean | isRestriction(TypeSG pController)
 | 
|  java.lang.Object | newComplexTypeSG(TypeSG pController)
 | 
|  java.lang.Object | newSimpleTypeSG(TypeSG pController)
 | 
|  void | setProperty(TypeSG pController,
            java.lang.String pName,
            java.lang.Object pValue)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JAXBTypeSG
protected JAXBTypeSG(SGFactory pFactory,
                     SchemaSG pSchema,
                     XSType pType)
              throws org.xml.sax.SAXException
- Creates a new, global instance of JAXBTypeSG. - 
 
JAXBTypeSG
protected JAXBTypeSG(SGFactory pFactory,
                     SchemaSG pSchema,
                     XSType pType,
                     XsQName pName)
              throws org.xml.sax.SAXException
JAXBTypeSG
protected JAXBTypeSG(SGFactory pFactory,
                     SchemaSG pSchema,
                     XSType pType,
                     Context pClassContext,
                     XsQName pName)
              throws org.xml.sax.SAXException
- Creates a new, local instance of JAXBTypeSG. Classes are generated
 into the given context. - 
 
newComplexTypeSG
public java.lang.Object newComplexTypeSG(TypeSG pController)
                                  throws org.xml.sax.SAXException
- 
- Specified by:
- newComplexTypeSGin interface- TypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXSType
protected XSType getXSType()
- 
 
- 
 
getName
public XsQName getName(TypeSG pController)
- 
- Specified by:
- getNamein interface- TypeSGChain
 
- 
 
isGlobalType
public boolean isGlobalType(TypeSG pController)
- 
- Specified by:
- isGlobalTypein interface- TypeSGChain
 
- 
 
isGlobalClass
public boolean isGlobalClass(TypeSG pController)
- 
- Specified by:
- isGlobalClassin interface- TypeSGChain
 
- 
 
isComplex
public boolean isComplex(TypeSG pController)
- 
- Specified by:
- isComplexin interface- TypeSGChain
 
- 
 
getLocator
public org.xml.sax.Locator getLocator(TypeSG pController)
- 
- Specified by:
- getLocatorin interface- TypeSGChain
 
- 
 
getFactory
public SGFactory getFactory(TypeSG pController)
- 
- Specified by:
- getFactoryin interface- TypeSGChain
 
- 
 
getSchema
public SchemaSG getSchema(TypeSG pController)
- 
- Specified by:
- getSchemain interface- TypeSGChain
 
- 
 
isExtension
public boolean isExtension(TypeSG pController)
- 
- Specified by:
- isExtensionin interface- TypeSGChain
 
- 
 
getExtendedType
public TypeSG getExtendedType(TypeSG pController)
- 
- Specified by:
- getExtendedTypein interface- TypeSGChain
 
- 
 
isRestriction
public boolean isRestriction(TypeSG pController)
- 
- Specified by:
- isRestrictionin interface- TypeSGChain
 
- 
 
getRestrictedType
public TypeSG getRestrictedType(TypeSG pController)
- 
- Specified by:
- getRestrictedTypein interface- TypeSGChain
 
- 
 
init
public void init(TypeSG pController)
          throws org.xml.sax.SAXException
- 
- Specified by:
- initin interface- TypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getComplexTypeSG
public ComplexTypeSG getComplexTypeSG(TypeSG pController)
- 
- Specified by:
- getComplexTypeSGin interface- TypeSGChain
 
- 
 
getSimpleTypeSG
public SimpleTypeSG getSimpleTypeSG(TypeSG pController)
- 
- Specified by:
- getSimpleTypeSGin interface- TypeSGChain
 
- 
 
generate
public void generate(TypeSG pController)
              throws org.xml.sax.SAXException
- 
- Specified by:
- generatein interface- TypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
generate
public void generate(TypeSG pController,
                     JavaSource pSource)
              throws org.xml.sax.SAXException
- 
- Specified by:
- generatein interface- TypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLField
public JavaField getXMLField(TypeSG pController,
                             JavaSource pSource,
                             java.lang.String pFieldName,
                             java.lang.String pDefaultValue)
                      throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLFieldin interface- TypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLGetMethod
public JavaMethod getXMLGetMethod(TypeSG pController,
                                  JavaSource pSource,
                                  java.lang.String pFieldName,
                                  java.lang.String pMethodName)
                           throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLGetMethodin interface- TypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLSetMethod
public JavaMethod getXMLSetMethod(TypeSG pController,
                                  JavaSource pSource,
                                  java.lang.String pFieldName,
                                  java.lang.String pMethodName)
                           throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLSetMethodin interface- TypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLIsSetMethod
public JavaMethod getXMLIsSetMethod(TypeSG pController,
                                    JavaSource pSource,
                                    java.lang.String pFieldName,
                                    java.lang.String pMethodName)
                             throws org.xml.sax.SAXException
- The implementation of this method is temporarily experimental.
 isSet and unset methods will be implemented by a flag and corresponding default value if it exist.
 
- 
- Specified by:
- getXMLIsSetMethodin interface- TypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getRuntimeType
public JavaQName getRuntimeType(TypeSG pController)
                         throws org.xml.sax.SAXException
- 
- Specified by:
- getRuntimeTypein interface- TypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
newSimpleTypeSG
public java.lang.Object newSimpleTypeSG(TypeSG pController)
                                 throws org.xml.sax.SAXException
- 
- Specified by:
- newSimpleTypeSGin interface- TypeSGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getProperty
public java.lang.Object getProperty(TypeSG pController,
                                    java.lang.String pName)
- 
- Specified by:
- getPropertyin interface- TypeSGChain
 
- 
 
setProperty
public void setProperty(TypeSG pController,
                        java.lang.String pName,
                        java.lang.Object pValue)
- 
- Specified by:
- setPropertyin interface- TypeSGChain
 
- 
 
getSchemaHeader
public XsSchemaHeader getSchemaHeader(TypeSG pController)
- 
- Specified by:
- getSchemaHeaderin interface- TypeSGChain
 
-