org.apache.ws.jaxme.generator.sg.impl
Class JAXBPropertySG
java.lang.Object
   org.apache.ws.jaxme.generator.sg.impl.JAXBPropertySG
org.apache.ws.jaxme.generator.sg.impl.JAXBPropertySG
- All Implemented Interfaces: 
- PropertySGChain
- Direct Known Subclasses: 
- AnyAttributePropertySG, AnyElementPropertySG
- public class JAXBPropertySG- extends java.lang.Object- implements PropertySGChain
- Author:
- Jochen Wiedmann, Ias
 
| Method Summary | 
|  void | addValue(PropertySG pController,
         JavaMethod pMethod,
         DirectAccessible pElement,
         TypedValue pValue,
         JavaQName pType)
 | 
|  void | forAllNonNullValues(PropertySG pController,
                    JavaMethod pMethod,
                    DirectAccessible pElement,
                    SGlet pSGlet)
 | 
|  void | forAllValues(PropertySG pController,
             JavaMethod pMethod,
             DirectAccessible pElement,
             SGlet pSGlet)
 | 
|  void | generate(PropertySG pController,
         JavaSource pSource)
 | 
|  java.lang.String | getCollectionType(PropertySG pController)
 | 
|  java.lang.String | getDefaultValue(PropertySG pController)
 | 
|  java.lang.String | getPropertyName(PropertySG pController)
 | 
|  java.lang.Object | getValue(PropertySG pController,
         DirectAccessible pElement)
 | 
|  JavaField | getXMLField(PropertySG pController,
            JavaSource pSource)
 | 
|  java.lang.String | getXMLFieldName(PropertySG pController)
 | 
|  JavaMethod | getXMLGetMethod(PropertySG pController,
                JavaSource pSource)
 | 
|  java.lang.String | getXMLGetMethodName(PropertySG pController)
 | 
|  JavaMethod | getXMLIsSetMethod(PropertySG pController,
                  JavaSource pSource)
 | 
|  java.lang.String | getXMLIsSetMethodName(PropertySG pController)
 | 
|  JavaMethod | getXMLSetMethod(PropertySG pController,
                JavaSource pSource)
 | 
|  java.lang.String | getXMLSetMethodName(PropertySG pController)
 | 
|  boolean | hasIsSetMethod(PropertySG pController)
 | 
|  void | init(PropertySG pController)
 | 
|  void | setValue(PropertySG pController,
         JavaMethod pMethod,
         DirectAccessible pElement,
         java.lang.Object pValue,
         JavaQName pType)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JAXBPropertySG
protected JAXBPropertySG(java.lang.String pDefaultPropertyName,
                         SchemaSG pSchema,
                         XSObject pXSObject,
                         java.lang.String pDefaultValue,
                         TypeSG pTypeSG)
JAXBPropertySG
protected JAXBPropertySG(AttributeSG pAttribute,
                         XSAttribute pXSAttribute)
JAXBPropertySG
protected JAXBPropertySG(ObjectSG pElement,
                         XSElement pXSElement)
JAXBPropertySG
protected JAXBPropertySG(TypeSG pComplexType,
                         XSType pType)
                  throws org.xml.sax.SAXException
init
public void init(PropertySG pController)
          throws org.xml.sax.SAXException
- 
- Specified by:
- initin interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
hasIsSetMethod
public boolean hasIsSetMethod(PropertySG pController)
- 
- Specified by:
- hasIsSetMethodin interface- PropertySGChain
 
- 
 
getCollectionType
public java.lang.String getCollectionType(PropertySG pController)
- 
- Specified by:
- getCollectionTypein interface- PropertySGChain
 
- 
 
getXMLFieldName
public java.lang.String getXMLFieldName(PropertySG pController)
                                 throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLFieldNamein interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getPropertyName
public java.lang.String getPropertyName(PropertySG pController)
                                 throws org.xml.sax.SAXException
- 
- Specified by:
- getPropertyNamein interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLGetMethodName
public java.lang.String getXMLGetMethodName(PropertySG pController)
                                     throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLGetMethodNamein interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLSetMethodName
public java.lang.String getXMLSetMethodName(PropertySG pController)
                                     throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLSetMethodNamein interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLIsSetMethodName
public java.lang.String getXMLIsSetMethodName(PropertySG pController)
                                       throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLIsSetMethodNamein interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLField
public JavaField getXMLField(PropertySG pController,
                             JavaSource pSource)
                      throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLFieldin interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLGetMethod
public JavaMethod getXMLGetMethod(PropertySG pController,
                                  JavaSource pSource)
                           throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLGetMethodin interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLSetMethod
public JavaMethod getXMLSetMethod(PropertySG pController,
                                  JavaSource pSource)
                           throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLSetMethodin interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getXMLIsSetMethod
public JavaMethod getXMLIsSetMethod(PropertySG pController,
                                    JavaSource pSource)
                             throws org.xml.sax.SAXException
- 
- Specified by:
- getXMLIsSetMethodin interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
forAllNonNullValues
public void forAllNonNullValues(PropertySG pController,
                                JavaMethod pMethod,
                                DirectAccessible pElement,
                                SGlet pSGlet)
                         throws org.xml.sax.SAXException
- 
- Specified by:
- forAllNonNullValuesin interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
forAllValues
public void forAllValues(PropertySG pController,
                         JavaMethod pMethod,
                         DirectAccessible pElement,
                         SGlet pSGlet)
                  throws org.xml.sax.SAXException
- 
- Specified by:
- forAllValuesin interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getValue
public java.lang.Object getValue(PropertySG pController,
                                 DirectAccessible pElement)
                          throws org.xml.sax.SAXException
- 
- Specified by:
- getValuein interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
generate
public void generate(PropertySG pController,
                     JavaSource pSource)
              throws org.xml.sax.SAXException
- 
- Specified by:
- generatein interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
setValue
public void setValue(PropertySG pController,
                     JavaMethod pMethod,
                     DirectAccessible pElement,
                     java.lang.Object pValue,
                     JavaQName pType)
              throws org.xml.sax.SAXException
- 
- Specified by:
- setValuein interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
addValue
public void addValue(PropertySG pController,
                     JavaMethod pMethod,
                     DirectAccessible pElement,
                     TypedValue pValue,
                     JavaQName pType)
              throws org.xml.sax.SAXException
- 
- Specified by:
- addValuein interface- PropertySGChain
 
- 
- Throws:
- org.xml.sax.SAXException
 
getDefaultValue
public java.lang.String getDefaultValue(PropertySG pController)
                                 throws java.lang.IllegalStateException
- 
 
- 
- Throws:
- java.lang.IllegalStateException