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

java.lang.Object
  extended byorg.apache.ws.jaxme.generator.sg.impl.SimpleTypeSGChainImpl
All Implemented Interfaces:
SimpleTypeSGChain
Direct Known Subclasses:
EnumerationSG, SimpleTypeRestrictionSG

public class SimpleTypeSGChainImpl
extends java.lang.Object
implements SimpleTypeSGChain


Constructor Summary
protected SimpleTypeSGChainImpl(SimpleTypeSGChain o)
           
 
Method Summary
 void addValidation(SimpleTypeSG pController, JavaMethod p0, DirectAccessible p1)
           
 void forAllNonNullValues(SimpleTypeSG pController, JavaMethod p0, java.lang.Object p1, SGlet p2)
           
 void forAllValues(SimpleTypeSG pController, JavaMethod p0, java.lang.Object p1, SGlet p2)
           
 void generate(SimpleTypeSG pController)
           
 void generate(SimpleTypeSG pController, JavaSource p0)
           
 AtomicTypeSG getAtomicType(SimpleTypeSG pController)
           
 java.lang.Object getCastFromString(SimpleTypeSG pController, JavaMethod p0, java.lang.Object p1, java.lang.Object p2)
           
 java.lang.Object getCastFromString(SimpleTypeSG pController, java.lang.String p0)
           
 java.lang.Object getCastToString(SimpleTypeSG pController, JavaMethod p0, java.lang.Object p1, DirectAccessible p2)
           
 java.lang.String getCollectionType(SimpleTypeSG pController)
           
 java.lang.Object getEqualsCheck(SimpleTypeSG pController, JavaMethod p0, java.lang.Object p1, java.lang.Object p2)
           
 Facet getFacet(SimpleTypeSG pController, Facet.Type p0)
           
 Facet[] getFacets(SimpleTypeSG pController)
           
 SGFactory getFactory(SimpleTypeSG pController)
           
 java.lang.Object getInitialValue(SimpleTypeSG pController, JavaSource p0)
           
 ListTypeSG getListType(SimpleTypeSG pController)
           
 org.xml.sax.Locator getLocator(SimpleTypeSG pController)
           
 JavaQName getRuntimeType(SimpleTypeSG pController)
           
 SchemaSG getSchema(SimpleTypeSG pController)
           
 UnionTypeSG getUnionType(SimpleTypeSG pController)
           
 JavaMethod getXMLSetMethod(SimpleTypeSG pController, JavaSource p0, java.lang.String p1, java.lang.String p2)
           
 boolean hasSetMethod(SimpleTypeSG pController)
           
 void init(SimpleTypeSG pController)
           
 boolean isAtomic(SimpleTypeSG pController)
           
 boolean isList(SimpleTypeSG pController)
           
 boolean isNullable(SimpleTypeSG pController)
           
 boolean isUnion(SimpleTypeSG pController)
           
 void setNullable(SimpleTypeSG pController, boolean p0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTypeSGChainImpl

protected SimpleTypeSGChainImpl(SimpleTypeSGChain o)
Method Detail

generate

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

generate

public void generate(SimpleTypeSG pController,
                     JavaSource p0)
              throws org.xml.sax.SAXException
Specified by:
generate in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

isNullable

public boolean isNullable(SimpleTypeSG pController)
Specified by:
isNullable in interface SimpleTypeSGChain

setNullable

public void setNullable(SimpleTypeSG pController,
                        boolean p0)
Specified by:
setNullable in interface SimpleTypeSGChain

forAllValues

public void forAllValues(SimpleTypeSG pController,
                         JavaMethod p0,
                         java.lang.Object p1,
                         SGlet p2)
                  throws org.xml.sax.SAXException
Specified by:
forAllValues in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

forAllNonNullValues

public void forAllNonNullValues(SimpleTypeSG pController,
                                JavaMethod p0,
                                java.lang.Object p1,
                                SGlet p2)
                         throws org.xml.sax.SAXException
Specified by:
forAllNonNullValues in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

getCollectionType

public java.lang.String getCollectionType(SimpleTypeSG pController)
Specified by:
getCollectionType in interface SimpleTypeSGChain

getXMLSetMethod

public JavaMethod getXMLSetMethod(SimpleTypeSG pController,
                                  JavaSource p0,
                                  java.lang.String p1,
                                  java.lang.String p2)
                           throws org.xml.sax.SAXException
Specified by:
getXMLSetMethod in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

isAtomic

public boolean isAtomic(SimpleTypeSG pController)
Specified by:
isAtomic in interface SimpleTypeSGChain

isList

public boolean isList(SimpleTypeSG pController)
Specified by:
isList in interface SimpleTypeSGChain

isUnion

public boolean isUnion(SimpleTypeSG pController)
Specified by:
isUnion in interface SimpleTypeSGChain

getAtomicType

public AtomicTypeSG getAtomicType(SimpleTypeSG pController)
Specified by:
getAtomicType in interface SimpleTypeSGChain

getListType

public ListTypeSG getListType(SimpleTypeSG pController)
Specified by:
getListType in interface SimpleTypeSGChain

getUnionType

public UnionTypeSG getUnionType(SimpleTypeSG pController)
Specified by:
getUnionType in interface SimpleTypeSGChain

getRuntimeType

public JavaQName getRuntimeType(SimpleTypeSG pController)
Specified by:
getRuntimeType in interface SimpleTypeSGChain

getCastFromString

public java.lang.Object getCastFromString(SimpleTypeSG pController,
                                          JavaMethod p0,
                                          java.lang.Object p1,
                                          java.lang.Object p2)
                                   throws org.xml.sax.SAXException
Specified by:
getCastFromString in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

getCastFromString

public java.lang.Object getCastFromString(SimpleTypeSG pController,
                                          java.lang.String p0)
                                   throws org.xml.sax.SAXException
Specified by:
getCastFromString in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

getCastToString

public java.lang.Object getCastToString(SimpleTypeSG pController,
                                        JavaMethod p0,
                                        java.lang.Object p1,
                                        DirectAccessible p2)
                                 throws org.xml.sax.SAXException
Specified by:
getCastToString in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

hasSetMethod

public boolean hasSetMethod(SimpleTypeSG pController)
                     throws org.xml.sax.SAXException
Specified by:
hasSetMethod in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

getFacets

public Facet[] getFacets(SimpleTypeSG pController)
Specified by:
getFacets in interface SimpleTypeSGChain

getFacet

public Facet getFacet(SimpleTypeSG pController,
                      Facet.Type p0)
Specified by:
getFacet in interface SimpleTypeSGChain

getEqualsCheck

public java.lang.Object getEqualsCheck(SimpleTypeSG pController,
                                       JavaMethod p0,
                                       java.lang.Object p1,
                                       java.lang.Object p2)
                                throws org.xml.sax.SAXException
Specified by:
getEqualsCheck in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

getInitialValue

public java.lang.Object getInitialValue(SimpleTypeSG pController,
                                        JavaSource p0)
                                 throws org.xml.sax.SAXException
Specified by:
getInitialValue in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

addValidation

public void addValidation(SimpleTypeSG pController,
                          JavaMethod p0,
                          DirectAccessible p1)
                   throws org.xml.sax.SAXException
Specified by:
addValidation in interface SimpleTypeSGChain
Throws:
org.xml.sax.SAXException

init

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

getLocator

public org.xml.sax.Locator getLocator(SimpleTypeSG pController)
Specified by:
getLocator in interface SimpleTypeSGChain

getSchema

public SchemaSG getSchema(SimpleTypeSG pController)
Specified by:
getSchema in interface SimpleTypeSGChain

getFactory

public SGFactory getFactory(SimpleTypeSG pController)
Specified by:
getFactory in interface SimpleTypeSGChain