Apache CXF API

org.apache.cxf.javascript
Class JavascriptOptionsFeature

java.lang.Object
  extended by org.apache.cxf.feature.AbstractFeature
      extended by 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.


Constructor Summary
JavascriptOptionsFeature()
           
 
Method Summary
 Map<String,String> getNamespacePrefixMap()
          Retrieve the map from namespace URI strings to JavaScript function prefixes.
 void initialize(Server server, Bus bus)
           
 void setNamespacePrefixMap(Map<String,String> namespacePrefixMap)
          Set the map from namespace URI strings to Javascript function prefixes.
 
Methods inherited from class org.apache.cxf.feature.AbstractFeature
getActive, initialize, initialize, initialize, initializeProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavascriptOptionsFeature

public JavascriptOptionsFeature()
Method Detail

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 API

Apache CXF