public class Message
extends java.lang.Object
Field
objects and SBE message attributes.
What is difference between Message
and the Intermediate Representation (IR)?
Constructor and Description |
---|
Message(org.w3c.dom.Node messageNode,
java.util.Map<java.lang.String,Type> typeByNameMap)
Construct a new message from XML Schema.
|
Modifier and Type | Method and Description |
---|---|
int |
blockLength()
Return the encodedLength of the
Message in bytes including any padding. |
int |
deprecated()
Version in which message was deprecated.
|
java.lang.String |
description()
The description of the message (if set) or null
|
java.util.List<Field> |
fields()
Return the list of fields in the message
|
int |
id()
Return the template schemaId of the message
|
java.lang.String |
name()
Return the name of the message
|
java.lang.String |
semanticType()
The semanticType of the message (if set) or null
|
int |
sinceVersion()
The version since this was added to the template.
|
public Message(org.w3c.dom.Node messageNode, java.util.Map<java.lang.String,Type> typeByNameMap) throws javax.xml.xpath.XPathExpressionException
messageNode
- from the XML Schema ParsingtypeByNameMap
- holding type information for messagejavax.xml.xpath.XPathExpressionException
- on invalid XPathpublic int id()
public java.lang.String name()
public java.lang.String description()
public java.lang.String semanticType()
public int sinceVersion()
public int deprecated()
public java.util.List<Field> fields()
List
of the Field objects in this MessageCopyright © 2014-2018 Real Logic Ltd. All Rights Reserved.