Apache CXF API

org.apache.cxf.javascript.service
Class ServiceJavascriptBuilder

java.lang.Object
  extended by org.apache.cxf.service.ServiceModelVisitor
      extended by org.apache.cxf.javascript.service.ServiceJavascriptBuilder

public class ServiceJavascriptBuilder
extends ServiceModelVisitor

Class to construct the JavaScript corresponding to a service.


Field Summary
 
Fields inherited from class org.apache.cxf.service.ServiceModelVisitor
serviceInfo
 
Constructor Summary
ServiceJavascriptBuilder(ServiceInfo serviceInfo, String endpointAddress, NamespacePrefixAccumulator prefixAccumulator, NameManager nameManager)
          Construct builder object.
 
Method Summary
 void begin(EndpointInfo endpointInfo)
           
 void begin(FaultInfo fault)
           
 void begin(InterfaceInfo intf)
           
 void begin(MessageInfo msg)
           
 void begin(OperationInfo op)
           
 void begin(ServiceInfo service)
           
 void end(FaultInfo fault)
           
 void end(InterfaceInfo intf)
           
 void end(MessageInfo msg)
           
 void end(MessagePartInfo part)
           
 void end(OperationInfo op)
           
 void end(ServiceInfo service)
           
 String getCode()
           
 
Methods inherited from class org.apache.cxf.service.ServiceModelVisitor
begin, begin, end, end, walk
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceJavascriptBuilder

public ServiceJavascriptBuilder(ServiceInfo serviceInfo,
                                String endpointAddress,
                                NamespacePrefixAccumulator prefixAccumulator,
                                NameManager nameManager)
Construct builder object.

Parameters:
serviceInfo - CXF service model description of the service.
endpointAddress - http:// URL for the service, or null if not known.
prefixAccumulator - object that keeps track of prefixes through an entire WSDL.
nameManager - object that generates names for JavaScript objects.
Method Detail

getCode

public String getCode()

begin

public void begin(FaultInfo fault)
Overrides:
begin in class ServiceModelVisitor

begin

public void begin(InterfaceInfo intf)
Overrides:
begin in class ServiceModelVisitor

end

public void end(OperationInfo op)
Overrides:
end in class ServiceModelVisitor

begin

public void begin(ServiceInfo service)
Overrides:
begin in class ServiceModelVisitor

end

public void end(FaultInfo fault)
Overrides:
end in class ServiceModelVisitor

end

public void end(InterfaceInfo intf)
Overrides:
end in class ServiceModelVisitor

end

public void end(MessageInfo msg)
Overrides:
end in class ServiceModelVisitor

end

public void end(MessagePartInfo part)
Overrides:
end in class ServiceModelVisitor

end

public void end(ServiceInfo service)
Overrides:
end in class ServiceModelVisitor

begin

public void begin(OperationInfo op)
Overrides:
begin in class ServiceModelVisitor

begin

public void begin(MessageInfo msg)
Overrides:
begin in class ServiceModelVisitor

begin

public void begin(EndpointInfo endpointInfo)
Overrides:
begin in class ServiceModelVisitor

Apache CXF API

Apache CXF