|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator org.apache.axis2.jaxbri.JaxbSchemaGenerator
public class JaxbSchemaGenerator
Field Summary |
---|
Fields inherited from class org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator |
---|
attrFormDefault, classLoader, className, customSchemaLocation, elementFormDefault, excludeMethods, extraClasses, generateBaseException, mappingFileLocation, methods, methodTable, NAME_SPACE_PREFIX, nonRpcMethods, nsGen, pkg2nsmap, schema_namespace_prefix, schemaMap, schemaTargetNameSpace, service, serviceClass, targetNamespace, targetNamespacePrefixMap, typeTable, useWSDLTypesNamespace, xmlSchemaCollection |
Constructor Summary | |
---|---|
JaxbSchemaGenerator(java.lang.ClassLoader loader,
java.lang.String className,
java.lang.String schematargetNamespace,
java.lang.String schematargetNamespacePrefix)
|
Method Summary | |
---|---|
protected static javax.xml.bind.JAXBContext |
createJAXBContext(java.util.Set<java.lang.Class<?>> classes,
java.lang.String defaultNs)
|
protected java.util.List<javax.xml.transform.dom.DOMResult> |
generateJaxbSchemas(javax.xml.bind.JAXBContext context)
|
java.util.Collection |
generateSchema()
Generates schema for all the parameters in method. |
void |
generateSchemaForParameters()
collects all the method parameters and the extra classes from the command line creates a JAXBContext and generates schemas from the JAXBContext |
protected java.util.List<java.lang.Class<?>> |
processMethods(java.lang.reflect.Method[] declaredMethods)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaxbSchemaGenerator(java.lang.ClassLoader loader, java.lang.String className, java.lang.String schematargetNamespace, java.lang.String schematargetNamespacePrefix) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public java.util.Collection generateSchema() throws java.lang.Exception
DefaultSchemaGenerator
generateSchema
in interface SchemaGenerator
generateSchema
in class DefaultSchemaGenerator
java.lang.Exception
public void generateSchemaForParameters() throws java.lang.Exception
java.lang.Exception
protected java.util.List<java.lang.Class<?>> processMethods(java.lang.reflect.Method[] declaredMethods) throws java.lang.Exception
java.lang.Exception
protected java.util.List<javax.xml.transform.dom.DOMResult> generateJaxbSchemas(javax.xml.bind.JAXBContext context) throws java.io.IOException
java.io.IOException
protected static javax.xml.bind.JAXBContext createJAXBContext(java.util.Set<java.lang.Class<?>> classes, java.lang.String defaultNs) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |