Examples of unmarshall()


Examples of com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMarshaller.unmarshall()

        // might not all be thread-safe.

        DynamoDBMarshaller unmarshaller =
                createUnmarshaller(unmarshallerClass);

        return unmarshaller.unmarshall(targetClass, value.getS());
    }

    @SuppressWarnings({ "rawtypes" })
    private static DynamoDBMarshaller createUnmarshaller(Class<?> clazz) {
        try {
View Full Code Here

Examples of com.betfair.cougar.marshalling.api.databinding.UnMarshaller.unmarshall()

            DataBindingFactory factory = DataBindingManager.getInstance().getFactory(mediaType);
            if(factory == null) {
                throw new CougarFrameworkException("Invalid content type " + mediaType);
            }
            UnMarshaller unMarshaller = factory.getUnMarshaller();
            return (RescriptBody)unMarshaller.unmarshall(inputStream,
                        bindingDescriptor.getBodyClass(),
                        encoding, false);
        }
        return null;
    }
View Full Code Here

Examples of com.sdicons.json.serializer.marshall.JSONMarshall.unmarshall()

    public Object read( InputStream in ) throws Exception
    {
        JSONParser parser = new JSONParser( in );
        JSONObject jObj = (JSONObject) parser.nextValue();
        Marshall marshaller = new JSONMarshall();
        return marshaller.unmarshall( jObj ).getReference();
    }

    /*
     * (non-Javadoc)
     *
 
View Full Code Here

Examples of com.sdicons.json.serializer.marshall.Marshall.unmarshall()

    public Object read( InputStream in ) throws Exception
    {
        JSONParser parser = new JSONParser( in );
        JSONObject jObj = (JSONObject) parser.nextValue();
        Marshall marshaller = new JSONMarshall();
        return marshaller.unmarshall( jObj ).getReference();
    }

    /*
     * (non-Javadoc)
     *
 
View Full Code Here

Examples of javax.wsdl.extensions.ExtensionDeserializer.unmarshall()

      ExtensionDeserializer exDS =
          extReg.queryDeserializer(parentType, elementType);

      //Now unmarshall the DOM element.
      ExtensibilityElement ee =
          exDS.unmarshall(parentType, elementType, el, def, extReg);

      if (ee instanceof Schema)
      {
        schema = (Schema) ee;
      }
View Full Code Here

Examples of megamek.common.net.marshall.PacketMarshaller.unmarshall()

        } else {
            in = bis;
        }
        // TBD this is stupid. pm should be always non null right?
        if (pm != null) {
            packet = pm.unmarshall(in);
            if (packet != null) {
                debugLastFewCommandsReceived.push(packet.getCommand());
                processConnectionEvent(new PacketReceivedEvent(
                        AbstractConnection.this, packet));
            }
View Full Code Here

Examples of net.sf.wsdl2jibx.wsdl.WsdlUnmarshaller.unmarshall()

    }
  }
 
  protected void processExtractionSchemas() throws IOException, WSDLException {
    WsdlUnmarshaller wsdlUnmarshaller = new WsdlUnmarshaller(options.getSchemaFiles());
    wsdlUnmarshaller.unmarshall();
    complexTypeList = wsdlUnmarshaller.getComplexTypeList();
    elementTypeRefMap = wsdlUnmarshaller.getElementTypeRefMap();
    attributeGroups = wsdlUnmarshaller.getAttributeGroupMap();
    simpleTypeMap = wsdlUnmarshaller.getSimpleTypeMap();
    if(log.isDebugEnabled()) {
View Full Code Here

Examples of org.apache.poi.openxml4j.opc.internal.PartUnmarshaller.unmarshall()

        if (partUnmarshaller != null) {
          UnmarshallContext context = new UnmarshallContext(this,
              part._partName);
          try {
            PackagePart unmarshallPart = partUnmarshaller
                .unmarshall(context, part.getInputStream());
            partList.put(unmarshallPart._partName, unmarshallPart);

            // Core properties case
            if (unmarshallPart instanceof PackagePropertiesPart)
View Full Code Here

Examples of org.apache.qpid.disttest.json.JsonHandler.unmarshall()

        try
        {
            final CommandType commandType = CommandType.valueOf(jmsMessage
                            .getStringProperty(DistributedTestConstants.MSG_COMMAND_PROPERTY));
            final JsonHandler jsonHandler = new JsonHandler();
            command = jsonHandler.unmarshall(jmsMessage.getStringProperty(DistributedTestConstants.MSG_JSON_PROPERTY),
                            getCommandClassFromType(commandType));
        }
        catch (final JMSException jmse)
        {
            throw new DistributedTestException("Unable to convert JMS message " + jmsMessage + " to command object",
View Full Code Here

Examples of org.apache.roller.config.runtime.RuntimeConfigDefsParser.unmarshall()

            try {
                InputStream is =
                        RollerRuntimeConfig.class.getResourceAsStream(runtime_config);
               
                RuntimeConfigDefsParser parser = new RuntimeConfigDefsParser();
                configDefs = parser.unmarshall(is);
               
            } catch(Exception e) {
                // error while parsing :(
                mLogger.error("Error parsing runtime config defs", e);
            }
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.