org.apache.cxf.javascript
Class JavascriptOptionsFeature
java.lang.Object
org.apache.cxf.feature.AbstractFeature
org.apache.cxf.javascript.JavascriptOptionsFeature
- All Implemented Interfaces:
- Feature
public class JavascriptOptionsFeature
- extends AbstractFeature
This class provides configuration options to the JavaScript client generator.
Attach this feature to control namespace mapping and other options.
]]>
At this time, there is no corresponding WSDL extension for this information.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavascriptOptionsFeature
public JavascriptOptionsFeature()
getNamespacePrefixMap
public Map<String,String> getNamespacePrefixMap()
- Retrieve the map from namespace URI strings to JavaScript function prefixes.
- Returns:
- the map
setNamespacePrefixMap
public void setNamespacePrefixMap(Map<String,String> namespacePrefixMap)
- Set the map from namespace URI strings to Javascript function prefixes.
- Parameters:
namespacePrefixMap - the map from namespace URI strings to JavaScript function prefixes.
initialize
public void initialize(Server server,
Bus bus)
- Specified by:
initialize in interface Feature- Overrides:
initialize in class AbstractFeature
Apache CXF