public abstract class MRepoPropertyBasedDeserializer extends MPropertyBasedDeserializer
contextStack, subMap, subs, supportedTypeNames
Constructor and Description |
---|
MRepoPropertyBasedDeserializer() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(java.lang.Object source)
Deserialize the source object, and optionally return
the resulting object.
|
protected com.tibco.infra.repository.Assoc |
getCurrentAssoc() |
static java.lang.String |
getLongName(com.tibco.infra.base.GlobalName gn) |
protected boolean |
getOptionalBoolean(java.lang.String attrName,
boolean defaultValue) |
protected com.tibco.infra.base.GlobalName |
getOptionalGlobalName(java.lang.String attrName,
com.tibco.infra.base.GlobalName defaultValue) |
protected int |
getOptionalInteger(java.lang.String attrName,
int defaultValue) |
protected java.lang.String |
getOptionalString(java.lang.String attrName,
java.lang.String defaultValue) |
protected int |
getPropertyCount(java.lang.String attrName) |
protected boolean |
getRequiredBoolean(java.lang.String attrName) |
protected com.tibco.infra.base.GlobalName |
getRequiredGlobalName(java.lang.String attrName) |
protected int |
getRequiredInteger(java.lang.String attrName) |
protected java.lang.String |
getRequiredString(java.lang.String attrName) |
static java.lang.String |
getShortName(com.tibco.infra.base.GlobalName gn) |
protected void |
internalRepoRead(java.lang.String typeName,
java.lang.String path,
int index,
java.lang.String prefix) |
protected void |
readAllOfFrom(java.lang.String typeName,
int startIndex,
java.lang.String prefix) |
protected void |
readFirstOf(java.lang.String typeName,
java.lang.String prefix) |
protected void |
readNthOf(java.lang.String typeName,
int index,
java.lang.String prefix) |
protected void |
readOptional(java.lang.String typeName,
java.lang.String prefix) |
protected void |
setCurrentAssoc(com.tibco.infra.repository.Assoc assoc) |
getOptionalBytes, getRequiredBytes, internalRead, isTypeSupported, readAllOf, readAllOf, readAllOfFrom, readAny, readAnySupportedType, readFirstOf, readNthOf, readOptional, registerSubDeserializer
finalize, getCurrentObjectName, getCurrentProperties, getCurrentRootPath, getCurrentTypeName, getSupportedTypeNames, raiseError, raiseError, registerSubProcessor, toString
public java.lang.Object deserialize(java.lang.Object source) throws MException
MDeserializer
deserialize
in interface MDeserializer
deserialize
in class MPropertyBasedDeserializer
MException
protected com.tibco.infra.repository.Assoc getCurrentAssoc()
protected boolean getOptionalBoolean(java.lang.String attrName, boolean defaultValue)
getOptionalBoolean
in class MPropertyBasedDeserializer
protected com.tibco.infra.base.GlobalName getOptionalGlobalName(java.lang.String attrName, com.tibco.infra.base.GlobalName defaultValue)
protected int getOptionalInteger(java.lang.String attrName, int defaultValue)
getOptionalInteger
in class MPropertyBasedDeserializer
protected java.lang.String getOptionalString(java.lang.String attrName, java.lang.String defaultValue)
getOptionalString
in class MPropertyBasedDeserializer
protected int getPropertyCount(java.lang.String attrName) throws MException
getPropertyCount
in class MPropertyBasedDeserializer
MException
protected boolean getRequiredBoolean(java.lang.String attrName) throws MException
getRequiredBoolean
in class MPropertyBasedDeserializer
MException
protected com.tibco.infra.base.GlobalName getRequiredGlobalName(java.lang.String attrName) throws MException
MException
protected int getRequiredInteger(java.lang.String attrName) throws MException
getRequiredInteger
in class MPropertyBasedDeserializer
MException
protected java.lang.String getRequiredString(java.lang.String attrName) throws MException
getRequiredString
in class MPropertyBasedDeserializer
MException
protected void internalRepoRead(java.lang.String typeName, java.lang.String path, int index, java.lang.String prefix) throws MException
MException
protected void readAllOfFrom(java.lang.String typeName, int startIndex, java.lang.String prefix) throws MException
readAllOfFrom
in class MPropertyBasedDeserializer
MException
protected void readFirstOf(java.lang.String typeName, java.lang.String prefix) throws MException
readFirstOf
in class MPropertyBasedDeserializer
MException
protected void readNthOf(java.lang.String typeName, int index, java.lang.String prefix) throws MException
readNthOf
in class MPropertyBasedDeserializer
MException
protected void readOptional(java.lang.String typeName, java.lang.String prefix) throws MException
readOptional
in class MPropertyBasedDeserializer
MException
protected void setCurrentAssoc(com.tibco.infra.repository.Assoc assoc)
public static java.lang.String getLongName(com.tibco.infra.base.GlobalName gn)
public static java.lang.String getShortName(com.tibco.infra.base.GlobalName gn)