com.atlassian.confluence.rest.enrich
Class EntityWalker

java.lang.Object
  extended by com.atlassian.confluence.rest.enrich.EntityWalker

public class EntityWalker
extends java.lang.Object


Nested Class Summary
static interface EntityWalker.Visitor
           
 
Constructor Summary
EntityWalker()
           
 
Method Summary
static void traverseWith(RestObject restEntity, EntityWalker.Visitor visitor)
          performs a depth first traversal of this entity and all child restEntities applying the vistor to each node in the tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityWalker

public EntityWalker()
Method Detail

traverseWith

public static void traverseWith(RestObject restEntity,
                                EntityWalker.Visitor visitor)
performs a depth first traversal of this entity and all child restEntities applying the vistor to each node in the tree.



Copyright © 2003-2014 Atlassian. All Rights Reserved.