| java.lang.Object org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator
All known Subclasses: org.apache.axis2.description.java2wsdl.DocLitBareSchemaGenerator,
Method Summary | |
protected void | addContentToMethodSchemaType(XmlSchemaSequence sequence, QName schemaTypeName, String paraName, boolean isArray) | protected void | addImport(XmlSchema xmlSchema, QName schemaTypeName) | protected String | generatePrefix() | public Collection | generateSchema() Generates schema for all the parameters in method. | protected void | generateSchemaforFieldsandProperties(XmlSchema xmlSchema, XmlSchemaSequence sequence, JClass type, String name, boolean isArryType) | public String | getAttrFormDefault() | protected XmlSchemaForm | getAttrFormDefaultSetting() | protected XmlSchemaComplexType | getComplexTypeForElement(XmlSchema xmlSchema, QName name) | public static String | getCorrectName(String wrongName) | public String | getElementFormDefault() | protected XmlSchemaForm | getElementFormDefaultSetting() | public ArrayList | getExtraClasses() | public JMethod[] | getMethods() | public NamespaceGenerator | getNsGen() | public Map | getPkg2nsmap() | protected String | getQualifiedName(JMethod method) | protected String | getQualifiedName(JClass type) | protected String | getQualifiedName(JProperty peroperty) | protected String | getQualifiedName(JParameter parameter) | protected String | getQualifiedName(JPackage packagez) | public String | getSchemaTargetNameSpace() | protected String | getSimpleName(JMethod method) | protected String | getSimpleName(JClass type) | protected String | getSimpleName(JProperty peroperty) | protected String | getSimpleName(JParameter parameter) | public String | getTargetNamespace() | public TypeTable | getTypeTable() | protected boolean | isDataHandler(JClass clazz) | public boolean | isUseWSDLTypesNamespace() | protected void | processException(JMethod jMethod, AxisOperation axisOperation) | protected JMethod[] | processMethods(JMethod[] declaredMethods) | protected String | resolveSchemaNamespace(String packageName) | public void | setAttrFormDefault(String attrFormDefault) | public void | setAxisService(AxisService service) | public void | setElementFormDefault(String elementFormDefault) | public void | setExcludeMethods(ArrayList excludeMethods) | public void | setExtraClasses(ArrayList extraClasses) | public void | setNonRpcMethods(ArrayList nonRpcMethods) | public void | setNsGen(NamespaceGenerator nsGen) | public void | setPkg2nsmap(Map pkg2nsmap) | public void | setUseWSDLTypesNamespace(boolean useWSDLTypesNamespace) |
NAME_SPACE_PREFIX | final public static String NAME_SPACE_PREFIX(Code) | | |
generateBaseException | protected boolean generateBaseException(Code) | | |
methods | protected JMethod methods(Code) | | |
schemaTargetNameSpace | protected String schemaTargetNameSpace(Code) | | |
schema_namespace_prefix | protected String schema_namespace_prefix(Code) | | |
targetNamespacePrefixMap | protected Map targetNamespacePrefixMap(Code) | | |
useWSDLTypesNamespace | protected boolean useWSDLTypesNamespace(Code) | | |
xmlSchemaCollection | protected XmlSchemaCollection xmlSchemaCollection(Code) | | |
addContentToMethodSchemaType | protected void addContentToMethodSchemaType(XmlSchemaSequence sequence, QName schemaTypeName, String paraName, boolean isArray)(Code) | | |
addImport | protected void addImport(XmlSchema xmlSchema, QName schemaTypeName)(Code) | | |
generateSchema | public Collection generateSchema() throws Exception(Code) | | Generates schema for all the parameters in method. First generates schema for all different
parameter type and later refers to them.
Returns XmlSchema. throws: Exception - |
generateSchemaforFieldsandProperties | protected void generateSchemaforFieldsandProperties(XmlSchema xmlSchema, XmlSchemaSequence sequence, JClass type, String name, boolean isArryType) throws Exception(Code) | | |
getAttrFormDefaultSetting | protected XmlSchemaForm getAttrFormDefaultSetting()(Code) | | |
getComplexTypeForElement | protected XmlSchemaComplexType getComplexTypeForElement(XmlSchema xmlSchema, QName name)(Code) | | |
getCorrectName | public static String getCorrectName(String wrongName)(Code) | | JAM convert first name of an attribute into UpperCase as an example if there is a instance
variable called foo in a bean , then Jam give that as Foo so this method is to correct that
error
Parameters: wrongName - the right name, using english as the locale for case conversion |
getElementFormDefault | public String getElementFormDefault()(Code) | | |
getElementFormDefaultSetting | protected XmlSchemaForm getElementFormDefaultSetting()(Code) | | |
getMethods | public JMethod[] getMethods()(Code) | | |
getQualifiedName | protected String getQualifiedName(JMethod method)(Code) | | |
getQualifiedName | protected String getQualifiedName(JClass type)(Code) | | |
getQualifiedName | protected String getQualifiedName(JProperty peroperty)(Code) | | |
getQualifiedName | protected String getQualifiedName(JParameter parameter)(Code) | | |
getQualifiedName | protected String getQualifiedName(JPackage packagez)(Code) | | |
getSchemaTargetNameSpace | public String getSchemaTargetNameSpace()(Code) | | |
getSimpleName | protected String getSimpleName(JMethod method)(Code) | | |
getSimpleName | protected String getSimpleName(JClass type)(Code) | | |
getSimpleName | protected String getSimpleName(JProperty peroperty)(Code) | | |
getSimpleName | protected String getSimpleName(JParameter parameter)(Code) | | |
isDataHandler | protected boolean isDataHandler(JClass clazz)(Code) | | |
isUseWSDLTypesNamespace | public boolean isUseWSDLTypesNamespace()(Code) | | |
processException | protected void processException(JMethod jMethod, AxisOperation axisOperation) throws Exception(Code) | | This method will generate Schema element for all the excetion types in a given JMethod
- No matter what it will generate Schema element for java.lang.Exception so that for other
exception which extend java.lang.Excetion can use as the base class type
|
processMethods | protected JMethod[] processMethods(JMethod[] declaredMethods) throws Exception(Code) | | |
setAttrFormDefault | public void setAttrFormDefault(String attrFormDefault)(Code) | | |
setElementFormDefault | public void setElementFormDefault(String elementFormDefault)(Code) | | |
setExcludeMethods | public void setExcludeMethods(ArrayList excludeMethods)(Code) | | |
setNonRpcMethods | public void setNonRpcMethods(ArrayList nonRpcMethods)(Code) | | |
setPkg2nsmap | public void setPkg2nsmap(Map pkg2nsmap)(Code) | | |
setUseWSDLTypesNamespace | public void setUseWSDLTypesNamespace(boolean useWSDLTypesNamespace)(Code) | | |
|
|