public static String getSWAgentXML(SWAgent swAgent) { QName qName = SWAgent.type.getOuterType().getDocumentElementName(); XmlOptions xmlOptions = XMLNameSpaceTransformer.transformXML(qName); String swAgentXML = swAgent.xmlText(xmlOptions); return swAgentXML; }
public static String getRxMessageXML(RxMessage rxMessage) { QName qName = RxMessage.type.getOuterType().getDocumentElementName(); XmlOptions xmlOptions = XMLNameSpaceTransformer.transformXML(qName); String rxMessageXML = rxMessage.xmlText(xmlOptions); return rxMessageXML; }
public static String getGlobalStateDefinitionsXML(GlobalStateDefinition globalStateDefinition) { QName qName = GlobalStateDefinition.type.getOuterType().getDocumentElementName(); XmlOptions xmlOptions = XMLNameSpaceTransformer.transformXML(qName); String globalStateDefinitionXML = globalStateDefinition.xmlText(xmlOptions); return globalStateDefinitionXML; }
public static String getJobPropertiesXML(JobProperties jobProperties) { QName qName = JobProperties.type.getOuterType().getDocumentElementName(); XmlOptions xmlOptions = XMLNameSpaceTransformer.transformXML(qName); String jobPropertiesXML = jobProperties.xmlText(xmlOptions); return jobPropertiesXML; }
public static String getResourceXML( com.likya.tlos.model.xmlbeans.resourceextdefs.ResourceDocument.Resource resource) { QName qName = com.likya.tlos.model.xmlbeans.resourceextdefs.ResourceDocument.Resource.type .getOuterType() .getDocumentElementName(); XmlOptions xmlOptions = XMLNameSpaceTransformer.transformXML(qName); String resourceXML = resource.xmlText(xmlOptions); return resourceXML; }