public class CompositeType extends Type
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPOSITE_TYPE
SBE schema composite type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkForValidOffsets(Node node)
Check the composite for any specified offsets and validate they are correctly specified.
|
void |
checkForWellFormedGroupSizeEncoding(Node node)
Check the composite for being a well-formed group encodedLength encoding.
|
void |
checkForWellFormedMessageHeader(Node node)
Check the composite for being a well-formed message headerStructure encoding.
|
void |
checkForWellFormedVariableLengthDataEncoding(Node node)
Check the composite for being a well-formed variable length data encoding.
|
int |
encodedLength()
The encodedLength (in octets) of the list of encoded types.
|
Type |
getType(String name)
Return the EncodedDataType within this composite with the given name.
|
List<Type> |
getTypeList()
Return list of the
Types that compose this composite. |
boolean |
isVariableLength()
Is the type variable length when encoded.
|
void |
makeDataFieldCompositeType()
Make this composite type, if it has a varData member, variable length
by making the type with the name "varData" be variable length.
|
String |
toString() |
deprecated, description, name, offsetAttribute, offsetAttribute, packageName, presence, referencedName, semanticType, sinceVersion, sinceVersionpublic static final String COMPOSITE_TYPE
public Type getType(String name)
name - of the type to return.public int encodedLength()
encodedLength in class Typepublic void makeDataFieldCompositeType()
public void checkForWellFormedGroupSizeEncoding(Node node)
node - of the XML for this composite.public void checkForWellFormedVariableLengthDataEncoding(Node node)
node - of the XML for this compositepublic void checkForWellFormedMessageHeader(Node node)
node - of the XML for this compositepublic void checkForValidOffsets(Node node)
node - of the XML for this compositepublic boolean isVariableLength()
isVariableLength in class TypeCopyright © 2013-2024 Real Logic Limited. All Rights Reserved.