org.jnetstream.protocol
Class NullField
java.lang.Object
org.jnetstream.protocol.NullField
- All Implemented Interfaces:
- com.slytechs.utils.namespace.Named, java.lang.Iterable, Field, HeaderElement
public class NullField
- extends java.lang.Object
- implements Field
An empty, no action, stub stand-in. All methods throw
UnsupportedOperationException.
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
| Nested classes/interfaces inherited from interface com.slytechs.utils.namespace.Named |
com.slytechs.utils.namespace.Named.Util |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullField
public NullField()
format
public java.lang.Object format()
- Specified by:
format in interface Field
- Returns:
getLength
public int getLength()
- Specified by:
getLength in interface Field
getOffset
public int getOffset()
- Specified by:
getOffset in interface Field
getValue
public java.lang.Object getValue()
throws java.io.IOException
- Specified by:
getValue in interface Field
- Returns:
-
- Throws:
java.io.IOException
getValueDescription
public java.lang.String getValueDescription()
- Specified by:
getValueDescription in interface Field
- Returns:
getValueInUnits
public java.lang.Object getValueInUnits()
throws java.io.IOException
- Specified by:
getValueInUnits in interface Field
- Returns:
-
- Throws:
java.io.IOException
getValueUnits
public java.lang.String getValueUnits()
- Specified by:
getValueUnits in interface Field
- Returns:
isSigned
public boolean isSigned()
- Specified by:
isSigned in interface Field
getName
public java.lang.String getName()
- Specified by:
getName in interface com.slytechs.utils.namespace.Named
getAllFields
public Field[] getAllFields()
- Specified by:
getAllFields in interface Field
- Returns:
iterator
public java.util.Iterator iterator()
- Specified by:
iterator in interface java.lang.Iterable
getFieldConstant
public DataField getFieldConstant()
- Specified by:
getFieldConstant in interface HeaderElement
- Returns: