Package io.mateo.cxf.codegen.wsdl2js
Class Wsdl2JsOptions
java.lang.Object
io.mateo.cxf.codegen.wsdl2js.Wsdl2JsOptions
Options for the
wsdl2js
tool.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Container class for URI. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract RegularFileProperty
Specifies the XML catalog to use for resolving imported schemas and WSDL documents.abstract DirectoryProperty
Specifies the directory the generated code files are written.abstract ListProperty<Wsdl2JsOptions.UriPrefixPair>
Specifies a mapping between the namespaces used in the WSDL document and the prefixes used in the generated JavaScript.getQuiet()
Enables or disables quiet mode.Enables validating the WSDL before generating the code.Enables or disables verbosity.getWsdl()
Specifies the WSDL document from which JavaScript is generated fromSpecifies the WSDL version the tool expects.
-
Constructor Details
-
Wsdl2JsOptions
public Wsdl2JsOptions()
-
-
Method Details
-
getWsdl
Specifies the WSDL document from which JavaScript is generated from- Returns:
- wsdl file
-
getWsdlVersion
Specifies the WSDL version the tool expects.If not set,
wsdl2js
defaults toWSDL1.1
.- Returns:
- wsdl version
-
getPackagePrefixes
Specifies a mapping between the namespaces used in the WSDL document and the prefixes used in the generated JavaScript.The format is
URI=prefix
. In other words:[wsdl namespace]=prefix
- Returns:
- package prefixes
-
getCatalog
Specifies the XML catalog to use for resolving imported schemas and WSDL documents.- Returns:
- catalog
-
getValidate
Enables validating the WSDL before generating the code.- Returns:
- validate WSDL
-
getVerbose
Enables or disables verbosity. When enabled, displays comments during the code generation process.- Returns:
- verbosity indicator
-
getQuiet
Enables or disables quiet mode. When enabled, suppresses comments during the code generation process.- Returns:
- quite mode enablement
-
getOutputDir
Specifies the directory the generated code files are written.If not set, the convention is
"$buildDir/$taskName-wsdl2js-generated-sources"
- Returns:
- output directory
-