Class Data
- java.lang.Object
-
- net.opengis.wps.v_2_0.Data
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
public class Data extends Object implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
This element is used to embed the data in a WPS request or response. The content can be XML data, plain character data, or specially encoded binary data (i.e. base64).Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{http://www.w3.org/2001/XMLSchema}anyType"> <attGroup ref="{http://www.opengis.net/wps/2.0}dataEncodingAttributes"/> <anyAttribute processContents='skip'/> </extension> </complexContent> </complexType>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)List<Serializable>getContent()This element is used to embed the data in a WPS request or response.StringgetEncoding()Gets the value of the encoding property.StringgetMimeType()Gets the value of the mimeType property.Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.StringgetSchema()Gets the value of the schema property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetContent()booleanisSetEncoding()booleanisSetMimeType()booleanisSetSchema()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetContent(List<Serializable> value)voidsetEncoding(String value)Sets the value of the encoding property.voidsetMimeType(String value)Sets the value of the mimeType property.voidsetSchema(String value)Sets the value of the schema property.StringtoString()voidunsetContent()DatawithContent(Serializable... values)DatawithContent(Collection<Serializable> values)DatawithContent(List<Serializable> value)DatawithEncoding(String value)DatawithMimeType(String value)DatawithSchema(String value)
-
-
-
Field Detail
-
content
protected List<Serializable> content
-
mimeType
protected String mimeType
-
encoding
protected String encoding
-
schema
protected String schema
-
-
Method Detail
-
getContent
public List<Serializable> getContent()
This element is used to embed the data in a WPS request or response. The content can be XML data, plain character data, or specially encoded binary data (i.e. base64). 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 Jakarta XML Binding object. This is why there is not a
setmethod 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
ObjectStringElement
-
isSetContent
public boolean isSetContent()
-
unsetContent
public void unsetContent()
-
getMimeType
public String getMimeType()
Gets the value of the mimeType property.- Returns:
- possible object is
String
-
setMimeType
public void setMimeType(String value)
Sets the value of the mimeType property.- Parameters:
value- allowed object isString
-
isSetMimeType
public boolean isSetMimeType()
-
getEncoding
public String getEncoding()
Gets the value of the encoding property.- Returns:
- possible object is
String
-
setEncoding
public void setEncoding(String value)
Sets the value of the encoding property.- Parameters:
value- allowed object isString
-
isSetEncoding
public boolean isSetEncoding()
-
getSchema
public String getSchema()
Gets the value of the schema property.- Returns:
- possible object is
String
-
setSchema
public void setSchema(String value)
Sets the value of the schema property.- Parameters:
value- allowed object isString
-
isSetSchema
public boolean isSetSchema()
-
getOtherAttributes
public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
setContent
public void setContent(List<Serializable> value)
-
withContent
public Data withContent(Serializable... values)
-
withContent
public Data withContent(Collection<Serializable> values)
-
withContent
public Data withContent(List<Serializable> value)
-
-