| java.lang.Object org.springframework.ws.soap.axiom.support.AxiomUtils
AxiomUtils | abstract public class AxiomUtils (Code) | | Collection of generic utility methods to work with Axiom. Includes conversion from OMNamespace s to
QName s.
author: Arjen Poutsma See Also: org.apache.axiom.om.OMNamespace See Also: javax.xml.namespace.QName since: 1.0.0 |
Method Summary | |
public static String | toLanguage(Locale locale) Converts the given locale to a xml:lang string, as used in Axiom Faults. | public static Locale | toLocale(String language) Converts the given locale to a xml:lang string, as used in Axiom Faults. | public static OMNamespace | toNamespace(QName qName, OMElement resolveElement) Converts a javax.xml.namespace.QName to a org.apache.axiom.om.OMNamespace . |
toLanguage | public static String toLanguage(Locale locale)(Code) | | Converts the given locale to a xml:lang string, as used in Axiom Faults.
Parameters: locale - the locale the language string |
toLocale | public static Locale toLocale(String language)(Code) | | Converts the given locale to a xml:lang string, as used in Axiom Faults.
Parameters: language - the language string the locale |
toNamespace | public static OMNamespace toNamespace(QName qName, OMElement resolveElement) throws OMException(Code) | | Converts a javax.xml.namespace.QName to a org.apache.axiom.om.OMNamespace . A
OMElement is used to resolve the namespace, or to declare a new one.
Parameters: qName - the QName to convert Parameters: resolveElement - the element used to resolve the Q the converted SAAJ Name throws: OMException - if conversion is unsuccessful throws: IllegalArgumentException - if qName is not fully qualified |
|
|