net.sf.stax
Interface StAXDelegationContext

All Superinterfaces:
StAXContext

public interface StAXDelegationContext
extends StAXContext

Interface which exposes delegation services offered by a StAX event source.

Version:
$Revision: 1.2 $ $Date: 2006/01/02 20:37:34 $
Author:
Thomas Down, Matthew Pocock, Michael Heuer

Method Summary
 void delegate(StAXContentHandler handler)
          Delegate to the specified StAXContentHandler.
 void pushContext(String subContext)
          Push the specified subcontext on the stack of contexts.
 
Methods inherited from interface net.sf.stax.StAXContext
getContexts, getIdMapper, getLocator, setLocator
 

Method Detail

delegate

void delegate(StAXContentHandler handler)
              throws SAXException
Delegate to the specified StAXContentHandler.

Parameters:
handler - content handler to delegate to
Throws:
SAXException - any SAX exception, possibly wrapping another exception

pushContext

void pushContext(String subContext)
                 throws SAXException
Push the specified subcontext on the stack of contexts.

Parameters:
subContext - subcontext to push
Throws:
SAXException - any SAX exception, possibly wrapping another exception


Copyright (c) 2001-2006 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).