public class OpenSearchDescription extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ShortName">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<length value="8"/>
</restriction>
</simpleType>
</element>
<element name="Description">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<length value="1024"/>
</restriction>
</simpleType>
</element>
<element name="Url" type="{http://a9.com/-/spec/opensearch/1.1/}Url" maxOccurs="unbounded" minOccurs="0"/>
<element name="Contact" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<pattern value="[^@]+@[^\.]+\..+"/>
</restriction>
</simpleType>
</element>
<element name="Tags" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<length value="256"/>
</restriction>
</simpleType>
</element>
<element name="LongName" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<length value="48"/>
</restriction>
</simpleType>
</element>
<element name="Query" type="{http://a9.com/-/spec/opensearch/1.1/}Query" maxOccurs="unbounded" minOccurs="0"/>
<element name="Developer" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<length value="64"/>
</restriction>
</simpleType>
</element>
<element name="Attribution" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<length value="256"/>
</restriction>
</simpleType>
</element>
<element name="SyndicationRight" type="{http://a9.com/-/spec/opensearch/1.1/}SyndicationRight" minOccurs="0"/>
<element name="AdultContent" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="Language" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="InputEncoding" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="OutputEncoding" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
OpenSearchDescription() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
String |
getAttribution()
Gets the value of the attribution property.
|
String |
getContact()
Gets the value of the contact property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getDeveloper()
Gets the value of the developer property.
|
List<String> |
getInputEncoding()
Gets the value of the inputEncoding property.
|
List<String> |
getLanguage()
Gets the value of the language property.
|
String |
getLongName()
Gets the value of the longName property.
|
List<String> |
getOutputEncoding()
Gets the value of the outputEncoding property.
|
List<Query> |
getQuery()
Gets the value of the query property.
|
String |
getShortName()
Gets the value of the shortName property.
|
SyndicationRight |
getSyndicationRight()
Gets the value of the syndicationRight property.
|
String |
getTags()
Gets the value of the tags property.
|
List<Url> |
getUrl()
Gets the value of the url property.
|
Boolean |
isAdultContent()
Gets the value of the adultContent property.
|
void |
setAdultContent(Boolean value)
Sets the value of the adultContent property.
|
void |
setAttribution(String value)
Sets the value of the attribution property.
|
void |
setContact(String value)
Sets the value of the contact property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDeveloper(String value)
Sets the value of the developer property.
|
void |
setLongName(String value)
Sets the value of the longName property.
|
void |
setShortName(String value)
Sets the value of the shortName property.
|
void |
setSyndicationRight(SyndicationRight value)
Sets the value of the syndicationRight property.
|
void |
setTags(String value)
Sets the value of the tags property.
|
public String getShortName()
Stringpublic void setShortName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic List<Url> getUrl()
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 url property.
For example, to add a new item, do as follows:
getUrl().add(newItem);
Objects of the following type(s) are allowed in the list
Url
public String getContact()
Stringpublic void setContact(String value)
value - allowed object is
Stringpublic String getTags()
Stringpublic void setTags(String value)
value - allowed object is
Stringpublic String getLongName()
Stringpublic void setLongName(String value)
value - allowed object is
Stringpublic List<Query> getQuery()
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 query property.
For example, to add a new item, do as follows:
getQuery().add(newItem);
Objects of the following type(s) are allowed in the list
Query
public String getDeveloper()
Stringpublic void setDeveloper(String value)
value - allowed object is
Stringpublic String getAttribution()
Stringpublic void setAttribution(String value)
value - allowed object is
Stringpublic SyndicationRight getSyndicationRight()
SyndicationRightpublic void setSyndicationRight(SyndicationRight value)
value - allowed object is
SyndicationRightpublic Boolean isAdultContent()
Booleanpublic void setAdultContent(Boolean value)
value - allowed object is
Booleanpublic List<String> getLanguage()
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 language property.
For example, to add a new item, do as follows:
getLanguage().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getInputEncoding()
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 inputEncoding property.
For example, to add a new item, do as follows:
getInputEncoding().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getOutputEncoding()
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 outputEncoding property.
For example, to add a new item, do as follows:
getOutputEncoding().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<Object> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Copyright © 2014–2015 Cohesive Integrations, LLC. All rights reserved.