public class ByteVector extends SimpleType
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://www.fixprotocol.org/ns/fast/td/1.1}byteVectorLength" minOccurs="0"/> <group ref="{http://www.fixprotocol.org/ns/fast/td/1.1}fieldInstrContent"/> </sequence> <attGroup ref="{http://www.fixprotocol.org/ns/fast/td/1.1}fieldInstrContent"/> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
ByteVector.Length
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected ByteVector.Length |
length |
protected String |
ns |
constantOrDefaultOrCopy
defaultValue, initialValue
operator, presence, requiresPMapFlag, types
Constructor and Description |
---|
ByteVector() |
Modifier and Type | Method and Description |
---|---|
ITypeValue |
createValue(String value) |
ITypeValue |
createValue(String id,
String value) |
ITypeValue |
decodeDelta(Context context,
BinaryMessage message)
Decodes value from stream with delta operator.
|
protected ITypeValue |
decodeInternal(BinaryMessage message) |
ITypeValue |
decodeTail(Context context,
BinaryMessage message)
Decodes value from stream with tail operator.
|
byte[] |
encodeDelta(ITypeValue value,
Context context,
EncodePresenceMapBuilder presenceMapBuilder)
Encodes value with delta operator.
|
protected byte[] |
encodeInternal(ITypeValue encodingValue) |
byte[] |
encodeTail(ITypeValue value,
Context context,
EncodePresenceMapBuilder presenceMapBuilder)
Encodes value with tail operator.
|
ByteVector.Length |
getLength()
Gets the value of the length property.
|
String |
getNs()
Gets the value of the ns property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
protected ITypeValue |
getTypeValue(String value) |
void |
setLength(ByteVector.Length value)
Sets the value of the length property.
|
void |
setNs(String value)
Sets the value of the ns property.
|
assignOperator, compareTo, getConstantOrDefaultOrCopy, setConstantOrDefaultOrCopy
decodeConstant, decodeCopy, decodeDefault, decodeNone, encodeConstant, encodeCopy, encodeDefault, encodeNone
decodeIncrement, encodeIncrement, getInitialValue
decode, encode, getCoderType, getDefaultValue, getDictionary, getIndex, getNullValue, setDictionary, setIndex
getId, getIdInteger, getName, getOperator, getPresence, getTypes, isOptional, requiresPMap, setId, setName, setOperator, setOptional, setPresence, setTypes, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
requiresPMap
getId, getIdInteger, getName, isOptional, setOptional
protected ByteVector.Length length
protected String ns
public ByteVector.Length getLength()
ByteVector.Length
public void setLength(ByteVector.Length value)
value
- allowed object is
ByteVector.Length
public void setNs(String value)
value
- allowed object is
String
public ITypeValue createValue(String id, String value)
createValue
in interface Type
createValue
in class TypeAdaptor
public ITypeValue createValue(String value)
createValue
in interface Type
createValue
in class TypeAdaptor
public Map<QName,String> getOtherAttributes()
protected ITypeValue getTypeValue(String value)
getTypeValue
in class GenericType
public byte[] encodeTail(ITypeValue value, Context context, EncodePresenceMapBuilder presenceMapBuilder)
TypeEncoder
encodeTail
in interface TypeEncoder
encodeTail
in class TypeAdaptor
value
- the valuecontext
- the contextpresenceMapBuilder
- the PM Mappublic ITypeValue decodeTail(Context context, BinaryMessage message)
TypeDecoder
decodeTail
in interface TypeDecoder
decodeTail
in class TypeAdaptor
context
- the contextmessage
- the stream messagepublic byte[] encodeDelta(ITypeValue value, Context context, EncodePresenceMapBuilder presenceMapBuilder)
TypeEncoder
encodeDelta
in interface TypeEncoder
encodeDelta
in class TypeAdaptor
value
- the valuecontext
- the contextpresenceMapBuilder
- the PM Mappublic ITypeValue decodeDelta(Context context, BinaryMessage message)
TypeDecoder
decodeDelta
in interface TypeDecoder
decodeDelta
in class TypeAdaptor
context
- the contextmessage
- the stream messageprotected byte[] encodeInternal(ITypeValue encodingValue)
encodeInternal
in class TypeAdaptor
protected ITypeValue decodeInternal(BinaryMessage message)
decodeInternal
in class TypeAdaptor
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.