Package com.sun.xml.rpc.util
Class JAXRPCClassFactory
- java.lang.Object
-
- com.sun.xml.rpc.util.JAXRPCClassFactory
-
public class JAXRPCClassFactory extends Object
Singleton factory class to instantiate concrete classes based on the jaxrpc version to be used to generate the code.- Author:
- JAX-RPC Development Team
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalSchemaBuilderBasecreateInternalSchemaBuilder(AbstractDocument document, Properties options)Returns the instance of InternalSchemaBuilderBase for specific target version set for the factory.NamescreateNames()Returns the Names for specific target version.SchemaAnalyzerBasecreateSchemaAnalyzer(AbstractDocument document, ModelInfo modelInfo, Properties options, Set conflictingClassNames, JavaSimpleTypeCreator javaTypes)Returns the instance of SchemaAnalyzer for specific target version set for the factory.SOAPSimpleTypeCreatorBasecreateSOAPSimpleTypeCreator()Returns the SOAPSimpleTypeCreatorBase for specific target version.SOAPSimpleTypeCreatorBasecreateSOAPSimpleTypeCreator(boolean useStrictMode)Returns the SOAPSimpleTypeCreatorBase for specific target version.SOAPSimpleTypeCreatorBasecreateSOAPSimpleTypeCreator(boolean useStrictMode, SOAPVersion version)Returns the SOAPSimpleTypeCreatorBase for specific target version.WSDLModelerBasecreateWSDLModeler(WSDLModelInfo modelInfo, Properties options)Returns the WSDLModeler for specific target version.StringgetVersion()static JAXRPCClassFactorynewInstance()Get the factory instance for the default version.voidsetSourceVersion(String version)Sets the version to a static classVersion
-
-
-
Method Detail
-
newInstance
public static JAXRPCClassFactory newInstance()
Get the factory instance for the default version.- Returns:
- JAXRPCClassFactory instance
-
setSourceVersion
public void setSourceVersion(String version)
Sets the version to a static classVersion- Parameters:
version-
-
createSchemaAnalyzer
public SchemaAnalyzerBase createSchemaAnalyzer(AbstractDocument document, ModelInfo modelInfo, Properties options, Set conflictingClassNames, JavaSimpleTypeCreator javaTypes)
Returns the instance of SchemaAnalyzer for specific target version set for the factory.- Parameters:
document-modelInfo-options-conflictingClassNames-javaTypes-- Returns:
- the appropriate SchemaAnalyzer for the JAX-RPC version
-
createInternalSchemaBuilder
public InternalSchemaBuilderBase createInternalSchemaBuilder(AbstractDocument document, Properties options)
Returns the instance of InternalSchemaBuilderBase for specific target version set for the factory.- Parameters:
document-options-- Returns:
- the appropriate InternalSchemaBuilderBase for the JAX-RPC version
-
createWSDLModeler
public WSDLModelerBase createWSDLModeler(WSDLModelInfo modelInfo, Properties options)
Returns the WSDLModeler for specific target version.- Parameters:
modelInfo-options-- Returns:
- the appropriate WSDLModeler for the JAX-RPC version
-
createNames
public Names createNames()
Returns the Names for specific target version. //bug fix:4904604- Returns:
- the appropriate
Namesfor the JAX-RPC version
-
createSOAPSimpleTypeCreator
public SOAPSimpleTypeCreatorBase createSOAPSimpleTypeCreator()
Returns the SOAPSimpleTypeCreatorBase for specific target version.- Returns:
- the appropriate SOAPSimpleTypeCreatorBase for the JAX-RPC version
-
createSOAPSimpleTypeCreator
public SOAPSimpleTypeCreatorBase createSOAPSimpleTypeCreator(boolean useStrictMode)
Returns the SOAPSimpleTypeCreatorBase for specific target version.- Returns:
- the appropriate SOAPSimpleTypeCreatorBase for the JAX-RPC version
-
createSOAPSimpleTypeCreator
public SOAPSimpleTypeCreatorBase createSOAPSimpleTypeCreator(boolean useStrictMode, SOAPVersion version)
Returns the SOAPSimpleTypeCreatorBase for specific target version.- Returns:
- the appropriate SOAPSimpleTypeCreatorBase for the JAX-RPC version
-
getVersion
public String getVersion()
-
-