Examples of compose()


Examples of org.apache.cocoon.generation.ServerPagesGenerator.compose()

        // Generator ouptut, if output-attribute was given
        XMLByteStreamCompiler compiler = null;

        try {
            generator.enableLogging(getLogger());
            generator.compose(this.manager);
            generator.setup(resolver, objectModel, source, parameters);

            // Setup generator output
            if (outputKey == null) {
                // discard output to a "black hole"
View Full Code Here

Examples of org.apache.cocoon.treeprocessor.InvokeContext.compose()

            // and error page.
            env.tryResetResponse();
           
            // Build a new context
            errorContext = new InvokeContext();
            errorContext.compose(this.manager);
           
            // Create a Notifying
            NotifyingBuilder notifyingBuilder= (NotifyingBuilder)this.manager.lookup(NotifyingBuilder.ROLE);
            Notifying currentNotifying = notifyingBuilder.build(this, ex);
            this.manager.release(notifyingBuilder);
View Full Code Here

Examples of org.apache.forrest.yer.hierarchy.EntryFactory.compose()

      //START hack that needs to be replaced
      //FIXME: get this through Avalon instead!
      String rootFactory = "org.apache.forrest.yer.impl.fs.FileEntryFactory";
      EntryFactory ef = EntryFactory.newInstance(rootFactory);
      ef.compose(this.manager); // the container should of have done this then
      //END hack that needs to be replaced by something like:
      // EntryFactory ef = this.manager.lookup(EntryFactory.ROLE);

      Entry rootEntry = ef.getRootEntry(this.startLocation);
      //get a reader
View Full Code Here

Examples of org.apache.forrest.yer.libre.LibreConfigHelper.compose()

    final File localDir= resolveToLocalDir(pathIdentifier);

    //FIXME: should be able to replace
    LibreConfigHelper lch = new LibreConfigHelper();
    try {
      lch.compose(this.manager);
    } catch(ComponentException e) {
      e.printStackTrace();
    }
    //with something down the lines of:
    // LibreConfigHelper lch = this.manager.lookup(LibreConfigHelper.ROLE);
View Full Code Here

Examples of org.apache.ldap.common.ldif.LdifComposer.compose()

                    Object value = e2.next();
                    map.put( attr.getID(), value );
                }
            }

            return composer.compose( map );
        }
        catch( Exception e )
        {
            throw new ConfigurationException( e );
        }
View Full Code Here

Examples of org.apache.ldap.common.ldif.LdifComposerImpl.compose()

                    Object value = e2.next();
                    map.put( attr.getID(), value );
                }
            }

            return composer.compose( map );
        }
        catch( Exception e )
        {
            throw new ConfigurationException( e );
        }
View Full Code Here

Examples of org.dynalang.dynalink.linker.GuardedInvocation.compose()

        MethodHandle last = identity;
        for(int i = factories.length; i-- > 0;) {
            final GuardedInvocation next = factories[i].convertToType(sourceType, targetType);
            if(next != null) {
                next.assertType(type);
                last = next.compose(last);
            }
        }
        return last == identity ? IDENTITY_CONVERSION : last;
    }
View Full Code Here

Examples of org.eclipse.gmf.runtime.common.core.command.ICommand.compose()

    CreateViewRequest.ViewDescriptor viewDescriptor = new CreateViewRequest.ViewDescriptor(
        new EObjectAdapter(selectedElement), Node.class, null,
        CismodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT);
    ICommand command = new CreateCommand(editingDomain, viewDescriptor,
        view);
    command = command.compose(new CismodelCreateShortcutDecorationsCommand(
        editingDomain, view, viewDescriptor));
    try {
      OperationHistoryFactory.getOperationHistory().execute(command,
          new NullProgressMonitor(), null);
    } catch (ExecutionException e) {
View Full Code Here

Examples of org.eclipse.gmf.runtime.diagram.ui.commands.CreateCommand.compose()

    CreateViewRequest.ViewDescriptor viewDescriptor = new CreateViewRequest.ViewDescriptor(
        new EObjectAdapter(selectedElement), Node.class, null,
        CismodelDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT);
    ICommand command = new CreateCommand(editingDomain, viewDescriptor,
        view);
    command = command.compose(new CismodelCreateShortcutDecorationsCommand(
        editingDomain, view, viewDescriptor));
    try {
      OperationHistoryFactory.getOperationHistory().execute(command,
          new NullProgressMonitor(), null);
    } catch (ExecutionException e) {
View Full Code Here

Examples of org.eclipse.gmf.runtime.emf.commands.core.command.CompositeTransactionalCommand.compose()

      return UnexecutableCommand.INSTANCE;
    }
    CompositeTransactionalCommand command = new CompositeTransactionalCommand(
        editingDomain, "Set Values"); //$NON-NLS-1$
    for (int i = 0; i < values.length; i++) {
      command.compose(getModificationCommand(element, features[i],
          values[i]));
    }
    return command;
  }
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.