|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.javascript.BasicNameManager
public class BasicNameManager
Generate JavaScript names for QNames. This might belong on the CXF bus.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |