Class Faultreason

java.lang.Object
com.sun.xml.ws.security.soap12.Faultreason

public class Faultreason extends Object

Java class for faultreason complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="faultreason">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Text" type="{http://www.w3.org/2003/05/soap-envelope}reasontext" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Faultreason

      public Faultreason()
  • Method Details

    • getText

      public List<Reasontext> getText()
      Gets the value of the text property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the text property.

      For example, to add a new item, do as follows:

          getText().add(newItem);
       

      Objects of the following type(s) are allowed in the list Reasontext