Package org.vast.data
Class BinaryEncodingImpl
java.lang.Object
org.vast.data.AbstractSWEImpl
org.vast.data.AbstractEncodingImpl
org.vast.data.BinaryEncodingImpl
- All Implemented Interfaces:
Serializable
,HasCopy
,AbstractSWE
,BinaryEncoding
,DataEncoding
POJO class for XML type BinaryEncodingType(@http://www.opengis.net/swe/2.0).
This is a complex type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteEncoding
protected Long
protected ByteOrder
protected ArrayList<BinaryMember>
Fields inherited from class org.vast.data.AbstractSWEImpl
extensionList, id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMemberAsBlock
(BinaryBlock member) Adds a new memberAsBlock propertyvoid
addMemberAsComponent
(BinaryComponent member) Adds a new memberAsComponent propertycopy()
Gets the byteEncoding propertylong
Gets the byteLength propertyGets the byteOrder propertyGets the list of member propertiesint
Returns number of member propertiesboolean
Checks if byteLength is setvoid
setByteEncoding
(ByteEncoding byteEncoding) Sets the byteEncoding propertyvoid
setByteLength
(long byteLength) Sets the byteLength propertyvoid
setByteOrder
(ByteOrder byteOrder) Sets the byteOrder propertytoString()
void
Unsets the byteLength 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
-
memberList
-
byteOrder
-
byteEncoding
-
byteLength
-
-
Constructor Details
-
BinaryEncodingImpl
public BinaryEncodingImpl()
-
-
Method Details
-
copy
- Specified by:
copy
in interfaceDataEncoding
- Specified by:
copy
in interfaceHasCopy
- Specified by:
copy
in classAbstractEncodingImpl
-
getMemberList
Gets the list of member properties- Specified by:
getMemberList
in interfaceBinaryEncoding
-
getNumMembers
public int getNumMembers()Returns number of member properties- Specified by:
getNumMembers
in interfaceBinaryEncoding
-
addMemberAsComponent
Adds a new memberAsComponent property- Specified by:
addMemberAsComponent
in interfaceBinaryEncoding
-
addMemberAsBlock
Adds a new memberAsBlock property- Specified by:
addMemberAsBlock
in interfaceBinaryEncoding
-
getByteOrder
Gets the byteOrder property- Specified by:
getByteOrder
in interfaceBinaryEncoding
-
setByteOrder
Sets the byteOrder property- Specified by:
setByteOrder
in interfaceBinaryEncoding
-
getByteEncoding
Gets the byteEncoding property- Specified by:
getByteEncoding
in interfaceBinaryEncoding
-
setByteEncoding
Sets the byteEncoding property- Specified by:
setByteEncoding
in interfaceBinaryEncoding
-
getByteLength
public long getByteLength()Gets the byteLength property- Specified by:
getByteLength
in interfaceBinaryEncoding
-
isSetByteLength
public boolean isSetByteLength()Checks if byteLength is set- Specified by:
isSetByteLength
in interfaceBinaryEncoding
-
setByteLength
public void setByteLength(long byteLength) Sets the byteLength property- Specified by:
setByteLength
in interfaceBinaryEncoding
-
unSetByteLength
public void unSetByteLength()Unsets the byteLength property- Specified by:
unSetByteLength
in interfaceBinaryEncoding
-
toString
-