de.fu_berlin.ties.xml.dom
Interface ElementProcessor
- All Known Implementing Classes:
- AnswerBuilder
public interface ElementProcessor
Interface for a processor that operates on elements in XML documents.
- Version:
- $Revision: 1.5 $, $Date: 2006/10/21 16:04:33 $, $Author: siefkes $
- Author:
- Christian Siefkes
processElement
void processElement(Element element,
TokenContainer tokenContainer,
ContextMap context)
throws IOException,
ProcessingException
- Processes an element in an XML document, optionally modifying the
element or the document it is part of.
- Parameters:
element
- the element to processtokenContainer
- a container storing all tokens seen in the
document so far; TokenContainer.getLast()
contains the textual
content of the element and its child elementscontext
- a map of objects that are made available for processing
- Throws:
IOException
- if an I/O error occurs
ProcessingException
- if an error occurs during processing
Copyright © 2003-2007 Christian Siefkes. All Rights Reserved.