Package org.apache.qpid.management.wsdm.capabilities

Examples of org.apache.qpid.management.wsdm.capabilities.Result


   */ 
  @SuppressWarnings("unchecked")
  public Object fromXML(Element elementData) throws SoapFault
  {
    Element outputParameters = XmlUtils.getFirstElement(elementData);
    return new Result((Map<String, Object>) _mapSerializer.fromXML(outputParameters));
  }
View Full Code Here


   * @return the xml representation of the UUID.
   * @throws SoapFault when the marshalling fails.
   */
  public Element toXML(Object obj, QName qname) throws SoapFault
  {
    Result result = (Result) obj;
    Element root = XmlUtils.createElement(qname);
    if (result.getOutputParameters() != null)
    {
      Element outputSection = SerializerRegistry.getInstance().getSerializer(Map.class).toXML(result.getOutputParameters(), new QName("outputParameters"));
      root.appendChild(outputSection);
    }
    return root; 
  }
View Full Code Here

TOP

Related Classes of org.apache.qpid.management.wsdm.capabilities.Result

Copyright © 2018 www.massapicom. 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.