org.apache.axis2.jaxws.message
Class XMLFaultReason

java.lang.Object
  extended by org.apache.axis2.jaxws.message.XMLFaultReason

public class XMLFaultReason
extends java.lang.Object

Agnostic representation of a Fault Reason/faultstring. See @XMLFault


Constructor Summary
XMLFaultReason(java.lang.String text)
          A Fault Reason with the default language
XMLFaultReason(java.lang.String text, java.lang.String lang)
          A Fault Reason has the reason text and language
 
Method Summary
static java.lang.String getDefaultLang()
           
 java.lang.String getLang()
           
 java.lang.String getText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLFaultReason

public XMLFaultReason(java.lang.String text,
                      java.lang.String lang)
A Fault Reason has the reason text and language

Parameters:
text -
lang -

XMLFaultReason

public XMLFaultReason(java.lang.String text)
A Fault Reason with the default language

Parameters:
text -
Method Detail

getLang

public java.lang.String getLang()
Returns:
Returns the lang.

getText

public java.lang.String getText()
Returns:
Returns the text.

getDefaultLang

public static java.lang.String getDefaultLang()
Returns:
the IS0 639 language identifier for the default locale


Copyright © 2007 Apache Web Services Project. All Rights Reserved.