Package org.apache.slide.projector.value

Examples of org.apache.slide.projector.value.MultipleStreamableValue


      URI uri = (URI)map.get(URI_ENTRY);
      Value content = Projector.getRepository().getResource(uri, context.getCredentials());
      if ( content != null ) {
        if ( instructions instanceof MapValue ) {
          if ( includeContent ) {
            content = new MultipleStreamableValue((StreamableValue) content);
          }
          DocumentValue documentValue = new DocumentValue((StreamableValue)content);
          Map instructionMap = ((MapValue)instructions).getMap();
          for ( Iterator j = instructionMap.entrySet().iterator(); j.hasNext(); ) {
            Map.Entry entry = (Map.Entry)j.next();
View Full Code Here


        Map resultEntries = new HashMap();
        Value output = (Value)context.getStore(Store.CACHE).get(uri.toString());
        if ( output == null ) {
            output = Projector.getRepository().getResource(uri, context.getCredentials());
            if ( output instanceof InputStreamValue ) {
                output = new MultipleStreamableValue((StreamableValue)output);
            }
            // cache result...
            context.getStore(Store.CACHE).put(uri.toString(), output);
            // ...and add dispose condition
            Map jobParameter = new HashMap();
View Full Code Here

TOP

Related Classes of org.apache.slide.projector.value.MultipleStreamableValue

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.