eu.monnetproject.lemon.impl.io.xml
Class RDFXMLWriter
java.lang.Object
eu.monnetproject.lemon.AbstractVisitor
eu.monnetproject.lemon.impl.io.xml.RDFXMLWriter
- All Implemented Interfaces:
- ElementVisitor
public class RDFXMLWriter
- extends AbstractVisitor
- Author:
- John McCrae
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDFXMLWriter
public RDFXMLWriter(LinguisticOntology lo,
Class<?> rootClass)
throws ParserConfigurationException
- Throws:
ParserConfigurationException
visit
public void visit(LemonElement _element)
- Description copied from interface:
ElementVisitor
- Perform an action on a single element
visitFirst
public boolean visitFirst()
- Description copied from interface:
ElementVisitor
- If true the visit method will be called in direct order, otherwise in reverse order
- Specified by:
visitFirst
in interface ElementVisitor
- Overrides:
visitFirst
in class AbstractVisitor
- Returns:
- The visit order
hasVisited
public boolean hasVisited(LemonElement element)
- Description copied from interface:
ElementVisitor
- Returns true if the visitor has already visited this element
- Returns:
getDocument
public String getDocument()
throws TransformerException
- Throws:
TransformerException
Copyright © 2012. All Rights Reserved.