org.apache.ws.jaxme.generator.sg.impl
Class TypeSGChainImpl

java.lang.Object
  extended by org.apache.ws.jaxme.generator.sg.impl.TypeSGChainImpl
All Implemented Interfaces:
TypeSGChain
Direct Known Subclasses:
JdbcTypeSG

public class TypeSGChainImpl
extends java.lang.Object
implements TypeSGChain


Constructor Summary
protected TypeSGChainImpl(TypeSGChain o)
           
 
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)
           
 JavaMethod getXMLSetMethod(TypeSG pController, JavaSource pSource, java.lang.String pFieldName, java.lang.String pParamName, java.lang.String pMethodName, boolean pSetIsSet)
           
 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
 

Constructor Detail

TypeSGChainImpl

protected TypeSGChainImpl(TypeSGChain o)
Method Detail

setProperty

public void setProperty(TypeSG pController,
                        java.lang.String pName,
                        java.lang.Object pValue)
Specified by:
setProperty in interface TypeSGChain

getProperty

public java.lang.Object getProperty(TypeSG pController,
                                    java.lang.String pName)
Specified by:
getProperty in interface TypeSGChain

isGlobalType

public boolean isGlobalType(TypeSG pController)
Specified by:
isGlobalType in interface TypeSGChain

isGlobalClass

public boolean isGlobalClass(TypeSG pController)
Specified by:
isGlobalClass in interface TypeSGChain

getName

public XsQName getName(TypeSG pController)
Specified by:
getName in interface TypeSGChain

isComplex

public boolean isComplex(TypeSG pController)
Specified by:
isComplex in interface TypeSGChain

newSimpleTypeSG

public java.lang.Object newSimpleTypeSG(TypeSG pController)
                                 throws org.xml.sax.SAXException
Specified by:
newSimpleTypeSG in interface TypeSGChain
Throws:
org.xml.sax.SAXException

newComplexTypeSG

public java.lang.Object newComplexTypeSG(TypeSG pController)
                                  throws org.xml.sax.SAXException
Specified by:
newComplexTypeSG in interface TypeSGChain
Throws:
org.xml.sax.SAXException

getComplexTypeSG

public ComplexTypeSG getComplexTypeSG(TypeSG pController)
Specified by:
getComplexTypeSG in interface TypeSGChain

getSimpleTypeSG

public SimpleTypeSG getSimpleTypeSG(TypeSG pController)
Specified by:
getSimpleTypeSG in interface TypeSGChain

getXMLField

public JavaField getXMLField(TypeSG pController,
                             JavaSource pSource,
                             java.lang.String pFieldName,
                             java.lang.String pDefaultValue)
                      throws org.xml.sax.SAXException
Specified by:
getXMLField in 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:
getXMLGetMethod in interface TypeSGChain
Throws:
org.xml.sax.SAXException

getXMLSetMethod

public JavaMethod getXMLSetMethod(TypeSG pController,
                                  JavaSource pSource,
                                  java.lang.String pFieldName,
                                  java.lang.String pParamName,
                                  java.lang.String pMethodName,
                                  boolean pSetIsSet)
                           throws org.xml.sax.SAXException
Specified by:
getXMLSetMethod in 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
Specified by:
getXMLIsSetMethod in interface TypeSGChain
Throws:
org.xml.sax.SAXException

getRuntimeType

public JavaQName getRuntimeType(TypeSG pController)
                         throws org.xml.sax.SAXException
Specified by:
getRuntimeType in interface TypeSGChain
Throws:
org.xml.sax.SAXException

generate

public void generate(TypeSG pController)
              throws org.xml.sax.SAXException
Specified by:
generate in interface TypeSGChain
Throws:
org.xml.sax.SAXException

generate

public void generate(TypeSG pController,
                     JavaSource pSource)
              throws org.xml.sax.SAXException
Specified by:
generate in interface TypeSGChain
Throws:
org.xml.sax.SAXException

isRestriction

public boolean isRestriction(TypeSG pController)
Specified by:
isRestriction in interface TypeSGChain

getRestrictedType

public TypeSG getRestrictedType(TypeSG pController)
Specified by:
getRestrictedType in interface TypeSGChain

isExtension

public boolean isExtension(TypeSG pController)
Specified by:
isExtension in interface TypeSGChain

getExtendedType

public TypeSG getExtendedType(TypeSG pController)
Specified by:
getExtendedType in interface TypeSGChain

getSchemaHeader

public XsSchemaHeader getSchemaHeader(TypeSG pController)
Specified by:
getSchemaHeader in interface TypeSGChain

getFactory

public SGFactory getFactory(TypeSG pController)
Specified by:
getFactory in interface TypeSGChain

getSchema

public SchemaSG getSchema(TypeSG pController)
Specified by:
getSchema in interface TypeSGChain

getLocator

public org.xml.sax.Locator getLocator(TypeSG pController)
Specified by:
getLocator in interface TypeSGChain

init

public void init(TypeSG pController)
          throws org.xml.sax.SAXException
Specified by:
init in interface TypeSGChain
Throws:
org.xml.sax.SAXException