public class StaticTemplateReference extends Field
attributes, name
Constructor and Description |
---|
StaticTemplateReference() |
StaticTemplateReference(MessageTemplate template) |
Modifier and Type | Method and Description |
---|---|
FieldValue |
createValue(String value)
createValue method declaration
|
FieldValue |
decode(InputStream in,
Group template,
Context context,
BitVectorReader pmapReader)
FieldValue decode method declaration
|
byte[] |
encode(FieldValue value,
Group template,
Context context,
BitVectorBuilder presenceMapBuilder)
byte[] encode method declaration
|
boolean |
equals(Object obj) |
MessageTemplate |
getTemplate() |
String |
getTypeName()
getTypeName method declaration
|
Class |
getValueType()
getValueType method declaration
|
boolean |
isPresenceMapBitSet(byte[] encoding,
FieldValue fieldValue)
isPresenceMapBitSet method declaration
|
protected void |
setTemplate(MessageTemplate template) |
boolean |
usesPresenceMapBit()
usesPresenceMapBit method declaration
|
getId, getKey, getName, getQName, isOptional, isPresent, setId, setKey, setMessageTemplate
addNode, getAttribute, getAttributes, getChildren, getNodeName, getNodes, hasAttribute, hasChild, setAttribute
public StaticTemplateReference(MessageTemplate template)
public StaticTemplateReference()
protected void setTemplate(MessageTemplate template)
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 pmapReader)
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
public MessageTemplate getTemplate()
getTemplate
in class Field
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.