org.apache.cxf.javascript.service
Class ServiceJavascriptBuilder
java.lang.Object
org.apache.cxf.service.ServiceModelVisitor
org.apache.cxf.javascript.service.ServiceJavascriptBuilder
public class ServiceJavascriptBuilder
- extends ServiceModelVisitor
Class to construct the JavaScript corresponding to a service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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
getElementType
public static org.apache.ws.commons.schema.XmlSchemaType getElementType(SchemaCollection xmlSchemaCollection,
String referencingURI,
org.apache.ws.commons.schema.XmlSchemaElement element,
org.apache.ws.commons.schema.XmlSchemaType containingType)
- Follow a chain of references from element to element until we can obtain
a type.
- Parameters:
element
-
unsupportedConstruct
public static void unsupportedConstruct(String messageKey,
String what,
QName subjectName,
org.apache.ws.commons.schema.XmlSchemaObject subject)
unsupportedConstruct
public static void unsupportedConstruct(String messageKey,
org.apache.ws.commons.schema.XmlSchemaType subject)
cleanedUpSchemaSource
public static String cleanedUpSchemaSource(org.apache.ws.commons.schema.XmlSchemaObject subject)
Apache CXF