Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2015.01.02 at 12:33:41 PM CET 
  //
  
  
  package org.w3._2000._09.xmldsig_;
 
 import java.util.List;

Java class for SignatureType complex type.

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

 <complexType name="SignatureType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}SignedInfo"/>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}SignatureValue"/>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}Object" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "SignatureType", propOrder = {
     "signedInfo",
     "signatureValue",
     "keyInfo",
     "object"
 })
 public class SignatureType {
 
     @XmlElement(name = "SignedInfo", required = true)
     protected SignedInfoType signedInfo;
     @XmlElement(name = "SignatureValue", required = true)
     protected SignatureValueType signatureValue;
     @XmlElement(name = "KeyInfo")
     protected KeyInfoType keyInfo;
     @XmlElement(name = "Object")
     protected List<ObjectTypeobject;
     @XmlAttribute(name = "Id")
     @XmlID
     @XmlSchemaType(name = "ID")
     protected String id;

    
Default no-arg constructor
 
     public SignatureType() {
         super();
     }

    
Fully-initialising value constructor
 
     public SignatureType(final SignedInfoType signedInfofinal SignatureValueType signatureValuefinal KeyInfoType keyInfofinal List<ObjectTypeobjectfinal String id) {
         this. = signedInfo;
         this. = signatureValue;
         this. = keyInfo;
         this. = object;
         this. = id;
     }

    
Gets the value of the signedInfo property.

Returns:
possible object is
 
     public SignedInfoType getSignedInfo() {
         return ;
    }

    
Sets the value of the signedInfo property.

Parameters:
value allowed object is
    public void setSignedInfo(SignedInfoType value) {
        this. = value;
    }

    
Gets the value of the signatureValue property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the signatureValue property.

Parameters:
value allowed object is
    public void setSignatureValue(SignatureValueType value) {
        this. = value;
    }

    
Gets the value of the keyInfo property.

Returns:
possible object is
    public KeyInfoType getKeyInfo() {
        return ;
    }

    
Sets the value of the keyInfo property.

Parameters:
value allowed object is
    public void setKeyInfo(KeyInfoType value) {
        this. = value;
    }

    
Gets the value of the object 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 object property.

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

    getObject().add(newItem);
 

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

    public List<ObjectTypegetObject() {
        if ( == null) {
             = new ArrayList<ObjectType>();
        }
        return this.;
    }

    
Gets the value of the id property.

Returns:
possible object is
    public String getId() {
        return ;
    }

    
Sets the value of the id property.

Parameters:
value allowed object is
    public void setId(String value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X