|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.helpers.ServiceUtils
public final class ServiceUtils
| Method Summary | |
|---|---|
static String |
getMethodName(Method m)
|
static SchemaValidation.SchemaValidationType |
getSchemaValidationType(Message message)
Determines the appropriate SchemaValidationType to return based on either a Boolean (for backwards compatibility) or the selected Schema Validation Type. |
static String |
makeNamespaceFromClassName(String className,
String protocol)
Generates the name of a XML namespace from a given class name and protocol. |
static String |
makePackageName(String namespace)
Method makePackageName |
static QName |
makeQualifiedNameFromClass(Class<?> clazz)
|
static String |
makeServiceNameFromClassName(Class<?> clazz)
Generates a suitable service name from a given class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SchemaValidation.SchemaValidationType getSchemaValidationType(Message message)
message -
public static String makeServiceNameFromClassName(Class<?> clazz)
clazz - the class.
public static QName makeQualifiedNameFromClass(Class<?> clazz)
public static String getMethodName(Method m)
public static String makeNamespaceFromClassName(String className,
String protocol)
protocol://domain, where protocol is the
given protocol, and domain the inversed package name of
the given class name. For instance, if the given class name is
org.codehaus.xfire.services.Echo, and the protocol is
http, the resulting namespace would be
http://services.xfire.codehaus.org.
className - the class nameprotocol - the protocol (eg. http)
public static String makePackageName(String namespace)
namespace -
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||