1 17 package org.apache.ws.jaxme.generator.sg; 18 19 import org.apache.ws.jaxme.js.DirectAccessible; 20 import org.apache.ws.jaxme.js.JavaField; 21 import org.apache.ws.jaxme.js.JavaMethod; 22 import org.apache.ws.jaxme.js.JavaQName; 23 import org.apache.ws.jaxme.js.JavaSource; 24 import org.apache.ws.jaxme.js.TypedValue; 25 import org.apache.ws.jaxme.generator.sg.SGlet; 26 import org.xml.sax.SAXException ; 27 28 31 public interface PropertySG { 32 34 public void init() throws SAXException ; 35 36 38 public boolean hasIsSetMethod(); 39 40 42 public String getCollectionType(); 43 44 47 public String getXMLFieldName() throws SAXException ; 48 49 51 public String getPropertyName() throws SAXException ; 52 53 55 public String getXMLGetMethodName() throws SAXException ; 56 57 59 public String getXMLSetMethodName() throws SAXException ; 60 61 63 public String getXMLIsSetMethodName() throws SAXException ; 64 65 67 public JavaField getXMLField(JavaSource pSource) throws SAXException ; 68 69 71 public JavaMethod getXMLGetMethod(JavaSource pSource) throws SAXException ; 72 73 75 public JavaMethod getXMLSetMethod(JavaSource pSource) throws SAXException ; 76 77 79 public JavaMethod getXMLIsSetMethod(JavaSource pSource) throws SAXException ; 80 81 84 public Object getValue(DirectAccessible pElement) throws SAXException ; 85 86 95 public void setValue(JavaMethod pMethod, DirectAccessible pElement, Object pValue, JavaQName pType) 96 throws SAXException ; 97 98 105 public void addValue(JavaMethod pMethod, DirectAccessible pElement, TypedValue pValue, JavaQName pType) 106 throws SAXException ; 107 108 112 public void forAllValues(JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet) throws SAXException ; 113 114 118 public void forAllNonNullValues(JavaMethod pMethod, DirectAccessible pElement, SGlet pSGlet) throws SAXException ; 119 120 122 public void generate(JavaSource pSource) throws SAXException ; 123 } 124 | Popular Tags |