Ejemplo n.º 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;
  }
Ejemplo n.º 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;
  }
Ejemplo n.º 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;
  }
Ejemplo n.º 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;
  }
Ejemplo n.º 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;
  }