initial generated version

Former-commit-id: dac89806d53350b47a4315b92e7d26ce75c9fa4a
This commit is contained in:
Jeremy Long
2013-11-23 22:07:11 -05:00
parent 5cbf49a3dd
commit c96375a16c
3 changed files with 583 additions and 0 deletions

View File

@@ -0,0 +1,115 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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: 2013.11.23 at 10:04:41 PM EST
//
package org.owasp.dependencycheck.jaxb.suppressions.generated;
import java.math.BigDecimal;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.owasp.dependencycheck.jaxb.suppressions.generated package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _SuppressionsSuppressCvssBelow_QNAME = new QName("https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", "cvssBelow");
private final static QName _SuppressionsSuppressCve_QNAME = new QName("https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", "cve");
private final static QName _SuppressionsSuppressCwe_QNAME = new QName("https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", "cwe");
private final static QName _SuppressionsSuppressCpe_QNAME = new QName("https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", "cpe");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.owasp.dependencycheck.jaxb.suppressions.generated
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Suppressions }
*
*/
public Suppressions createSuppressions() {
return new Suppressions();
}
/**
* Create an instance of {@link Suppressions.Suppress }
*
*/
public Suppressions.Suppress createSuppressionsSuppress() {
return new Suppressions.Suppress();
}
/**
* Create an instance of {@link Suppressions.Suppress.Cpe }
*
*/
public Suppressions.Suppress.Cpe createSuppressionsSuppressCpe() {
return new Suppressions.Suppress.Cpe();
}
/**
* Create an instance of {@link Suppressions.Suppress.FilePath }
*
*/
public Suppressions.Suppress.FilePath createSuppressionsSuppressFilePath() {
return new Suppressions.Suppress.FilePath();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}}
*
*/
@XmlElementDecl(namespace = "https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", name = "cvssBelow", scope = Suppressions.Suppress.class)
public JAXBElement<BigDecimal> createSuppressionsSuppressCvssBelow(BigDecimal value) {
return new JAXBElement<BigDecimal>(_SuppressionsSuppressCvssBelow_QNAME, BigDecimal.class, Suppressions.Suppress.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", name = "cve", scope = Suppressions.Suppress.class)
public JAXBElement<String> createSuppressionsSuppressCve(String value) {
return new JAXBElement<String>(_SuppressionsSuppressCve_QNAME, String.class, Suppressions.Suppress.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", name = "cwe", scope = Suppressions.Suppress.class)
public JAXBElement<String> createSuppressionsSuppressCwe(String value) {
return new JAXBElement<String>(_SuppressionsSuppressCwe_QNAME, String.class, Suppressions.Suppress.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Suppressions.Suppress.Cpe }{@code >}}
*
*/
@XmlElementDecl(namespace = "https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", name = "cpe", scope = Suppressions.Suppress.class)
public JAXBElement<Suppressions.Suppress.Cpe> createSuppressionsSuppressCpe(Suppressions.Suppress.Cpe value) {
return new JAXBElement<Suppressions.Suppress.Cpe>(_SuppressionsSuppressCpe_QNAME, Suppressions.Suppress.Cpe.class, Suppressions.Suppress.class, value);
}
}

View File

@@ -0,0 +1,459 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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: 2013.11.23 at 10:04:41 PM EST
//
package org.owasp.dependencycheck.jaxb.suppressions.generated;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence maxOccurs="unbounded" minOccurs="0">
* &lt;element name="suppress">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;sequence minOccurs="0">
* &lt;element name="notes" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;/sequence>
* &lt;choice minOccurs="0">
* &lt;element name="filePath">
* &lt;complexType>
* &lt;simpleContent>
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
* &lt;attribute name="regex" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* &lt;/extension>
* &lt;/simpleContent>
* &lt;/complexType>
* &lt;/element>
* &lt;element name="sha1" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;/choice>
* &lt;sequence maxOccurs="unbounded">
* &lt;choice>
* &lt;element name="cpe">
* &lt;complexType>
* &lt;simpleContent>
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
* &lt;attribute name="regex" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* &lt;/extension>
* &lt;/simpleContent>
* &lt;/complexType>
* &lt;/element>
* &lt;element name="cve" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="cwe" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="cvssBelow" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;/choice>
* &lt;/sequence>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"suppress"
})
@XmlRootElement(name = "suppressions")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public class Suppressions {
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
protected List<Suppressions.Suppress> suppress;
/**
* Gets the value of the suppress property.
*
* <p>
* 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
* <CODE>set</CODE> method for the suppress property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSuppress().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Suppressions.Suppress }
*
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public List<Suppressions.Suppress> getSuppress() {
if (suppress == null) {
suppress = new ArrayList<Suppressions.Suppress>();
}
return this.suppress;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;sequence minOccurs="0">
* &lt;element name="notes" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;/sequence>
* &lt;choice minOccurs="0">
* &lt;element name="filePath">
* &lt;complexType>
* &lt;simpleContent>
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
* &lt;attribute name="regex" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* &lt;/extension>
* &lt;/simpleContent>
* &lt;/complexType>
* &lt;/element>
* &lt;element name="sha1" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;/choice>
* &lt;sequence maxOccurs="unbounded">
* &lt;choice>
* &lt;element name="cpe">
* &lt;complexType>
* &lt;simpleContent>
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
* &lt;attribute name="regex" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* &lt;/extension>
* &lt;/simpleContent>
* &lt;/complexType>
* &lt;/element>
* &lt;element name="cve" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="cwe" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="cvssBelow" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;/choice>
* &lt;/sequence>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"notes",
"filePath",
"sha1",
"cpeOrCveOrCwe"
})
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public static class Suppress {
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
protected String notes;
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
protected Suppressions.Suppress.FilePath filePath;
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
protected String sha1;
@XmlElementRefs({
@XmlElementRef(name = "cpe", namespace = "https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", type = JAXBElement.class),
@XmlElementRef(name = "cvssBelow", namespace = "https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", type = JAXBElement.class),
@XmlElementRef(name = "cwe", namespace = "https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", type = JAXBElement.class),
@XmlElementRef(name = "cve", namespace = "https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", type = JAXBElement.class)
})
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
protected List<JAXBElement<?>> cpeOrCveOrCwe;
/**
* Gets the value of the notes property.
*
* @return possible object is {@link String }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public String getNotes() {
return notes;
}
/**
* Sets the value of the notes property.
*
* @param value allowed object is {@link String }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public void setNotes(String value) {
this.notes = value;
}
/**
* Gets the value of the filePath property.
*
* @return possible object is {@link Suppressions.Suppress.FilePath }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public Suppressions.Suppress.FilePath getFilePath() {
return filePath;
}
/**
* Sets the value of the filePath property.
*
* @param value allowed object is
* {@link Suppressions.Suppress.FilePath }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public void setFilePath(Suppressions.Suppress.FilePath value) {
this.filePath = value;
}
/**
* Gets the value of the sha1 property.
*
* @return possible object is {@link String }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public String getSha1() {
return sha1;
}
/**
* Sets the value of the sha1 property.
*
* @param value allowed object is {@link String }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public void setSha1(String value) {
this.sha1 = value;
}
/**
* Gets the value of the cpeOrCveOrCwe property.
*
* <p>
* 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
* <CODE>set</CODE> method for the cpeOrCveOrCwe property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCpeOrCveOrCwe().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link JAXBElement }{@code <}{@link Suppressions.Suppress.Cpe }{@code >}
* {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public List<JAXBElement<?>> getCpeOrCveOrCwe() {
if (cpeOrCveOrCwe == null) {
cpeOrCveOrCwe = new ArrayList<JAXBElement<?>>();
}
return this.cpeOrCveOrCwe;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;simpleContent>
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
* &lt;attribute name="regex" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* &lt;/extension>
* &lt;/simpleContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public static class Cpe {
@XmlValue
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
protected String value;
@XmlAttribute
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
protected Boolean regex;
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value allowed object is {@link String }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the regex property.
*
* @return possible object is {@link Boolean }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public boolean isRegex() {
if (regex == null) {
return false;
} else {
return regex;
}
}
/**
* Sets the value of the regex property.
*
* @param value allowed object is {@link Boolean }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public void setRegex(Boolean value) {
this.regex = value;
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;simpleContent>
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
* &lt;attribute name="regex" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* &lt;/extension>
* &lt;/simpleContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public static class FilePath {
@XmlValue
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
protected String value;
@XmlAttribute
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
protected Boolean regex;
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value allowed object is {@link String }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the regex property.
*
* @return possible object is {@link Boolean }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public boolean isRegex() {
if (regex == null) {
return false;
} else {
return regex;
}
}
/**
* Sets the value of the regex property.
*
* @param value allowed object is {@link Boolean }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2013-11-23T10:04:41-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6")
public void setRegex(Boolean value) {
this.regex = value;
}
}
}
}

View File

@@ -0,0 +1,9 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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: 2013.11.23 at 10:04:41 PM EST
//
@javax.xml.bind.annotation.XmlSchema(namespace = "https://www.owasp.org/index.php/OWASP_Dependency_Check_Suppression", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package org.owasp.dependencycheck.jaxb.suppressions.generated;