org.apache.shindig.gadgets.rewrite
Class DomWalker

java.lang.Object
  extended by org.apache.shindig.gadgets.rewrite.DomWalker

public final class DomWalker
extends Object

Framework-in-a-framework facilitating the common Visitor case in which a DOM tree is walked in order to manipulate it. See subclass doc for additional detail.

Since:
2.0.0

Nested Class Summary
static class DomWalker.Rewriter
          Rewriter that traverses the DOM, passing each node to its list of Visitor instances in order.
static interface DomWalker.Visitor
          Implemented by classes that do actual manipulation of the DOM while DomWalker.ContentVisitor walks it.
 
Method Summary
static Gadget makeGadget(GadgetContext context)
           
static Gadget makeGadget(HttpRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeGadget

public static Gadget makeGadget(GadgetContext context)

makeGadget

public static Gadget makeGadget(HttpRequest request)


Copyright © 2007-2012. All Rights Reserved.