Examples of populate()


Examples of org.apache.aries.blueprint.parser.Parser.populate()

    protected ComponentDefinitionRegistryImpl parse(String name, NamespaceHandlerSet handlers) throws Exception {
        ComponentDefinitionRegistryImpl registry = new ComponentDefinitionRegistryImpl();
        Parser parser = new Parser();
        parser.parse(Collections.singletonList(getClass().getResource(name)));
        parser.populate(handlers, registry);
        return registry;
    }

}
View Full Code Here

Examples of org.apache.axis.wsdl.symbolTable.SymbolTable.populate()

                            return JavaUtils.getTextClassName(cls.getName());
                    }
                };
        SymbolTable symbolTable = new SymbolTable(btm,
                                                  true, false, false);
        symbolTable.populate(null, doc);

        // Walk the type/element entries in the symbol table and
        // add each one to the list of processed types.  This prevents
        // the types from being duplicated.
        Vector v = symbolTable.getTypes();
View Full Code Here

Examples of org.apache.axis.wsdl.symbolTable.SymbolTable.populate()

                            return JavaUtils.getTextClassName(cls.getName());
                    }
                };
        SymbolTable symbolTable = new SymbolTable(btm,
                                                  true, false, false);
        symbolTable.populate(null, doc);

        // Walk the type/element entries in the symbol table and
        // add each one to the list of processed types.  This prevents
        // the types from being duplicated.
        Vector v = symbolTable.getTypes();
View Full Code Here

Examples of org.apache.axis.wsdl.symbolTable.SymbolTable.populate()

                            return JavaUtils.getTextClassName(cls.getName());
                    }
                };
        SymbolTable symbolTable = new SymbolTable(btm,
                                                  true, false, false, false);
        symbolTable.populate(null, doc);

        // Walk the type/element entries in the symbol table and
        // add each one to the list of processed types.  This prevents
        // the types from being duplicated.
        Vector v = symbolTable.getTypes();
View Full Code Here

Examples of org.apache.cocoon.components.xmlform.Form.populate()

        try {
            // populate form with request parameters
            // population is automatically followed by validation by default.
            // If this is not the desired behaviour, the Form class can be subclassed
            form.populate(objectModel);

            result = perform();
        } finally {
            // since the action may be recycled immediately after
            // the request. It is important that it's callback hooks
View Full Code Here

Examples of org.apache.jetspeed.services.rundata.JetspeedRunData.populate()

    {
        JetspeedRunData data = (JetspeedRunData)rundata;
        /*
         * Pull user from session.
         */
        data.populate();

        // The user may have not logged in, so create a "guest" user.
        if ( data.getUser() == null)
        {
            data.setUser(JetspeedSecurity.getAnonymousUser());
View Full Code Here

Examples of org.apache.karaf.cave.server.api.CaveRepository.populate()

    public void populateRepository(String name, String url, boolean generateObr, String filter) throws Exception {
        if (getCaveRepositoryService().getRepository(name) != null) {
            throw new IllegalArgumentException("Cave repository " + name + " doesn't exist");
        }
        CaveRepository repository = getCaveRepositoryService().getRepository(name);
        repository.populate(new URL(url), filter, generateObr);
        if (generateObr) {
            getCaveRepositoryService().install(name);
        }
    }
View Full Code Here

Examples of org.apache.scaffold.model.ModelResult.populate()

        ModelBean modelBean = (ModelBean) helpers[0];
        ModelResult modelResult = modelBean.execute(form);
            // Shouldn't return null
        if (modelResult!=null)
            modelResult.populate(form,0);
        return (modelResult);

    }

View Full Code Here

Examples of org.bladerunnerjs.model.App.populate()

   
    try {
      NameValidator.assertValidDirectoryName(app);
      requirePrefix = (requirePrefix == null) ? NameValidator.generateRequirePrefixFromApp(app) : requirePrefix;
     
      app.populate(requirePrefix);
      logger.println(Messages.APP_CREATED_CONSOLE_MSG, appName);
      logger.println(" " + app.dir().getPath());
     
      app.deploy();
      logger.println(Messages.APP_DEPLOYED_CONSOLE_MSG, appName);
View Full Code Here

Examples of org.bladerunnerjs.model.Aspect.populate()

   
    if(!app.dirExists()) throw new NodeDoesNotExistException(app, this);
    if(aspect.dirExists()) throw new NodeAlreadyExistsException(aspect, this);
   
    try {
      aspect.populate();
    }
    catch(InvalidNameException e) {
      throw new CommandArgumentsException(e, this);
    }
    catch(ModelUpdateException 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.