org.databene.commons.visitor
Class AbstractElement<E>

java.lang.Object
  extended by org.databene.commons.visitor.AbstractElement<E>
All Implemented Interfaces:
Element<E>
Direct Known Subclasses:
WrapperElement

public abstract class AbstractElement<E>
extends java.lang.Object
implements Element<E>

Implementation of the Element interface that supports navigating through sub elements.

Created: 04.02.2007 07:53:23

Author:
Volker Bergmann

Constructor Summary
AbstractElement()
           
 
Method Summary
 void accept(Visitor<E> visitor)
           
protected  void acceptImpl(Visitor<E> visitor)
           
protected abstract  java.util.Collection<Element<E>> getChildren(Visitor<E> visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractElement

public AbstractElement()
Method Detail

accept

public final void accept(Visitor<E> visitor)
Specified by:
accept in interface Element<E>

acceptImpl

protected void acceptImpl(Visitor<E> visitor)

getChildren

protected abstract java.util.Collection<Element<E>> getChildren(Visitor<E> visitor)


Copyright © 2010. All Rights Reserved.