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 ObjectType complex type.

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

 <complexType name="ObjectType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <any processContents='lax'/>
       </sequence>
       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="MimeType" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="Encoding" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "ObjectType", propOrder = {
     "content"
 })
 public class ObjectType {
 
     @XmlMixed
     @XmlAnyElement(lax = true)
     protected List<Objectcontent;
     @XmlAttribute(name = "Id")
     @XmlID
     @XmlSchemaType(name = "ID")
     protected String id;
     @XmlAttribute(name = "MimeType")
     protected String mimeType;
     @XmlAttribute(name = "Encoding")
     @XmlSchemaType(name = "anyURI")
     protected String encoding;

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

    
Fully-initialising value constructor
 
     public ObjectType(final List<Objectcontentfinal String idfinal String mimeTypefinal String encoding) {
         this. = content;
         this. = id;
         this. = mimeType;
         this. = encoding;
     }

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

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

    getContent().add(newItem);
 

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

    public List<ObjectgetContent() {
        if ( == null) {
             = new ArrayList<Object>();
        }
        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;
    }

    
Gets the value of the mimeType property.

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

    
Sets the value of the mimeType property.

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

    
Gets the value of the encoding property.

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

    
Sets the value of the encoding property.

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