public class ArrayPropertySG extends MultiplePropertySG
MultiplePropertySG
, which generates
arrays rather than lists.OBJECT_TYPE
Modifier | Constructor and Description |
---|---|
protected |
ArrayPropertySG(PropertySGChain pBase,
ObjectSG pObjectSG,
int pMinOccurs,
int pMaxOccurs) |
Modifier and Type | Method and Description |
---|---|
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) |
protected JavaMethod |
getXMLGetElementMethod(PropertySG pController,
JavaSource pSource) |
protected JavaMethod |
getXMLGetLengthMethod(PropertySG pController,
JavaSource pSource) |
JavaMethod |
getXMLGetMethod(PropertySG pController,
JavaSource pSource) |
protected JavaMethod |
getXMLSetElementMethod(PropertySG pController,
JavaSource pSource) |
JavaMethod |
getXMLSetMethod(PropertySG pController,
JavaSource pSource) |
void |
setValue(PropertySG pController,
JavaMethod pMethod,
DirectAccessible pElement,
java.lang.Object pValue,
JavaQName pType) |
asObject, getInstanceClass, getMaxOccurs, getMinOccurs, getObjectClass, getObjectSG, getXMLField, isAutoBoxing
getCollectionType, getPropertyName, getValue, getXMLFieldName, getXMLGetMethodName, getXMLIsSetMethod, getXMLIsSetMethodName, getXMLSetMethodName, hasIsSetMethod, init
protected ArrayPropertySG(PropertySGChain pBase, ObjectSG pObjectSG, int pMinOccurs, int pMaxOccurs) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public JavaMethod getXMLGetMethod(PropertySG pController, JavaSource pSource) throws org.xml.sax.SAXException
getXMLGetMethod
in interface PropertySGChain
getXMLGetMethod
in class MultiplePropertySG
org.xml.sax.SAXException
protected JavaMethod getXMLGetElementMethod(PropertySG pController, JavaSource pSource) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected JavaMethod getXMLGetLengthMethod(PropertySG pController, JavaSource pSource) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public JavaMethod getXMLSetMethod(PropertySG pController, JavaSource pSource) throws org.xml.sax.SAXException
getXMLSetMethod
in interface PropertySGChain
getXMLSetMethod
in class MultiplePropertySG
org.xml.sax.SAXException
protected JavaMethod getXMLSetElementMethod(PropertySG pController, JavaSource pSource) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void forAllValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet) throws org.xml.sax.SAXException
forAllValues
in interface PropertySGChain
forAllValues
in class MultiplePropertySG
org.xml.sax.SAXException
public void forAllNonNullValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet) throws org.xml.sax.SAXException
forAllNonNullValues
in interface PropertySGChain
forAllNonNullValues
in class MultiplePropertySG
org.xml.sax.SAXException
public void generate(PropertySG pController, JavaSource pSource) throws org.xml.sax.SAXException
generate
in interface PropertySGChain
generate
in class PropertySGChainImpl
org.xml.sax.SAXException
public void setValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, java.lang.Object pValue, JavaQName pType) throws org.xml.sax.SAXException
setValue
in interface PropertySGChain
setValue
in class MultiplePropertySG
org.xml.sax.SAXException
public void addValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, TypedValue pValue, JavaQName pType) throws org.xml.sax.SAXException
addValue
in interface PropertySGChain
addValue
in class MultiplePropertySG
org.xml.sax.SAXException