public interface DmcInputStreamIF
It also provides separation from the Dark Matter Schema mechanisms which, likewise, are not provided in all contexts. The schema related methods are required to allow for the deserialization of object reference attributes.
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
DmcAttribute<?> |
getAttributeInstance()
Returns an instance of the appropriate DmcAttribute based on reading an attribute ID from the input stream.
|
DmcAttribute<?> |
getAttributeInstance(DmcAttributeInfo ai)
Returns an instance of the appropriate DmcAttribute based on the attribute info.
|
DmcAttribute<?> |
getAttributeInstance(Integer id)
Returns an instance of the appropriate DmcAttribute based on the attribute ID.
|
DmcObject |
getDMOInstance(DmcInputStreamIF dis) |
DmcFilter |
getFilterValueInstance()
Returns an instance of the appropriate container for a filter value.
|
DmcObjectName |
getNameValueInstance()
Returns an instance of the appropriate container for a name value.
|
int |
readAttributeCount() |
int |
readAttributeID() |
boolean |
readBoolean() |
byte |
readByte() |
int |
readBytes(byte[] b) |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
String |
readUTF() |
int |
readValueCount() |
void |
resolveReferences(DmcTypeNamedObjectREF<?,?> attr)
Attempts to resolve the references in the specified attribute.
|
DmcObject getDMOInstance(DmcInputStreamIF dis) throws Exception
dis - the input stream.ExceptionDmcAttribute<?> getAttributeInstance(DmcAttributeInfo ai) throws Exception
ai - The attribute info.ExceptionDmcAttribute<?> getAttributeInstance(Integer id) throws Exception
id - The attribute ID.ExceptionDmcAttribute<?> getAttributeInstance() throws Exception
ExceptionDmcObjectName getNameValueInstance() throws Exception
ExceptionDmcFilter getFilterValueInstance() throws Exception
Exceptionvoid resolveReferences(DmcTypeNamedObjectREF<?,?> attr) throws Exception
attr - The object reference attribute to be resolved.ExceptionCopyright © 2023. All rights reserved.