public class MapScalar extends Field
attributes, name
Constructor and Description |
---|
MapScalar(QName name,
boolean optional,
QName key) |
Modifier and Type | Method and Description |
---|---|
FieldValue |
createValue(String value)
createValue method declaration
|
FieldValue |
decode(InputStream in,
Group template,
Context context,
BitVectorReader presenceMapReader)
FieldValue decode method declaration
|
byte[] |
encode(FieldValue value,
Group template,
Context context,
BitVectorBuilder presenceMapBuilder)
byte[] encode method declaration
|
String |
getTypeName()
getTypeName method declaration
|
Class |
getValueType()
getValueType method declaration
|
boolean |
isPresenceMapBitSet(byte[] encoding,
FieldValue fieldValue)
isPresenceMapBitSet method declaration
|
boolean |
usesPresenceMapBit()
usesPresenceMapBit method declaration
|
getId, getKey, getName, getQName, getTemplate, isOptional, isPresent, setId, setKey, setMessageTemplate
addNode, getAttribute, getAttributes, getChildren, getNodeName, getNodes, hasAttribute, hasChild, setAttribute
public FieldValue createValue(String value)
Field
createValue
in class Field
value
- The string of the FieldValue that is to be createdpublic FieldValue decode(InputStream in, Group template, Context context, BitVectorReader presenceMapReader)
Field
public byte[] encode(FieldValue value, Group template, Context context, BitVectorBuilder presenceMapBuilder)
Field
public String getTypeName()
Field
getTypeName
in class Field
public Class getValueType()
Field
getValueType
in class Field
public boolean isPresenceMapBitSet(byte[] encoding, FieldValue fieldValue)
Field
isPresenceMapBitSet
in class Field
encoding
- The byte array to check if it is presentfieldValue
- The fieldValue objectpublic boolean usesPresenceMapBit()
Field
usesPresenceMapBit
in class Field
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.