public class DynamicTemplateReference extends Field
Modifier and Type | Field and Description |
---|---|
static DynamicTemplateReference |
INSTANCE |
attributes, name
Constructor and Description |
---|
DynamicTemplateReference() |
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) |
String |
getTypeName()
getTypeName method declaration
|
Class |
getValueType()
getValueType method declaration
|
boolean |
isPresenceMapBitSet(byte[] encoding,
FieldValue fieldValue)
isPresenceMapBitSet method declaration
|
String |
toString() |
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 static final DynamicTemplateReference INSTANCE
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
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.