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 Longprotected Stringprotected Stringprotected Integerprotected Integerprotected CompressedStreamParserprotected StringFields 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 blocklongGets the byteLength propertyGets the compression propertyGets the encryption propertyintGets the paddingBytesAfter propertyintGets the paddingBytesBefore propertygetRef()Gets the ref propertybooleanChecks if byteLength is setbooleanChecks if compression is setbooleanChecks if encryption is setbooleanChecks if paddingBytesAfter is setbooleanChecks if paddingBytesBefore is setvoidsetBlockReader(CompressedStreamParser reader) Sets the reader to use for decoding this blockvoidsetByteLength(long byteLength) Sets the byteLength propertyvoidsetCompression(String compression) Sets the compression propertyvoidsetEncryption(String encryption) Sets the encryption propertyvoidsetPaddingBytesAfter(int paddingBytesAfter) Sets the paddingBytesAfter propertyvoidsetPaddingBytesBefore(int paddingBytesBefore) Sets the paddingBytesBefore propertyvoidSets the ref propertytoString()voidUnsets the byteLength propertyvoidUnsets the paddingBytesAfter propertyvoidUnsets the paddingBytesBefore propertyMethods inherited from class org.vast.data.AbstractSWEImpl
addExtension, copyTo, getExtensionList, getId, getNumExtensions, isSetId, setIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
 getCompressionin interfaceBinaryBlock
 - 
isSetCompression
public boolean isSetCompression()Checks if compression is set- Specified by:
 isSetCompressionin interfaceBinaryBlock
 - 
setCompression
Sets the compression property- Specified by:
 setCompressionin interfaceBinaryBlock
 - 
getEncryption
Gets the encryption property- Specified by:
 getEncryptionin interfaceBinaryBlock
 - 
isSetEncryption
public boolean isSetEncryption()Checks if encryption is set- Specified by:
 isSetEncryptionin interfaceBinaryBlock
 - 
setEncryption
Sets the encryption property- Specified by:
 setEncryptionin interfaceBinaryBlock
 - 
getPaddingBytesAfter
public int getPaddingBytesAfter()Gets the paddingBytesAfter property- Specified by:
 getPaddingBytesAfterin interfaceBinaryBlock
 - 
isSetPaddingBytesAfter
public boolean isSetPaddingBytesAfter()Checks if paddingBytesAfter is set- Specified by:
 isSetPaddingBytesAfterin interfaceBinaryBlock
 - 
setPaddingBytesAfter
public void setPaddingBytesAfter(int paddingBytesAfter) Sets the paddingBytesAfter property- Specified by:
 setPaddingBytesAfterin interfaceBinaryBlock
 - 
unSetPaddingBytesAfter
public void unSetPaddingBytesAfter()Unsets the paddingBytesAfter property- Specified by:
 unSetPaddingBytesAfterin interfaceBinaryBlock
 - 
getPaddingBytesBefore
public int getPaddingBytesBefore()Gets the paddingBytesBefore property- Specified by:
 getPaddingBytesBeforein interfaceBinaryBlock
 - 
isSetPaddingBytesBefore
public boolean isSetPaddingBytesBefore()Checks if paddingBytesBefore is set- Specified by:
 isSetPaddingBytesBeforein interfaceBinaryBlock
 - 
setPaddingBytesBefore
public void setPaddingBytesBefore(int paddingBytesBefore) Sets the paddingBytesBefore property- Specified by:
 setPaddingBytesBeforein interfaceBinaryBlock
 - 
unSetPaddingBytesBefore
public void unSetPaddingBytesBefore()Unsets the paddingBytesBefore property- Specified by:
 unSetPaddingBytesBeforein interfaceBinaryBlock
 - 
getByteLength
public long getByteLength()Gets the byteLength property- Specified by:
 getByteLengthin interfaceBinaryBlock
 - 
isSetByteLength
public boolean isSetByteLength()Checks if byteLength is set- Specified by:
 isSetByteLengthin interfaceBinaryBlock
 - 
setByteLength
public void setByteLength(long byteLength) Sets the byteLength property- Specified by:
 setByteLengthin interfaceBinaryBlock
 - 
unSetByteLength
public void unSetByteLength()Unsets the byteLength property- Specified by:
 unSetByteLengthin interfaceBinaryBlock
 - 
getRef
Gets the ref property- Specified by:
 getRefin interfaceBinaryMember
 - 
setRef
Sets the ref property- Specified by:
 setRefin 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
 
 -