org.jboss.dna.repository.observation
Class NodeChanges
java.lang.Object
org.jboss.dna.repository.observation.NodeChanges
- All Implemented Interfaces:
- java.lang.Iterable<NodeChange>
public class NodeChanges
- extends java.lang.Object
- implements java.lang.Iterable<NodeChange>
A utility class that builds node changes from a sequence of events.
- Author:
- Randall Hauch
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static NodeChanges create(java.lang.String repositoryWorkspaceName,
java.lang.Iterable<javax.jcr.observation.Event> events)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
iterator
public java.util.Iterator<NodeChange> iterator()
-
- Specified by:
iterator
in interface java.lang.Iterable<NodeChange>
getPreOrder
public java.util.Iterator<NodeChange> getPreOrder()
size
public int size()
Copyright © 2008. All Rights Reserved.