public class CompositeType extends Type
DEFAULT_PRESENCE| Constructor and Description |
|---|
CompositeType(Node node)
Construct a new compositeType from XML Schema.
|
| 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 size 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.
|
EncodedDataType |
getType(String name)
Return the EncodedDataType within this composite with the given name
|
List<EncodedDataType> |
getTypeList()
Return list of the EncodedDataTypes that compose this composite
|
void |
makeDataFieldCompositeType()
Make this composite type, if it has a varData member, variable length
by making the EncodedDataType with the name "varData" be variable length.
|
int |
sinceVersion()
Return the sinceVersion value of the
CompositeType |
int |
size()
The size (in octets) of the list of EncodedDataTypes
|
description, name, presence, semanticTypepublic CompositeType(Node node) throws XPathExpressionException
node - from the XML Schema ParsingXPathExpressionException - if the XPath is invalid.public EncodedDataType getType(String name)
name - of the EncodedDataType to returnpublic int size()
public int sinceVersion()
CompositeTypeCompositeTypepublic List<EncodedDataType> getTypeList()
List that holds the types in this compositepublic void makeDataFieldCompositeType()
public void checkForWellFormedGroupSizeEncoding(Node node)
node - of the XML for this compositepublic 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 compositeCopyright © 2013 Real Logic Ltd. All Rights Reserved.