1 17 package org.apache.ws.jaxme.generator.sg; 18 19 import org.apache.ws.jaxme.generator.Generator; 20 import org.apache.ws.jaxme.xs.XSAny; 21 import org.apache.ws.jaxme.xs.XSElement; 22 import org.apache.ws.jaxme.xs.XSEnumeration; 23 import org.apache.ws.jaxme.xs.XSGroup; 24 import org.apache.ws.jaxme.xs.XSObjectFactory; 25 import org.apache.ws.jaxme.xs.XSParser; 26 import org.apache.ws.jaxme.xs.XSSchema; 27 import org.apache.ws.jaxme.xs.XSType; 28 import org.apache.ws.jaxme.xs.xml.XsObjectFactory; 29 import org.apache.ws.jaxme.xs.xml.XsQName; 30 import org.apache.ws.jaxme.generator.sg.Context; 31 import org.apache.ws.jaxme.generator.sg.Facet; 32 import org.apache.ws.jaxme.generator.sg.GroupSG; 33 import org.apache.ws.jaxme.generator.sg.ObjectSG; 34 import org.apache.ws.jaxme.generator.sg.SchemaSG; 35 import org.apache.ws.jaxme.generator.sg.TypeSG; 36 import org.xml.sax.SAXException ; 37 38 39 43 public interface SGFactory { 44 46 public Generator getGenerator(); 47 48 50 public void init(); 51 52 55 public XsObjectFactory newXsObjectFactory() throws SAXException ; 56 57 60 public XSObjectFactory newXSObjectFactory() throws SAXException ; 61 62 65 public Object newSchemaSG(XSSchema pSchema) throws SAXException ; 66 69 public SchemaSG getSchemaSG(XSSchema pSchema) throws SAXException ; 70 76 public SchemaSG getSchemaSG(); 77 78 81 public Object newObjectSG(XSElement pElement) throws SAXException ; 82 83 86 public ObjectSG getObjectSG(XSElement pElement) throws SAXException ; 87 88 91 public Object newObjectSG(XSElement pElement, Context pContext) throws SAXException ; 92 93 96 public ObjectSG getObjectSG(XSElement pElement, Context pContext) throws SAXException ; 97 98 101 public Object newObjectSG(XSAny any); 102 103 106 public ObjectSG getObjectSG(XSAny pWildcard, Context pContext) throws SAXException ; 107 108 111 public GroupSG newGroupSG(XSGroup pGroup) throws SAXException ; 112 113 116 public GroupSG getGroupSG(XSGroup pGroup) throws SAXException ; 117 118 121 public GroupSG newGroupSG(XSGroup pGroup, Context pClassContext) throws SAXException ; 122 123 126 public GroupSG getGroupSG(XSGroup pGroup, Context pClassContext) throws SAXException ; 127 128 139 public Object newTypeSG(XSType pType) throws SAXException ; 140 141 144 public TypeSG getTypeSG(XSType pType) throws SAXException ; 145 146 157 public Object newTypeSG(XSType pType, Context pClassContext, XsQName pName) throws SAXException ; 158 159 162 public TypeSG getTypeSG(XSType pType, Context pClassContext, XsQName pName) throws SAXException ; 163 164 175 public Object newTypeSG(XSType pType, XsQName pName) throws SAXException ; 176 177 181 public TypeSG getTypeSG(XSType pType, XsQName pName) throws SAXException ; 182 183 185 public XSParser newXSParser() throws SAXException ; 186 187 189 public Facet newFacet(XSType pType, XSEnumeration[] pEnumerations) throws SAXException ; 190 191 193 public GroupSG[] getGroups(); 194 195 197 public TypeSG[] getTypes(); 198 199 201 public ObjectSG[] getObjects(); 202 } 203 | Popular Tags |