org.apache.ws.jaxme.generator.sg.impl
Class MultiplePropertySG
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.PropertySGChainImpl
org.apache.ws.jaxme.generator.sg.impl.MultiplePropertySG
- All Implemented Interfaces:
- PropertySGChain
- Direct Known Subclasses:
- ArrayPropertySG
public class MultiplePropertySG
- extends PropertySGChainImpl
1.
- Author:
- Jochen Wiedmann
Method Summary |
void |
addValue(PropertySG pController,
JavaMethod pMethod,
DirectAccessible pElement,
TypedValue pValue,
JavaQName pType)
|
protected java.lang.Object |
asObject(java.lang.Object pObject)
|
void |
forAllNonNullValues(PropertySG pController,
JavaMethod pMethod,
DirectAccessible pElement,
SGlet pSGlet)
|
void |
forAllValues(PropertySG pController,
JavaMethod pMethod,
DirectAccessible pElement,
SGlet pSGlet)
|
protected JavaQName |
getInstanceClass()
|
protected int |
getMaxOccurs()
|
protected int |
getMinOccurs()
|
protected JavaQName |
getObjectClass()
|
protected ObjectSG |
getObjectSG()
|
JavaField |
getXMLField(PropertySG pController,
JavaSource pSource)
|
JavaMethod |
getXMLGetMethod(PropertySG pController,
JavaSource pSource)
|
JavaMethod |
getXMLSetMethod(PropertySG pController,
JavaSource pSource)
|
protected boolean |
isAutoBoxing()
|
void |
setValue(PropertySG pController,
JavaMethod pMethod,
DirectAccessible pElement,
java.lang.Object pValue,
JavaQName pType)
|
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.PropertySGChainImpl |
generate, getCollectionType, getPropertyName, getValue, getXMLFieldName, getXMLGetMethodName, getXMLIsSetMethod, getXMLIsSetMethodName, getXMLSetMethodName, hasIsSetMethod, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_TYPE
protected static final JavaQName OBJECT_TYPE
MultiplePropertySG
protected MultiplePropertySG(PropertySGChain pBase,
ObjectSG pObjectSG,
int pMinOccurs,
int pMaxOccurs)
Creates a new instance of MultipleObjectSG.
getMinOccurs
protected int getMinOccurs()
getMaxOccurs
protected int getMaxOccurs()
getObjectSG
protected ObjectSG getObjectSG()
getInstanceClass
protected JavaQName getInstanceClass()
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
isAutoBoxing
protected boolean isAutoBoxing()
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getObjectClass
protected JavaQName getObjectClass()
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
asObject
protected java.lang.Object asObject(java.lang.Object pObject)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getXMLField
public JavaField getXMLField(PropertySG pController,
JavaSource pSource)
throws org.xml.sax.SAXException
- Specified by:
getXMLField
in interface PropertySGChain
- Overrides:
getXMLField
in class PropertySGChainImpl
- Throws:
org.xml.sax.SAXException
getXMLSetMethod
public JavaMethod getXMLSetMethod(PropertySG pController,
JavaSource pSource)
throws org.xml.sax.SAXException
- Specified by:
getXMLSetMethod
in interface PropertySGChain
- Overrides:
getXMLSetMethod
in class PropertySGChainImpl
- Throws:
org.xml.sax.SAXException
getXMLGetMethod
public JavaMethod getXMLGetMethod(PropertySG pController,
JavaSource pSource)
throws org.xml.sax.SAXException
- Specified by:
getXMLGetMethod
in interface PropertySGChain
- Overrides:
getXMLGetMethod
in class PropertySGChainImpl
- Throws:
org.xml.sax.SAXException
forAllValues
public void forAllValues(PropertySG pController,
JavaMethod pMethod,
DirectAccessible pElement,
SGlet pSGlet)
throws org.xml.sax.SAXException
- Specified by:
forAllValues
in interface PropertySGChain
- Overrides:
forAllValues
in class PropertySGChainImpl
- Throws:
org.xml.sax.SAXException
forAllNonNullValues
public void forAllNonNullValues(PropertySG pController,
JavaMethod pMethod,
DirectAccessible pElement,
SGlet pSGlet)
throws org.xml.sax.SAXException
- Specified by:
forAllNonNullValues
in interface PropertySGChain
- Overrides:
forAllNonNullValues
in class PropertySGChainImpl
- 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:
setValue
in interface PropertySGChain
- Overrides:
setValue
in class PropertySGChainImpl
- 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:
addValue
in interface PropertySGChain
- Overrides:
addValue
in class PropertySGChainImpl
- Throws:
org.xml.sax.SAXException