All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.sardine.model.SearchRequest Maven / Gradle / Ivy

There is a newer version: 5.12
Show newest version
/*
 * copyright(c) 2014 SAS Institute, Cary NC 27513 Created on Oct 23, 2014
 */
package com.github.sardine.model;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;

/**
 * 

Java class for anonymous complex type.

* *

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

* *
    <element name="searchrequest">
        <complexType>
            <any processContents="skip" namespace="##other" minOccurs="1" maxOccurs="1" />
        </complexType>
    </element>
 * 
*/ @XmlType(name = "") @XmlRootElement(name = "searchrequest") public class SearchRequest { private String language; private String query; public SearchRequest() { this.language = "davbasic"; this.query = ""; } public SearchRequest(String language, String query) { this.language = language; this.query = query; } public final String getLanguage() { return language; } @XmlTransient public void setLanguage(String language) { this.language = language; } public final String getQuery() { return query; } @XmlTransient public void setQuery(String query) { this.query = query; } @XmlAnyElement public JAXBElement getElement() { return new JAXBElement(new QName("DAV:", language), String.class, query); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy