Package org.n52.shetland.ogc.swe.stream
Class StreamingSweDataArray
- java.lang.Object
-
- org.n52.shetland.ogc.swe.SweAbstractDataComponent
-
- org.n52.shetland.ogc.swe.stream.StreamingSweDataArray
-
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>
public class StreamingSweDataArray extends SweAbstractDataComponent
-
-
Constructor Summary
Constructors Constructor Description StreamingSweDataArray()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,X extends Throwable>
Taccept(SweDataComponentVisitor<T,X> visitor)<X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor)SweAbstractDataComponentcopy()SweConstants.SweDataComponentTypegetDataComponentType()SweCountgetElementCount()SweAbstractDataComponentgetElementType()SweAbstractEncodinggetEncoding()StreamingValue<?>getValues()booleanisEmpty()booleanisSetElementCount()booleanisSetElementTyp()booleanisSetEncoding()booleanisSetValues()StreamingSweDataArraysetElementCount(SweCount elementCount)StreamingSweDataArraysetElementType(SweAbstractDataComponent elementType)StreamingSweDataArraysetEncoding(SweAbstractEncoding encoding)StreamingSweDataArraysetValues(StreamingValue<?> values)-
Methods inherited from class org.n52.shetland.ogc.swe.SweAbstractDataComponent
addName, addName, addName, copyValueTo, equals, getDefaultElementEncoding, getDefinition, getDescription, getIdentifier, getLabel, getName, getNames, getXml, hashCode, isSetDefinition, isSetDescription, isSetIdentifier, isSetLabel, isSetName, isSetNames, isSetXml, setDefaultElementEncoding, setDefinition, setDescription, setIdentifier, setLabel, setName, setName, setName, setXml
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.HasDefaultEncoding
isSetDefaultElementEncoding
-
-
-
-
Method Detail
-
getValues
public StreamingValue<?> getValues()
- Returns:
- the values
-
setValues
public StreamingSweDataArray setValues(StreamingValue<?> values)
- Parameters:
values- the values to set- Returns:
- This SweDataArray
-
getElementType
public SweAbstractDataComponent getElementType()
- Returns:
- the elementType
-
setElementType
public StreamingSweDataArray setElementType(SweAbstractDataComponent elementType)
- Parameters:
elementType- the elementType to set- Returns:
- This SweDataArray
-
getElementCount
public SweCount getElementCount()
-
getEncoding
public SweAbstractEncoding getEncoding()
-
setEncoding
public StreamingSweDataArray setEncoding(SweAbstractEncoding encoding)
-
isSetValues
public boolean isSetValues()
- Returns:
- true, if the values field is set properly
-
isSetElementTyp
public boolean isSetElementTyp()
-
isSetEncoding
public boolean isSetEncoding()
-
setElementCount
public StreamingSweDataArray setElementCount(SweCount elementCount)
-
isSetElementCount
public boolean isSetElementCount()
-
isEmpty
public boolean isEmpty()
-
getDataComponentType
public SweConstants.SweDataComponentType getDataComponentType()
- Specified by:
getDataComponentTypein classSweAbstractDataComponent
-
copy
public SweAbstractDataComponent copy()
-
accept
public <T,X extends Throwable> T accept(SweDataComponentVisitor<T,X> visitor) throws X extends Throwable
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X extends Throwable
-
accept
public <X extends Throwable> void accept(VoidSweDataComponentVisitor<X> visitor) throws X extends Throwable
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X extends Throwable
-
-