edu.mit.jverbnet.util.parse
Interface ITaggedBlockTaskHandler

All Known Implementing Classes:
ArgHandler, CDataHandler, FrameHandler, ListHandler, MappedHandler, MemberHandler, PredicateDescHandler, RestrictionHandler, SelRestrictionsHandler, SemanticDescHandler, SyntaxArgDescHandler, SyntaxDescHandler, TaggedBlockTaskHandlerAdapter, ThematicRoleHandler, VerbClassHandler

public interface ITaggedBlockTaskHandler

A task to be run when entering and exiting a tagged block.

Since:
JVerbnet 1.0.0
Version:
1.0.0
Author:
Mark A. Finlayson

Method Summary
 void endTaggedBlock(String uri, String localName, String qName)
          This method is used to run when exiting a tagged block.
 void startTaggedBlock(String uri, String localName, String qName, Attributes attrs)
          This method is used to run code when entering a tagged block.
 

Method Detail

startTaggedBlock

void startTaggedBlock(String uri,
                      String localName,
                      String qName,
                      Attributes attrs)
                      throws SAXException
This method is used to run code when entering a tagged block.

Parameters:
uri - the Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed
localName - the local name (without prefix), or the empty string if Namespace processing is not being performed
qName - the qualified name (with prefix), or the empty string if qualified names are not available
attrs - the attributes attached to the element. If there are no attributes, it shall be an empty Attributes object. The value of this object after startElement returns is undefined
Throws:
SAXException - any SAX exception, possibly wrapping another exception
Since:
JVerbnet 1.0.0

endTaggedBlock

void endTaggedBlock(String uri,
                    String localName,
                    String qName)
                    throws SAXException
This method is used to run when exiting a tagged block.

Parameters:
uri - the Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed
localName - the local name (without prefix), or the empty string if Namespace processing is not being performed
qName - the qualified XML name (with prefix), or the empty string if qualified names are not available
Throws:
SAXException - any SAX exception, possibly wrapping another exception
Since:
JVerbnet 1.0.0


Copyright © 2012 Massachusetts Institute of Technology. All Rights Reserved.