Examples of accept()


Examples of org.dbunit.dataset.filter.IColumnFilter.accept()

        // Verify if there is at least one identity column
        Column[] columns = metaData.getColumns();
        for (int i = 0; i < columns.length; i++)
        {
            if (identityFilter.accept(metaData.getTableName(), columns[i]))
            {
                return true;
            }
        }
View Full Code Here

Examples of org.deuce.objectweb.asm.ClassReader.accept()

        {
            cr = new ClassReader(new FileInputStream(args[i]));
        } else {
            cr = new ClassReader(args[i]);
        }
        cr.accept(new TraceClassVisitor(new PrintWriter(System.out)),
                getDefaultAttributes(),
                flags);
    }

    /**
 
View Full Code Here

Examples of org.deuce.objectweb.asm.signature.SignatureReader.accept()

        appendDescriptor(CLASS_SIGNATURE, signature);
        if (signature != null) {
            TraceSignatureVisitor sv = new TraceSignatureVisitor(access);
            SignatureReader r = new SignatureReader(signature);
            r.accept(sv);
            buf.append("// declaration: ")
                    .append(name)
                    .append(sv.getDeclaration())
                    .append('\n');
        }
View Full Code Here

Examples of org.dom4j.Element.accept()

        je.setDefaultCount(defCount);
        je.setDefaultTimeout(defTimeout);
        je.setDefaultEncoding(defEncoding);
        QueueConf qc = DispatcherConfig.getInstance().getServers().get(element.attributeValue("server"));
        je.setFetcherQConf(qc);
        element.accept(new CustomerVistor(je));
        allJobs.add(je);
      }
    }
    return allJobs;
  }
View Full Code Here

Examples of org.dom4j.Node.accept()

        // visit content
        for (int i = 0, size = nodeCount(); i < size; i++) {
            Node node = node(i);

            node.accept(visitor);
        }
    }

    public String toString() {
        String uri = getNamespaceURI();
View Full Code Here

Examples of org.drools.asm.ClassReader.accept()

        final ClassReader reader = new ClassReader( stream );
        final ClassFieldVisitor visitor = new ClassFieldVisitor( clazz,
                                                                 includeFinalMethods,
                                                                 this );
        reader.accept( visitor,
                       false );
        if ( clazz.getSuperclass() != null ) {
            final String name = getResourcePath( clazz.getSuperclass() );
            final InputStream parentStream = clazz.getResourceAsStream( name );
            if ( parentStream != null ) {
View Full Code Here

Examples of org.drools.asm.signature.SignatureReader.accept()

        appendDescriptor( TraceAbstractVisitor.CLASS_SIGNATURE,
                          signature );
        if ( signature != null ) {
            final TraceSignatureVisitor sv = new TraceSignatureVisitor( access );
            final SignatureReader r = new SignatureReader( signature );
            r.accept( sv );
            this.buf.append( "// declaration: " ).append( name ).append( sv.getDeclaration() ).append( '\n' );
        }

        appendAccess( access & ~Opcodes.ACC_SUPER );
        if ( (access & Opcodes.ACC_ANNOTATION) != 0 ) {
View Full Code Here

Examples of org.drools.core.common.ActivationsFilter.accept()

    public void queueRuleAgendaItem(InternalWorkingMemory wm) {
        InternalAgenda agenda = (InternalAgenda) wm.getAgenda();
        synchronized ( agendaItem ) {
            agendaItem.getRuleExecutor().setDirty(true);
            ActivationsFilter activationFilter = agenda.getActivationsFilter();
            if ( activationFilter != null && !activationFilter.accept( agendaItem,
                                                                       wm,
                                                                       agendaItem.getTerminalNode() ) ) {
                return;
            }
           
View Full Code Here

Examples of org.drools.core.reteoo.compiled.ObjectTypeNodeParser.accept()

        ObjectTypeNodeParser parser = new ObjectTypeNodeParser(objectTypeNode);

        // create declarations
        DeclarationsHandler declarations = new DeclarationsHandler(builder);
        parser.accept(declarations);

        // we need the hashed declarations when creating the constructor
        Collection<HashedAlphasDeclaration> hashedAlphaDeclarations = declarations.getHashedAlphaDeclarations();

        createConstructor(hashedAlphaDeclarations);
View Full Code Here

Examples of org.drools.guvnor.server.AssetItemFilter.accept()

        while ( iterator.hasNext() && (pageSize == null || rowList.size() < pageSize) ) {
            AssetItem assetItem = (AssetItem) iterator.next();

            // Filter surplus assets
            if ( filter.accept( assetItem,
                                RoleType.PACKAGE_READONLY.getName() ) ) {

                // Cannot use AssetItemIterator.skip() as it skips non-filtered
                // assets whereas startRowIndex is the index of the
                // first displayed asset (i.e. filtered)
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.