public class BasicNameManager extends Object implements NameManager
Modifier and Type | Method and Description |
---|---|
String |
getJavascriptName(QName qname) |
String |
getJavascriptName(org.apache.ws.commons.schema.XmlSchemaComplexType schemaType) |
static BasicNameManager |
newNameManager(ServiceInfo service)
Factory that just takes a service.
|
static BasicNameManager |
newNameManager(ServiceInfo service,
Endpoint endpoint) |
protected String |
transformURI(String uri)
Take a URI and turn it into a JavaScript name prefix.
|
public static BasicNameManager newNameManager(ServiceInfo service)
service
- public static BasicNameManager newNameManager(ServiceInfo service, Endpoint endpoint)
service
- endpoint
- protected String transformURI(String uri)
uri
- input URI.public String getJavascriptName(org.apache.ws.commons.schema.XmlSchemaComplexType schemaType)
public String getJavascriptName(QName qname)
getJavascriptName
in interface NameManager
Apache CXF