/** * Convert this tree to a XML string. * Override this. * @param root The room jaxb item. * @return The dom tree. */ public String getXML() { return this.getMessage().getXML(true); } }
/** * Convert this tree to a XML string. * Override this. * @param root The room jaxb item. * @return The dom tree. */ public String getXML() { return this.getMessage().getXML(true); } }
/** * Convert this tree to a XML string. * Override this. * @return The dom tree. */ public String getXML() { if (m_message != null) { BaseMessage message = m_message.getMessage(); return message.getXML(false); } return super.getXML(); // Null } /**
/** * Convert this source message to the ECXML format. * Typically you do not override this method, you override the getTransformer method * to supply a XSLT document to do the conversion. * @param source The source XML document. */ public int convertInternalToExternal(Object recordOwner) { if (this.getXSLTDocument() == null) return super.convertInternalToExternal(recordOwner); String strXML = this.getMessage().getXML(true); strXML = this.transformMessage(strXML, null); // Now use the XSLT document to convert this XSL document. boolean bSuccess = this.setXML(strXML); return bSuccess ? DBConstants.NORMAL_RETURN : DBConstants.ERROR_RETURN; // Success } }
/** * Convert this source message to the ECXML format. * Typically you do not override this method, you override the getTransformer method * to supply a XSLT document to do the conversion. * @param source The source XML document. */ public int convertInternalToExternal(Object recordOwner) { boolean bSuccess = false; Node node = this.getMessage().getDOM(); if (node != null) bSuccess = this.setDOM(node); else bSuccess = this.setXML(this.getMessage().getXML(false)); return bSuccess ? DBConstants.NORMAL_RETURN : DBConstants.ERROR_RETURN; } /**
/** * Convert this source message to the ECXML format. * Typically you do not override this method, you override the getTransformer method * to supply a XSLT document to do the conversion. * @param source The source XML document. */ public int convertInternalToExternal(Object recordOwner) { if (this.getXSLTDocument() != null) { // Now use the XSLT document to convert this XSL document. String strXML = this.getMessage().getXML(true); String strResultXML = this.transformMessage(strXML, null); this.setRawData(strResultXML); return DBConstants.NORMAL_RETURN; // Success } return super.convertInternalToExternal(recordOwner); } }
((PropertiesField)recMessageLog.getField(MessageLog.kMessageTransportProperties)).setProperties(propHeaderTransport); String strMessage = trxMessage.getXML(false); recMessageLog.getField(MessageLog.kXMLMessageData).setString(strMessage); if (trxMessage.getMessageDataDesc(null) != null)