eu.monnetproject.lemon.impl
Class CopyVisitor

java.lang.Object
  extended by eu.monnetproject.lemon.AbstractVisitor
      extended by eu.monnetproject.lemon.impl.CopyVisitor
All Implemented Interfaces:
ElementVisitor

public class CopyVisitor
extends AbstractVisitor

Author:
John McCrae

Constructor Summary
CopyVisitor(LinguisticOntology lingOnto, LemonModelImpl target)
           
 
Method Summary
 boolean hasVisited(LemonElement element)
          Returns true if the visitor has already visited this element
<E extends LemonElement>
E
make(Class<E> clazz, String bNode)
           
<E extends LemonElement>
E
make(Class<E> clazz, URI uri, E e)
           
<E extends LemonElement>
E
make(E e)
           
 void visit(LemonElement element)
          Perform an action on a single element
 
Methods inherited from class eu.monnetproject.lemon.AbstractVisitor
follow, visitFirst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyVisitor

public CopyVisitor(LinguisticOntology lingOnto,
                   LemonModelImpl target)
Method Detail

visit

public void visit(LemonElement element)
Description copied from interface: ElementVisitor
Perform an action on a single element


make

public <E extends LemonElement> E make(E e)

make

public <E extends LemonElement> E make(Class<E> clazz,
                                       String bNode)

make

public <E extends LemonElement> E make(Class<E> clazz,
                                       URI uri,
                                       E e)

hasVisited

public boolean hasVisited(LemonElement element)
Description copied from interface: ElementVisitor
Returns true if the visitor has already visited this element

Returns:


Copyright © 2012. All Rights Reserved.