Examples of toXml()


Examples of com.agiletec.aps.util.ApsProperties.toXml()

      String categoryCode = this.getCategoryCode();
      Category category = this.getCategoryManager().getCategory(categoryCode);
      if (null != category && !category.getCode().equals(category.getParentCode())) {
        ApsProperties currentCats = this.getCategories();
        currentCats.put(category.getCode(), category.getFullTitle());
        this.setXmlCategories(currentCats.toXml());
      }
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "joinCategory");
      return FAILURE;
    }
View Full Code Here

Examples of com.anzsoft.client.XMPP.mandioca.XmppVCard.toXml()

  {
    publishButton.setEnabled(false);
    final XmppVCard v = makeVCard();
    XmppQuery iq = JabberApp.instance().getSession().getFactory().createQuery();
    iq.setIQ("", XmppQuery.TYPE_SET, TextUtils.genUniqueId());
    Element vcardEl = v.toXml(iq.getDoc());
    iq.getNode().appendChild(vcardEl);
   
    JabberApp.instance().getSession().send(iq, new XmppPacketListener()
    {
      public void onPacketReceived(XmppPacket packet)
View Full Code Here

Examples of com.atlassian.aquatic.AquaticPrimeLicense.toXml()

        try {
            AquaticPrimeLicenseGenerator apGen = new AquaticPrimeLicenseGeneratorImpl(privkey, pubkey);
            AquaticPrimeLicense license = apGen.generateLicense(properties);

            System.out.println("License>");
            System.out.println(license.toXml());

        } catch (LicenseGenerationException e) {
            throw new RuntimeException(e);
        }
View Full Code Here

Examples of com.avaje.ebeaninternal.server.lib.util.Dnode.toXml()

    String xmlString = "<doc><div class=\"hello\"><h1>heading</h1><p>paragraph</p></div></doc>";

    DnodeReader r = new DnodeReader();
    Dnode n = r.parseXml(xmlString);

    String convertedTo = n.toXml();

    Assert.assertEquals(xmlString, convertedTo);

  }
View Full Code Here

Examples of com.dotcms.repackage.com.thoughtworks.xstream.XStream.toXML()

                    } catch (InterruptedException e) {
                      Logger.warn(this, "An error ocurred trying to create XML files");
                        Logger.error(this,e.getMessage(),e);
                    }

            _xstream.toXML(_list, _bout);

            _bout.close();
            _list = null;
            _dh = null;
            _bout = null;
View Full Code Here

Examples of com.esri.gpt.server.csw.client.CswSearchCriteria.toXml()

        SearchEngineCSW.SEARCH_OPERATION.doSearch);
  } else {
    // Default use the MINIMAL XML
    CswSearchCriteria cswSearchCriteria = SearchEngineCSW
        .marshallGptToCswClientCriteria2(criteria);
    internalRequestXml = cswSearchCriteria.toXml();
  }

  LOG.finer("Generated internal XML requst input  to request xsl "
      + internalRequestXml);
  internalRequestXml = getRequestxsltobj().transform(internalRequestXml,
View Full Code Here

Examples of com.eviware.soapui.support.types.StringList.toXml()

    if( !settings.isSet( WsdlSettings.EXCLUDED_TYPES ) )
    {
      StringList list = new StringList();
      list.add( "schema@http://www.w3.org/2001/XMLSchema" );
      settings.setString( WsdlSettings.EXCLUDED_TYPES, list.toXml() );
    }

    if( !settings.isSet( WebRecordingSettings.EXCLUDED_HEADERS ) )
    {
      StringList list = new StringList();
View Full Code Here

Examples of com.eviware.soapui.support.types.StringToStringMap.toXml()

    String filePath = ( ( WsdlProject )project ).getPath();

    String recent = SoapUI.getSettings().getString( RECENT_PROJECTS_SETTING, null );
    StringToStringMap history = recent == null ? new StringToStringMap() : StringToStringMap.fromXml( recent );
    history.put( filePath, project.getName() );
    SoapUI.getSettings().setString( RECENT_PROJECTS_SETTING, history.toXml() );

    DefaultActionMapping<WorkspaceImpl> mapping = new DefaultActionMapping<WorkspaceImpl>(
        ImportWsdlProjectAction.SOAPUI_ACTION_ID, null, null, false, filePath );
    mapping.setName( project.getName() );
    mapping.setDescription( "Switches to the [" + project.getName() + "] project" );
View Full Code Here

Examples of com.hp.gloze.www_w3_org_2001_XMLSchema.element.toXML()

    StmtIterator i = rez.listProperties();
    while (i.hasNext()) {
      Statement s = i.nextStatement();
      Property p = s.getPredicate();
      element e = getElement(p.getURI());
      if (e!=null && e.toXML(doc, s.getObject(),this)) return true;   
    }
    return false;
  }
 
  public Model getModel() {
View Full Code Here

Examples of com.jbidwatcher.util.xml.XMLSerialize.toXML()

  public StringBuffer showItem(String identifier) {
    JConfig.log().logDebug("Retrieving auction: " + identifier);
    XMLSerialize xmlable = EntryFactory.getInstance().constructEntry(identifier);
    if(xmlable != null) {
      XMLInterface xe = xmlable.toXML();
      return xe.toStringBuffer();
    }
    return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.