net.sf.jaxme.generator.sg.impl
Class JAXBPropertySG
java.lang.Object
net.sf.jaxme.generator.sg.impl.JAXBPropertySG
- All Implemented Interfaces:
- PropertySGChain
- public class JAXBPropertySG
- extends java.lang.Object
- implements PropertySGChain
- Author:
- Jochen Wiedmann
|
Method Summary |
void |
addValue(PropertySG pController,
net.sf.jaxme.js.JavaMethod pMethod,
net.sf.jaxme.js.DirectAccessible pElement,
java.lang.Object pValue,
net.sf.jaxme.js.JavaQName pType)
|
void |
forAllNonNullValues(PropertySG pController,
net.sf.jaxme.js.JavaMethod pMethod,
net.sf.jaxme.js.DirectAccessible pElement,
SGlet pSGlet)
|
void |
forAllValues(PropertySG pController,
net.sf.jaxme.js.JavaMethod pMethod,
net.sf.jaxme.js.DirectAccessible pElement,
SGlet pSGlet)
|
void |
generate(PropertySG pController,
net.sf.jaxme.js.JavaSource pSource)
|
java.lang.String |
getCollectionType(PropertySG pController)
|
static java.lang.String |
getDefaultPropertyName(java.lang.String pLocalName)
|
java.lang.Object |
getValue(PropertySG pController,
net.sf.jaxme.js.DirectAccessible pElement)
|
net.sf.jaxme.js.JavaField |
getXMLField(PropertySG pController,
net.sf.jaxme.js.JavaSource pSource)
|
java.lang.String |
getXMLFieldName(PropertySG pController)
|
net.sf.jaxme.js.JavaMethod |
getXMLGetMethod(PropertySG pController,
net.sf.jaxme.js.JavaSource pSource)
|
java.lang.String |
getXMLGetMethodName(PropertySG pController)
|
net.sf.jaxme.js.JavaMethod |
getXMLIsSetMethod(PropertySG pController,
net.sf.jaxme.js.JavaSource pSource)
|
java.lang.String |
getXMLIsSetMethodName(PropertySG pController)
|
net.sf.jaxme.js.JavaMethod |
getXMLSetMethod(PropertySG pController,
net.sf.jaxme.js.JavaSource pSource)
|
java.lang.String |
getXMLSetMethodName(PropertySG pController)
|
boolean |
hasIsSetMethod(PropertySG pController)
|
void |
init(PropertySG pController)
|
void |
setValue(PropertySG pController,
net.sf.jaxme.js.JavaMethod pMethod,
net.sf.jaxme.js.DirectAccessible pElement,
java.lang.Object pValue,
net.sf.jaxme.js.JavaQName pType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBPropertySG
protected JAXBPropertySG(AttributeSG pAttribute,
net.sf.jaxme.xs.XSAttribute pXSAttribute)
JAXBPropertySG
protected JAXBPropertySG(ObjectSG pElement,
net.sf.jaxme.xs.XSElement pXSElement)
JAXBPropertySG
protected JAXBPropertySG(TypeSG pComplexType,
net.sf.jaxme.xs.XSType pType)
throws SAXException
init
public void init(PropertySG pController)
throws SAXException
- Specified by:
init in interface PropertySGChain
- Throws:
SAXException
hasIsSetMethod
public boolean hasIsSetMethod(PropertySG pController)
- Specified by:
hasIsSetMethod in interface PropertySGChain
getCollectionType
public java.lang.String getCollectionType(PropertySG pController)
- Specified by:
getCollectionType in interface PropertySGChain
getXMLFieldName
public java.lang.String getXMLFieldName(PropertySG pController)
throws SAXException
- Specified by:
getXMLFieldName in interface PropertySGChain
- Throws:
SAXException
getXMLGetMethodName
public java.lang.String getXMLGetMethodName(PropertySG pController)
throws SAXException
- Specified by:
getXMLGetMethodName in interface PropertySGChain
- Throws:
SAXException
getXMLSetMethodName
public java.lang.String getXMLSetMethodName(PropertySG pController)
throws SAXException
- Specified by:
getXMLSetMethodName in interface PropertySGChain
- Throws:
SAXException
getXMLIsSetMethodName
public java.lang.String getXMLIsSetMethodName(PropertySG pController)
throws SAXException
- Specified by:
getXMLIsSetMethodName in interface PropertySGChain
- Throws:
SAXException
getXMLField
public net.sf.jaxme.js.JavaField getXMLField(PropertySG pController,
net.sf.jaxme.js.JavaSource pSource)
throws SAXException
- Specified by:
getXMLField in interface PropertySGChain
- Throws:
SAXException
getXMLGetMethod
public net.sf.jaxme.js.JavaMethod getXMLGetMethod(PropertySG pController,
net.sf.jaxme.js.JavaSource pSource)
throws SAXException
- Specified by:
getXMLGetMethod in interface PropertySGChain
- Throws:
SAXException
getXMLSetMethod
public net.sf.jaxme.js.JavaMethod getXMLSetMethod(PropertySG pController,
net.sf.jaxme.js.JavaSource pSource)
throws SAXException
- Specified by:
getXMLSetMethod in interface PropertySGChain
- Throws:
SAXException
getXMLIsSetMethod
public net.sf.jaxme.js.JavaMethod getXMLIsSetMethod(PropertySG pController,
net.sf.jaxme.js.JavaSource pSource)
throws SAXException
- Specified by:
getXMLIsSetMethod in interface PropertySGChain
- Throws:
SAXException
forAllNonNullValues
public void forAllNonNullValues(PropertySG pController,
net.sf.jaxme.js.JavaMethod pMethod,
net.sf.jaxme.js.DirectAccessible pElement,
SGlet pSGlet)
throws SAXException
- Specified by:
forAllNonNullValues in interface PropertySGChain
- Throws:
SAXException
forAllValues
public void forAllValues(PropertySG pController,
net.sf.jaxme.js.JavaMethod pMethod,
net.sf.jaxme.js.DirectAccessible pElement,
SGlet pSGlet)
throws SAXException
- Specified by:
forAllValues in interface PropertySGChain
- Throws:
SAXException
getValue
public java.lang.Object getValue(PropertySG pController,
net.sf.jaxme.js.DirectAccessible pElement)
throws SAXException
- Specified by:
getValue in interface PropertySGChain
- Throws:
SAXException
generate
public void generate(PropertySG pController,
net.sf.jaxme.js.JavaSource pSource)
throws SAXException
- Specified by:
generate in interface PropertySGChain
- Throws:
SAXException
getDefaultPropertyName
public static java.lang.String getDefaultPropertyName(java.lang.String pLocalName)
setValue
public void setValue(PropertySG pController,
net.sf.jaxme.js.JavaMethod pMethod,
net.sf.jaxme.js.DirectAccessible pElement,
java.lang.Object pValue,
net.sf.jaxme.js.JavaQName pType)
throws SAXException
- Specified by:
setValue in interface PropertySGChain
- Throws:
SAXException
addValue
public void addValue(PropertySG pController,
net.sf.jaxme.js.JavaMethod pMethod,
net.sf.jaxme.js.DirectAccessible pElement,
java.lang.Object pValue,
net.sf.jaxme.js.JavaQName pType)
throws SAXException
- Specified by:
addValue in interface PropertySGChain
- Throws:
SAXException