Package org.jboss.internal.soa.esb.message.format.xml.marshal

Examples of org.jboss.internal.soa.esb.message.format.xml.marshal.MarshalValueImpl


  public synchronized void add(String name, Object value)
  {
    AssertArgument.isNotNull(value, "value");
    AssertArgument.isNotNull(name, "name");

    _objects.put(name, new MarshalValueImpl(value));
  }
View Full Code Here


                StreamHelper.checkNextStartTag(in, XMLUtil.ESB_QNAME_BODY_CONTENT_KEY) ;
                final TextElement keyElement = new TextElement(in) ;
                final String key = new String(Encoding.decodeToBytes(keyElement.getText())) ;

                StreamHelper.checkNextStartTag(in, XMLUtil.ESB_QNAME_BODY_CONTENT_VALUE) ;
                final MarshalValueImpl value = MarshalUnmarshalManager.getInstance().unmarshal(in) ;
                StreamHelper.checkParentFinished(in) ;
                StreamHelper.checkParentFinished(in) ;
               
                if (value == null)
                    throw new XMLStreamException("Cannot unpack object: " + key) ;
View Full Code Here

            synchronized(this)
            {
                _objects.clear() ;
                for(Entry<String, Serializable> entry: payload.entrySet())
                {
                    _objects.put(entry.getKey(), new MarshalValueImpl(entry.getValue())) ;
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.jboss.internal.soa.esb.message.format.xml.marshal.MarshalValueImpl

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.