public class TableFeaturePropOxm extends TableFeatureProp
OXM basic field types
,
with a lookup indicating whether the has-mask
bit
was set. Additionally, if any are defined, a list of supported
experimenter fields
are provided.Modifier and Type | Method and Description |
---|---|
List<MFieldExperimenter> |
getSupportedExperFields()
Returns the list of experimenter match fields supported by this
table feature; Since 1.3.
|
Set<OxmBasicFieldType> |
getSupportedFieldTypes()
Returns the set of OXM basic match field types supported by this
table feature; Since 1.3.
|
int |
getTotalLength()
Returns the length in bytes of the property when encoded.
|
boolean |
hasMaskBitSet(OxmBasicFieldType ft)
Returns true if the mask bit was set for the specified field type.
|
boolean |
hasMaskBitSet(OxmExperimenterFieldType ft)
Returns true if the mask bit was set for the specified experimenter
field type.
|
String |
toString() |
getType
public boolean hasMaskBitSet(OxmBasicFieldType ft)
ft
- the field type to look upNullPointerException
- if ft is nullIllegalArgumentException
- if the field is not present in this
feature propertypublic String toString()
toString
in class TableFeatureProp
public int getTotalLength()
TableFeatureProp
This is really of interest only to the message encoder.
getTotalLength
in class TableFeatureProp
public Set<OxmBasicFieldType> getSupportedFieldTypes()
public List<MFieldExperimenter> getSupportedExperFields()
public boolean hasMaskBitSet(OxmExperimenterFieldType ft)
ft
- the experimenter field type to look upNullPointerException
- if ft is nullIllegalArgumentException
- if the field is not present in this
feature propertyCopyright © 2016. All Rights Reserved.