Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.obinary.cms.util
Class ChildrenCollector  view ChildrenCollector download ChildrenCollector.java

java.lang.Object
  extended byTraversingElementVisitor.Default
      extended bycom.obinary.cms.util.ChildrenCollector

public class ChildrenCollector
extends TraversingElementVisitor.Default

Date: Apr 28, 2003 Time: 11:20:59 AM

Version:
1.0

Field Summary
private  java.util.Collection children
           
private  int collectionType
           
private  boolean collectNodes
           
private  boolean collectProperties
           
static int HIERARCHY_NODE
           
private static java.lang.String NODE_OBJECTCLASS
           
static int SIMPLE_NODE
           
 
Constructor Summary
ChildrenCollector(java.util.Collection children, boolean collectNodes, boolean collectProperties, int maxLevel, int collectionType)
          Constructs a ChildrenCollector
 
Method Summary
protected  void entering(Node node, int level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE_OBJECTCLASS

private static final java.lang.String NODE_OBJECTCLASS
See Also:
Constant Field Values

SIMPLE_NODE

public static final int SIMPLE_NODE
See Also:
Constant Field Values

HIERARCHY_NODE

public static final int HIERARCHY_NODE
See Also:
Constant Field Values

children

private final java.util.Collection children

collectNodes

private final boolean collectNodes

collectProperties

private final boolean collectProperties

collectionType

private int collectionType
Constructor Detail

ChildrenCollector

public ChildrenCollector(java.util.Collection children,
                         boolean collectNodes,
                         boolean collectProperties,
                         int maxLevel,
                         int collectionType)
Constructs a ChildrenCollector

Method Detail

entering

protected void entering(Node node,
                        int level)
                 throws RepositoryException