Class XmlStructuralValidation

java.lang.Object
eu.europa.esig.dss.diagnostic.jaxb.XmlStructuralValidation
All Implemented Interfaces:
Serializable

public class XmlStructuralValidation extends Object implements Serializable

Java class for StructuralValidation complex type.

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

 <complexType name="StructuralValidation">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="valid" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • XmlStructuralValidation

      public XmlStructuralValidation()
  • Method Details

    • getMessages

      public List<String> getMessages()
      Gets the value of the messages 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 messages property.

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

          getMessages().add(newItem);
       

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

    • isValid

      public Boolean isValid()
      Gets the value of the valid property.
      Returns:
      possible object is Boolean
    • setValid

      public void setValid(Boolean value)
      Sets the value of the valid property.
      Parameters:
      value - allowed object is Boolean