Examples of marshall()


Examples of org.eclipse.bpel.model.extensions.ServiceReferenceSerializer.marshall()

          }
        } else {
          ServiceReferenceSerializer serializer = extensionRegistry.getServiceReferenceSerializer(referenceScheme);
          if (serializer != null) {
            DocumentFragment fragment=document.createDocumentFragment();
              serializer.marshall(value, fragment, process, from, this);
            Element child = (Element)fragment.getFirstChild();
            serviceRefElement.appendChild(child);
          } else {
            CDATASection cdata = BPELUtils.createCDATASection(document, serviceRef.getValue().toString());
            serviceRefElement.appendChild(cdata);
View Full Code Here

Examples of org.geotools.caching.util.SimpleFeatureMarshaller.marshall()

        Generator gen = new Generator(1000, 1000);
        SimpleFeature f = gen.createFeature(0);
        SimpleFeatureMarshaller m = new SimpleFeatureMarshaller();
        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        ObjectOutputStream oos = new ObjectOutputStream(baos);
        m.marshall(f, oos);

        byte[] ba = baos.toByteArray();
        baos.close();

        ByteArrayInputStream bais = new ByteArrayInputStream(ba);
View Full Code Here

Examples of org.jasig.portal.container.binding.WebApplicationMarshaller.marshall()

            Serializer serializer = new XMLSerializer(writer, of);
            try {
                WebApplicationMarshaller wam = new WebApplicationMarshaller();
                wam.init(webApplicationDefinition, serializer);
                wam.marshall();
            } catch (Exception e) {
                writer.close();
                e.printStackTrace(System.out);
                throw new Exception();
            }
View Full Code Here

Examples of org.jboss.as.console.mbui.marshall.DialogXML.marshall()

            DialogXML parser = new DialogXML();

            // validation
            Dialog dialog = parser.unmarshall(xml);

            final Document document = parser.marshall(dialog);

            vfs.save(selectedDialog, ModelEditor.formatXml(document.toString()), new SimpleCallback<Boolean>() {
                @Override
                public void onSuccess(Boolean result) {
                    Console.info("Successfully saved "+selectedDialog.getName());
View Full Code Here

Examples of org.jboss.as.console.mbui.marshall.Marshaller.marshall()

    }

    public void marshall(final Sample sample)
    {
        Marshaller m = new Marshaller();
        ModelNode node = m.marshall(sample.getDialog());


        HTMLPanel htmlPanel = new HTMLPanel("<pre>"+node.toString()+"</pre>");
        htmlPanel.setStyleName("fill-layout-width");
View Full Code Here

Examples of org.jboss.errai.marshalling.client.api.Marshaller.marshall()

          }
          else {
            valueMarshaller = MarshallUtil.getMarshaller(val, ctx);
          }
        }
        buf.append(valueMarshaller.marshall(val, ctx));
      }
    }

    return buf.append("}").toString();
  }
View Full Code Here

Examples of org.jboss.identity.federation.api.saml.v2.request.SAML2Request.marshall()

      if(log.isTraceEnabled())
      {
         StringWriter sw = new StringWriter();
         try
         {
            saml2Request.marshall(authnRequestType, sw);
         }
         catch (SAXException e)
         {
            log.trace(e);
         }
View Full Code Here

Examples of org.jboss.identity.federation.api.saml.v2.response.SAML2Response.marshall()

   {
      try
      {
         SAML2Response saml2Response = new SAML2Response();
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            saml2Response.marshall(responseType, baos);

            String urlEncodedResponse = RedirectBindingUtil.deflateBase64URLEncode(baos.toByteArray());

            String destination = responseType.getDestination();
            log.trace("IDP:Destination=" + destination);
View Full Code Here

Examples of org.jboss.security.xacml.interfaces.RequestContext.marshall()

      ByteArrayOutputStream baos = new ByteArrayOutputStream();

      if(trace)
      {
         requestCtx.marshall(baos);
         log.trace(new String(baos.toByteArray()));        
      }
      return requestCtx;
  }  
View Full Code Here

Examples of org.jboss.security.xacml.interfaces.ResponseContext.marshall()

   {
      ResponseContext response = getResponse(pdp,requestFileLoc);
      if (response == null)
         throw new RuntimeException("Response is null");
      if (debug)
         response.marshall(System.out);
      return response.getDecision();
   }
  
   /**
    * Get the Response
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.