1 17 package org.apache.ws.jaxme.generator.sg; 18 19 import java.util.List ; 20 21 import org.apache.ws.jaxme.js.JavaSourceFactory; 22 import org.apache.ws.jaxme.xs.jaxb.JAXBJavaType; 23 import org.apache.ws.jaxme.xs.xml.XsQName; 24 import org.apache.ws.jaxme.generator.sg.GroupSG; 25 import org.apache.ws.jaxme.generator.sg.ObjectSG; 26 import org.apache.ws.jaxme.generator.sg.SGItem; 27 import org.apache.ws.jaxme.generator.sg.TypeSG; 28 import org.w3c.dom.Document ; 29 import org.xml.sax.SAXException ; 30 31 32 44 public interface SchemaSG extends SGItem { 45 47 public TypeSG[] getTypes() throws SAXException ; 48 49 52 public TypeSG getType(XsQName pName) throws SAXException ; 53 54 56 public GroupSG[] getGroups() throws SAXException ; 57 58 61 public GroupSG getGroup(XsQName pName) throws SAXException ; 62 63 65 public ObjectSG[] getObjects() throws SAXException ; 66 67 70 public ObjectSG getElement(XsQName pName) throws SAXException ; 71 72 74 public ObjectSG[] getElements() throws SAXException ; 75 76 79 public String getCollectionType(); 80 81 83 public JavaSourceFactory getJavaSourceFactory(); 84 85 87 public void generate() throws SAXException ; 88 89 92 public boolean isBindingStyleModelGroup(); 93 94 97 public boolean isChoiceContentProperty(); 98 99 102 public boolean isFailFastCheckEnabled(); 103 104 107 public boolean isJavaNamingConventionsEnabled(); 108 109 112 public boolean isFixedAttributeConstantProperty(); 113 114 117 public boolean isGeneratingIsSetMethod(); 118 119 122 public boolean isUnderscoreWordSeparator(); 123 124 126 public JAXBJavaType[] getJAXBJavaTypes(); 127 128 130 public XsQName[] getTypesafeEnumBase(); 131 132 137 public Document getConfigFile(String pPackageName, List pContextList) throws SAXException ; 138 139 141 public void generateJaxbProperties() throws SAXException ; 142 } 143 | Popular Tags |