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

Class ArrayPropertySG

public class ArrayPropertySG extends MultiplePropertySG

A subclass of MultiplePropertySG, which generates arrays rather than lists.
Constructor Summary
protected ArrayPropertySG(PropertySGChain pBase, ObjectSG pObjectSG, int pMinOccurs, int pMaxOccurs)
Method Summary
voidaddValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, TypedValue pValue, JavaQName pType)
voidforAllNonNullValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet)
voidforAllValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet)
voidgenerate(PropertySG pController, JavaSource pSource)
protected JavaMethodgetXMLGetElementMethod(PropertySG pController, JavaSource pSource)
protected JavaMethodgetXMLGetLengthMethod(PropertySG pController, JavaSource pSource)
JavaMethodgetXMLGetMethod(PropertySG pController, JavaSource pSource)
protected JavaMethodgetXMLSetElementMethod(PropertySG pController, JavaSource pSource)
JavaMethodgetXMLSetMethod(PropertySG pController, JavaSource pSource)
voidsetValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, Object pValue, JavaQName pType)

Constructor Detail

ArrayPropertySG

protected ArrayPropertySG(PropertySGChain pBase, ObjectSG pObjectSG, int pMinOccurs, int pMaxOccurs)

Method Detail

addValue

public void addValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, TypedValue pValue, JavaQName pType)

forAllNonNullValues

public void forAllNonNullValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet)

forAllValues

public void forAllValues(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet)

generate

public void generate(PropertySG pController, JavaSource pSource)

getXMLGetElementMethod

protected JavaMethod getXMLGetElementMethod(PropertySG pController, JavaSource pSource)

getXMLGetLengthMethod

protected JavaMethod getXMLGetLengthMethod(PropertySG pController, JavaSource pSource)

getXMLGetMethod

public JavaMethod getXMLGetMethod(PropertySG pController, JavaSource pSource)

getXMLSetElementMethod

protected JavaMethod getXMLSetElementMethod(PropertySG pController, JavaSource pSource)

getXMLSetMethod

public JavaMethod getXMLSetMethod(PropertySG pController, JavaSource pSource)

setValue

public void setValue(PropertySG pController, JavaMethod pMethod, DirectAccessible pElement, Object pValue, JavaQName pType)