public class DmcInputStream extends DataInputStream implements DmcInputStreamIF
in| Constructor and Description |
|---|
DmcInputStream(InputStream is,
SchemaManager sm) |
| Modifier and Type | Method and Description |
|---|---|
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() |
int |
readBytes(byte[] b) |
int |
readValueCount() |
void |
resolveReferences(DmcTypeNamedObjectREF<?,?> attr)
Attempts to resolve the references in the specified attribute.
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesavailable, close, mark, markSupported, read, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitavailable, readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readShort, readUTFpublic DmcInputStream(InputStream is, SchemaManager sm)
public DmcAttribute<?> getAttributeInstance(DmcAttributeInfo ai) throws Exception
DmcInputStreamIFgetAttributeInstance in interface DmcInputStreamIFai - The attribute info.Exceptionpublic DmcAttribute<?> getAttributeInstance(Integer id) throws Exception
DmcInputStreamIFgetAttributeInstance in interface DmcInputStreamIFid - The attribute ID.Exceptionpublic void resolveReferences(DmcTypeNamedObjectREF<?,?> attr) throws Exception
DmcInputStreamIFresolveReferences in interface DmcInputStreamIFattr - The object reference attribute to be resolved.Exceptionpublic int readAttributeCount()
throws Exception
readAttributeCount in interface DmcInputStreamIFExceptionpublic int readAttributeID()
throws Exception
readAttributeID in interface DmcInputStreamIFExceptionpublic int readValueCount()
throws Exception
readValueCount in interface DmcInputStreamIFExceptionpublic DmcAttribute<?> getAttributeInstance() throws Exception
DmcInputStreamIFgetAttributeInstance in interface DmcInputStreamIFExceptionpublic DmcObjectName getNameValueInstance() throws Exception
DmcInputStreamIFgetNameValueInstance in interface DmcInputStreamIFExceptionpublic DmcFilter getFilterValueInstance() throws Exception
DmcInputStreamIFgetFilterValueInstance in interface DmcInputStreamIFExceptionpublic DmcObject getDMOInstance(DmcInputStreamIF dis) throws Exception
getDMOInstance in interface DmcInputStreamIFdis - the input stream.Exceptionpublic int readBytes(byte[] b)
throws Exception
readBytes in interface DmcInputStreamIFExceptionCopyright © 2023. All rights reserved.