Examples of scan()


Examples of org.eclipse.jgit.iplog.IpLogGenerator.scan()

    if (version == null && start instanceof RevTag)
      version = ((RevTag) start).getTagName();
    else if (version == null)
      throw die(MessageFormat.format(CLIText.get().notATagVersionIsRequired, start.name()));

    log.scan(db, rw.parseCommit(start), version);

    if (output != null) {
      if (!output.getParentFile().exists())
        output.getParentFile().mkdirs();
      LockFile lf = new LockFile(output, db.getFS());
View Full Code Here

Examples of org.exist.memtree.DOMIndexer.scan()

            metadata.setCreated(now);
            targetDoc.setMetadata(metadata);
            targetDoc.setDocId(getNextResourceId(transaction, temp));
            //index the temporary document
            final DOMIndexer indexer = new DOMIndexer(this, transaction, doc, targetDoc); //NULL transaction, so temporary fragment is not journalled - AR
            indexer.scan();
            indexer.store();
            //store the temporary document
            temp.addDocument(transaction, this, targetDoc); //NULL transaction, so temporary fragment is not journalled - AR
            // unlock the temp collection
            if(transaction == null) {
View Full Code Here

Examples of org.exist.xqdoc.XQDocHelper.scan()

                }
            }
        }
        try {
            XQDocHelper helper = new XQDocHelper();
            String xml = helper.scan(source, name);
            NodeValue root = ModuleUtils.stringToXML(context, xml);
            if (root == null)
                return Sequence.EMPTY_SEQUENCE;
            return normalize((NodeValue) ((Document) root).getDocumentElement());
        } catch (XQDocException e) {
View Full Code Here

Examples of org.gwtoolbox.bean.rebind.scan.TypeScanner.scan()

        TypeScanner scanner = new TypeScanner(easyLogger, context);
        BeanConfigLoader beanConfigLoader = new BeanConfigLoader(typeOracle);
        ValidationConfigLoader validationConfigLoader = new ValidationConfigLoader(typeOracle);

        try {
            scanner.scan(beanConfigLoader, validationConfigLoader);

            List<JClassType> beanTypes = new ArrayList<JClassType>();
            for (BeanRegistryConfig config : beanConfigLoader.getBeanRegistryConfigs()) {
                beanTypes.addAll(scanBeans(easyLogger, context, config.getBeanClassSelector(), config.getPatterns()));
            }
View Full Code Here

Examples of org.hibernate.jpa.boot.scan.spi.Scanner.scan()

  @SuppressWarnings("unchecked")
  private ScanResult scan(BootstrapServiceRegistry bootstrapServiceRegistry) {
    final Scanner scanner = locateOrBuildScanner( bootstrapServiceRegistry );
    final ScanOptions scanOptions = determineScanOptions();

    return scanner.scan( persistenceUnit, scanOptions );
  }

  private ScanOptions determineScanOptions() {
    return new StandardScanOptions(
        (String) configurationValues.get( AvailableSettings.AUTODETECTION ),
View Full Code Here

Examples of org.hotswap.agent.util.scanner.ClassPathScanner.scan()

        cp.appendClassPath(new LoaderClassPath(getClass().getClassLoader()));

        Scanner scanner = new ClassPathScanner();

        try {
            scanner.scan(classLoaderFrom, pluginPath, new ScannerVisitor() {
                @Override
                public void visit(InputStream file) throws IOException {
                    try {
                        CtClass patchClass = cp.makeClass(file);
View Full Code Here

Examples of org.hotswap.agent.util.scanner.Scanner.scan()

        cp.appendClassPath(new LoaderClassPath(getClass().getClassLoader()));

        Scanner scanner = new ClassPathScanner();

        try {
            scanner.scan(classLoaderFrom, pluginPath, new ScannerVisitor() {
                @Override
                public void visit(InputStream file) throws IOException {
                    try {
                        CtClass patchClass = cp.makeClass(file);
View Full Code Here

Examples of org.htmlparser.parserHelper.CompositeTagScannerHelper.scan()

                tag,
                url,
                reader,
                currLine,
                balance_quotes);
        return helper.scan();
    }

    /**
     * Override this method if you wish to create any data structures or do anything
     * before the start of the scan. This is just after a tag has triggered the scanner
View Full Code Here

Examples of org.htmlparser.scanners.Scanner.scan()

                        // now recurse if there is a scanner for this type of tag
                        scanner = tag.getThisScanner ();
                        if (null != scanner)
                        {
                            stack = new NodeList ();
                            ret = scanner.scan (tag, mLexer, stack);
                        }
                    }
                }
            }
        }
View Full Code Here

Examples of org.htmlparser.tags.Tag.scan()

                if (node != null)
                {
                    Tag tag = (Tag) node;
                    try
                    {
                        node = tag.scan(parser.getScanners(), url, this);
                        return node;
                    }
                    catch (Exception e)
                    {
                        StringBuffer msgBuffer = new StringBuffer();
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.