Package org.w3c.tools.resources.indexer

Examples of org.w3c.tools.resources.indexer.IndexerModule


     * Get the indexer out of the given context.
     * @return A ResourceIndexer instance, guaranteeed not to be <strong>
     * null</strong>.
     */
    protected ResourceReference getIndexer(ResourceContext c) {
  IndexerModule   m = (IndexerModule) c.getModule(IndexerModule.NAME);
  ResourceReference rr = m.getIndexer(c);
  return rr;
    }
View Full Code Here


  super.setValue(idx, value);
  if ( idx == ATTR_INDEXER ) {
      String indexer = getString(ATTR_INDEXER, null);     
      if ( indexer != null ) {
    ResourceContext c = null;
    IndexerModule   m = null;
    c = getContext();
    m = (IndexerModule) c.getModule(IndexerModule.NAME);
    m.registerIndexer(c, indexer);
      }
  }
    }
View Full Code Here

  // Register our specific indexer, if any:
  ResourceContext c = getContext();
  String indexer = getString(ATTR_INDEXER, null);

  if (( indexer != null ) && (!indexer.equals(""))) {
      IndexerModule   m = (IndexerModule)c.getModule(IndexerModule.NAME);
      m.registerIndexer(c, indexer);
  }
  enableEvent();
    }
View Full Code Here

TOP

Related Classes of org.w3c.tools.resources.indexer.IndexerModule

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.