public abstract class StAXStructure extends java.lang.Object implements MosConstants
ACTION, ACTIONADD, ACTIONADDUPDATE, ACTIONDELETE, ACTIONREPLACE, ACTIONUPDATE, ADAPTER_INSTALL, ADD, ADDATEND, BASELANGUAGE, BYPASS, COMPANYSETID_NAME, COMPLETE, CONFIGFILENAME, CREATIONDATETIME, DELETEFORINSERT, DEPLOYMENT_MANAGER, ENTERPRISE_SERVICE, ERRORTAG, ESCAPECHAR, EVENT, FILTERMBOKEY, INVOKE_CHANNEL, ITEMSETID_NAME, MAXIMO_NS_PREFIX, MAXIMOVERSION, MESSAGEID, MESSAGETYPE_CREATE, MESSAGETYPE_DELETE, MESSAGETYPE_INITIATE, MESSAGETYPE_INVOKE, MESSAGETYPE_MERGE, MESSAGETYPE_PATCH, MESSAGETYPE_PROCESS, MESSAGETYPE_PUBLISH, MESSAGETYPE_QUERY, MESSAGETYPE_RESPONSE, MESSAGETYPE_SYNC, MESSAGETYPE_UPDATE, MESSAGETYPE_WAKEUP, OBJECT_STRUCTURE_SERVICE, ORGID_NAME, OVERRIDEALWAYS, OVERRIDENULLONLY, PROCESS, SITEID_NAME, SKIP, SKIPMBO, SKIPMBOKEY, STANDARD_SERVICE, TRANSLANGUAGE, UPDATE, XSI_NS, XSI_NS_PREFIX
Constructor and Description |
---|
StAXStructure() |
StAXStructure(boolean dropNullCols) |
StAXStructure(boolean dropNullCols,
boolean retainMbos) |
Modifier and Type | Method and Description |
---|---|
boolean |
isUseRowStamp() |
byte[] |
serializeMbo(MboRemote mbo) |
void |
serializeMbo(javax.xml.stream.XMLStreamWriter writer,
MboRemote mbo) |
byte[] |
serializeMboArray(MboRemote[] mboArray) |
byte[] |
serializeMboArray(MboRemote[] mboArray,
int startIndex,
int maxCount) |
void |
serializeMboArray(javax.xml.stream.XMLStreamWriter writer,
MboRemote[] mboArray) |
byte[] |
serializeMboAsSet(MboRemote mbo) |
void |
serializeMboAsSet(javax.xml.stream.XMLStreamWriter writer,
MboRemote mbo) |
byte[] |
serializeMboIterator(MboIterator mboSet) |
byte[] |
serializeMboIterator(MboIterator mboSet,
int startIndex,
int maxCount) |
void |
serializeMboIterator(javax.xml.stream.XMLStreamWriter writer,
MboIterator mboSet) |
byte[] |
serializeMboList(java.util.List<MboRemote> mboList) |
byte[] |
serializeMboList(java.util.List<MboRemote> mboList,
int startIndex,
int maxCount) |
void |
serializeMboList(javax.xml.stream.XMLStreamWriter writer,
java.util.List<MboRemote> mboList) |
byte[] |
serializeMboSet(MboSetRemote mboSet) |
byte[] |
serializeMboSet(MboSetRemote mboSet,
int startIndex,
int maxCount) |
void |
serializeMboSet(javax.xml.stream.XMLStreamWriter writer,
MboSetRemote mboSet) |
void |
setAllowBinaryText(boolean binaryText) |
void |
setUseRowStamp(boolean useRowStamp) |
public StAXStructure()
public StAXStructure(boolean dropNullCols)
dropNullCols
- ignore null value columns while serializingpublic StAXStructure(boolean dropNullCols, boolean retainMbos)
dropNullCols
- ignore null value columns while serializingretainMbos
- if set to true will not discard the Mbos that are being serialized.public boolean isUseRowStamp()
public void setUseRowStamp(boolean useRowStamp)
public void setAllowBinaryText(boolean binaryText)
public byte[] serializeMbo(MboRemote mbo) throws MXException, java.rmi.RemoteException
mbo
- the Mbo to serialize as XML.MXException
java.rmi.RemoteException
public void serializeMbo(javax.xml.stream.XMLStreamWriter writer, MboRemote mbo) throws MXException, java.rmi.RemoteException
writer
- the XMLStreamWriter to which to write the serialized XML bytesmbo
- the Mbo to serialize as XML.MXException
java.rmi.RemoteException
public byte[] serializeMboAsSet(MboRemote mbo) throws MXException, java.rmi.RemoteException
mbo
- the Mbo to serialize as XML.MXException
java.rmi.RemoteException
public void serializeMboAsSet(javax.xml.stream.XMLStreamWriter writer, MboRemote mbo) throws MXException, java.rmi.RemoteException
writer
- the XMLStreamWriter to which to write the serialized XML bytesmbo
- the Mbo to serialize as XML.MXException
java.rmi.RemoteException
public byte[] serializeMboSet(MboSetRemote mboSet, int startIndex, int maxCount) throws MXException, java.rmi.RemoteException
mboSet
- the MboSet to serializestartIndex
- the MboSet index to start serializing from.maxCount
- the maximum number of Mbos [in the MboSet] to serializeMXException
java.rmi.RemoteException
public byte[] serializeMboSet(MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
mboSet
- the MboSet to serializeMXException
java.rmi.RemoteException
public void serializeMboIterator(javax.xml.stream.XMLStreamWriter writer, MboIterator mboSet) throws MXException, java.rmi.RemoteException
writer
- the XMLStreamWriter to which to write the serialized XML bytesmboSet
- the MboSet to serializeMXException
java.rmi.RemoteException
public byte[] serializeMboIterator(MboIterator mboSet, int startIndex, int maxCount) throws MXException, java.rmi.RemoteException
mboSet
- the MboSet to serializestartIndex
- the MboSet index to start serializing from.maxCount
- the maximum number of Mbos [in the MboSet] to serializeMXException
java.rmi.RemoteException
public byte[] serializeMboIterator(MboIterator mboSet) throws MXException, java.rmi.RemoteException
mboSet
- the MboSet to serializeMXException
java.rmi.RemoteException
public void serializeMboSet(javax.xml.stream.XMLStreamWriter writer, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
writer
- the XMLStreamWriter to which to write the serialized XML bytesmboSet
- the MboSet to serializeMXException
java.rmi.RemoteException
public byte[] serializeMboList(java.util.List<MboRemote> mboList, int startIndex, int maxCount) throws MXException, java.rmi.RemoteException
mboList
- The List of Mbos to serializestartIndex
- the List index to start serializing from.maxCount
- the maximum number of Mbos [in the List] to serializeMXException
java.rmi.RemoteException
public byte[] serializeMboList(java.util.List<MboRemote> mboList) throws MXException, java.rmi.RemoteException
mboList
- The List of Mbos to serializeMXException
java.rmi.RemoteException
public void serializeMboList(javax.xml.stream.XMLStreamWriter writer, java.util.List<MboRemote> mboList) throws MXException, java.rmi.RemoteException
writer
- the XMLStreamWriter to which to write the serialized XML bytesmboList
- The List of Mbos to serializeMXException
java.rmi.RemoteException
public void serializeMboArray(javax.xml.stream.XMLStreamWriter writer, MboRemote[] mboArray) throws MXException, java.rmi.RemoteException
writer
- the XMLStreamWriter to which to write the serialized XML bytesmboArray
- The array of Mbos to serializeMXException
java.rmi.RemoteException
public byte[] serializeMboArray(MboRemote[] mboArray, int startIndex, int maxCount) throws MXException, java.rmi.RemoteException
mboArray
- The array of Mbos to serializestartIndex
- the array index to start serializing from.maxCount
- the maximum number of Mbos [in the List] to serializeMXException
java.rmi.RemoteException
public byte[] serializeMboArray(MboRemote[] mboArray) throws MXException, java.rmi.RemoteException
mboArray
- The array of Mbos to serializeMXException
java.rmi.RemoteException