Package org.vast.data
Class BinaryBlockImpl
java.lang.Object
org.vast.data.AbstractSWEImpl
org.vast.data.BinaryBlockImpl
- All Implemented Interfaces:
Serializable
,HasCopy
,AbstractSWE
,BinaryBlock
,BinaryMember
POJO class for XML type BlockType(@http://www.opengis.net/swe/2.0).
This is a complex type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Long
protected String
protected String
protected Integer
protected Integer
protected CompressedStreamParser
protected String
Fields inherited from class org.vast.data.AbstractSWEImpl
extensionList, id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Gets the reader to use to decode the data for this blocklong
Gets the byteLength propertyGets the compression propertyGets the encryption propertyint
Gets the paddingBytesAfter propertyint
Gets the paddingBytesBefore propertygetRef()
Gets the ref propertyboolean
Checks if byteLength is setboolean
Checks if compression is setboolean
Checks if encryption is setboolean
Checks if paddingBytesAfter is setboolean
Checks if paddingBytesBefore is setvoid
setBlockReader
(CompressedStreamParser reader) Sets the reader to use for decoding this blockvoid
setByteLength
(long byteLength) Sets the byteLength propertyvoid
setCompression
(String compression) Sets the compression propertyvoid
setEncryption
(String encryption) Sets the encryption propertyvoid
setPaddingBytesAfter
(int paddingBytesAfter) Sets the paddingBytesAfter propertyvoid
setPaddingBytesBefore
(int paddingBytesBefore) Sets the paddingBytesBefore propertyvoid
Sets the ref propertytoString()
void
Unsets the byteLength propertyvoid
Unsets the paddingBytesAfter propertyvoid
Unsets the paddingBytesBefore propertyMethods inherited from class org.vast.data.AbstractSWEImpl
addExtension, copyTo, getExtensionList, getId, getNumExtensions, isSetId, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.opengis.swe.v20.AbstractSWE
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
-
Field Details
-
compression
-
encryption
-
paddingBytesAfter
-
paddingBytesBefore
-
byteLength
-
ref
-
reader
-
-
Constructor Details
-
BinaryBlockImpl
public BinaryBlockImpl()
-
-
Method Details
-
copy
-
getCompression
Gets the compression property- Specified by:
getCompression
in interfaceBinaryBlock
-
isSetCompression
public boolean isSetCompression()Checks if compression is set- Specified by:
isSetCompression
in interfaceBinaryBlock
-
setCompression
Sets the compression property- Specified by:
setCompression
in interfaceBinaryBlock
-
getEncryption
Gets the encryption property- Specified by:
getEncryption
in interfaceBinaryBlock
-
isSetEncryption
public boolean isSetEncryption()Checks if encryption is set- Specified by:
isSetEncryption
in interfaceBinaryBlock
-
setEncryption
Sets the encryption property- Specified by:
setEncryption
in interfaceBinaryBlock
-
getPaddingBytesAfter
public int getPaddingBytesAfter()Gets the paddingBytesAfter property- Specified by:
getPaddingBytesAfter
in interfaceBinaryBlock
-
isSetPaddingBytesAfter
public boolean isSetPaddingBytesAfter()Checks if paddingBytesAfter is set- Specified by:
isSetPaddingBytesAfter
in interfaceBinaryBlock
-
setPaddingBytesAfter
public void setPaddingBytesAfter(int paddingBytesAfter) Sets the paddingBytesAfter property- Specified by:
setPaddingBytesAfter
in interfaceBinaryBlock
-
unSetPaddingBytesAfter
public void unSetPaddingBytesAfter()Unsets the paddingBytesAfter property- Specified by:
unSetPaddingBytesAfter
in interfaceBinaryBlock
-
getPaddingBytesBefore
public int getPaddingBytesBefore()Gets the paddingBytesBefore property- Specified by:
getPaddingBytesBefore
in interfaceBinaryBlock
-
isSetPaddingBytesBefore
public boolean isSetPaddingBytesBefore()Checks if paddingBytesBefore is set- Specified by:
isSetPaddingBytesBefore
in interfaceBinaryBlock
-
setPaddingBytesBefore
public void setPaddingBytesBefore(int paddingBytesBefore) Sets the paddingBytesBefore property- Specified by:
setPaddingBytesBefore
in interfaceBinaryBlock
-
unSetPaddingBytesBefore
public void unSetPaddingBytesBefore()Unsets the paddingBytesBefore property- Specified by:
unSetPaddingBytesBefore
in interfaceBinaryBlock
-
getByteLength
public long getByteLength()Gets the byteLength property- Specified by:
getByteLength
in interfaceBinaryBlock
-
isSetByteLength
public boolean isSetByteLength()Checks if byteLength is set- Specified by:
isSetByteLength
in interfaceBinaryBlock
-
setByteLength
public void setByteLength(long byteLength) Sets the byteLength property- Specified by:
setByteLength
in interfaceBinaryBlock
-
unSetByteLength
public void unSetByteLength()Unsets the byteLength property- Specified by:
unSetByteLength
in interfaceBinaryBlock
-
getRef
Gets the ref property- Specified by:
getRef
in interfaceBinaryMember
-
setRef
Sets the ref property- Specified by:
setRef
in interfaceBinaryMember
-
getBlockReader
Gets the reader to use to decode the data for this block- Returns:
- reader instance
-
setBlockReader
Sets the reader to use for decoding this block- Parameters:
reader
-
-
toString
-