public class DmcTraceableInputStream extends Object implements DmcInputStreamIF
| Constructor and Description |
|---|
DmcTraceableInputStream(InputStream is,
SchemaManager sm,
boolean cf,
int padding) |
| 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.
|
public DmcTraceableInputStream(InputStream is, SchemaManager sm, boolean cf, int padding)
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 available()
throws Exception
available in interface DmcInputStreamIFExceptionpublic int readAttributeCount()
throws Exception
readAttributeCount in interface DmcInputStreamIFExceptionpublic int readAttributeID()
throws Exception
readAttributeID in interface DmcInputStreamIFExceptionpublic boolean readBoolean()
throws Exception
readBoolean in interface DmcInputStreamIFExceptionpublic byte readByte()
throws Exception
readByte in interface DmcInputStreamIFExceptionpublic int readBytes(byte[] b)
throws Exception
readBytes in interface DmcInputStreamIFExceptionpublic char readChar()
throws Exception
readChar in interface DmcInputStreamIFExceptionpublic double readDouble()
throws Exception
readDouble in interface DmcInputStreamIFExceptionpublic float readFloat()
throws Exception
readFloat in interface DmcInputStreamIFExceptionpublic int readInt()
throws Exception
readInt in interface DmcInputStreamIFExceptionpublic long readLong()
throws Exception
readLong in interface DmcInputStreamIFExceptionpublic int readValueCount()
throws Exception
readValueCount in interface DmcInputStreamIFExceptionpublic short readShort()
throws Exception
readShort in interface DmcInputStreamIFExceptionpublic String readUTF() throws Exception
readUTF 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.ExceptionCopyright © 2023. All rights reserved.