|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.providers.ProviderUtils
A class of static utility methods for use across multiple providers
Constructor Summary | |
ProviderUtils()
|
Method Summary | |
static java.lang.String |
capitalizeFirst(java.lang.String s)
Capatalise the first character of a String |
static java.lang.Object |
characterArrayToStringArray(java.lang.Object obj)
Convert an array of java.lang.Characters of any dimensions to an equivalent array of java.lang.Strings which has the same dimensions. |
static java.lang.Object |
charArrayToStringArray(java.lang.Object obj)
Convert an array of chars of any dimensions to an equivalent array of java.lang.Strings which has the same dimensions. |
static java.lang.Object |
getDefaultObject(java.lang.Class cls)
Returns a default Object value for a given Class. |
static javax.xml.namespace.QName |
getPartType(javax.wsdl.Part p)
Gets the type of a Part, if the Part doesn't have a type, then gets the Element name as WSIF treats this as the same thing. |
static javax.wsdl.Part |
getWrapperPart(java.util.List parts,
java.lang.String operationName)
Gets the wrapped Part if this is wrapped document literal stype operation. |
static boolean |
isUnwrapable(javax.wsdl.Operation op)
Tests if this is wrapped stype operation. |
static java.lang.String |
lowercaseFirst(java.lang.String s)
Lowercase the first character of a String |
static java.lang.Object |
stringArrayToCharacterArray(java.lang.Object obj)
Convert an array of any dimensions containing only Strings of length 1, to an array of java.lang.Characters which has the same dimensions. |
static java.lang.Object |
stringArrayToCharArray(java.lang.Object obj)
Convert an array of any dimensions containing only Strings of length 1, to an array of chars which has the same dimensions. |
static java.lang.Character |
stringToCharacter(java.lang.String str)
Convert a String to a Character. |
static java.util.List |
unWrapPart(javax.wsdl.Part p,
javax.wsdl.Definition def)
Unwraps a wrapped DocLit style part. |
static java.util.List |
unWrapPart(javax.wsdl.Part p,
javax.wsdl.Definition def,
WSIFMessage context)
Unwraps a wrapped DocLit style part. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProviderUtils()
Method Detail |
public static java.lang.Object stringArrayToCharacterArray(java.lang.Object obj) throws WSIFException
obj
- The array of Strings
A
- WSIFException thrown if the conversion fails for any reason.
WSIFException
public static java.lang.Object stringArrayToCharArray(java.lang.Object obj) throws WSIFException
obj
- The array of Strings
A
- WSIFException thrown if the conversion fails for any reason.
WSIFException
public static java.lang.Object characterArrayToStringArray(java.lang.Object obj) throws WSIFException
obj
- The array of Characters
A
- WSIFException thrown if the conversion fails for any reason.
WSIFException
public static java.lang.Object charArrayToStringArray(java.lang.Object obj) throws WSIFException
obj
- The array of chars
A
- WSIFException thrown if the conversion fails for any reason.
WSIFException
public static java.lang.Character stringToCharacter(java.lang.String str)
str
- The String
public static java.lang.Object getDefaultObject(java.lang.Class cls)
cls
- The Class
public static boolean isUnwrapable(javax.wsdl.Operation op)
public static javax.wsdl.Part getWrapperPart(java.util.List parts, java.lang.String operationName)
public static java.util.List unWrapPart(javax.wsdl.Part p, javax.wsdl.Definition def) throws WSIFException
WSIFException
public static java.util.List unWrapPart(javax.wsdl.Part p, javax.wsdl.Definition def, WSIFMessage context) throws WSIFException
WSIFException
public static javax.xml.namespace.QName getPartType(javax.wsdl.Part p)
public static java.lang.String capitalizeFirst(java.lang.String s)
s
- the string to be capatalized
public static java.lang.String lowercaseFirst(java.lang.String s)
s
- the string to be lowercased
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |