Example #1
0
  public static String getSWAgentXML(SWAgent swAgent) {
    QName qName = SWAgent.type.getOuterType().getDocumentElementName();
    XmlOptions xmlOptions = XMLNameSpaceTransformer.transformXML(qName);
    String swAgentXML = swAgent.xmlText(xmlOptions);

    return swAgentXML;
  }
Example #2
0
  public static String getRxMessageXML(RxMessage rxMessage) {
    QName qName = RxMessage.type.getOuterType().getDocumentElementName();
    XmlOptions xmlOptions = XMLNameSpaceTransformer.transformXML(qName);
    String rxMessageXML = rxMessage.xmlText(xmlOptions);

    return rxMessageXML;
  }
Example #3
0
  public static String getGlobalStateDefinitionsXML(GlobalStateDefinition globalStateDefinition) {
    QName qName = GlobalStateDefinition.type.getOuterType().getDocumentElementName();
    XmlOptions xmlOptions = XMLNameSpaceTransformer.transformXML(qName);
    String globalStateDefinitionXML = globalStateDefinition.xmlText(xmlOptions);

    return globalStateDefinitionXML;
  }
Example #4
0
  public static String getJobPropertiesXML(JobProperties jobProperties) {
    QName qName = JobProperties.type.getOuterType().getDocumentElementName();
    XmlOptions xmlOptions = XMLNameSpaceTransformer.transformXML(qName);
    String jobPropertiesXML = jobProperties.xmlText(xmlOptions);

    return jobPropertiesXML;
  }
Example #5
0
  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;
  }