net.sf.stax
Interface StAXContext

All Known Subinterfaces:
StAXDelegationContext

public interface StAXContext

Interface which exposes id mapping services offered by a StAX event source.

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

Method Summary
 List getContexts()
          Return a list of contexts.
 IdMapper getIdMapper()
          Return the IdMapper implementation associated with this context.
 Locator getLocator()
          Return the document locator associated with this context.
 void setLocator(Locator locator)
          Set the document locator associated with this context to locator.
 

Method Detail

getIdMapper

IdMapper getIdMapper()
Return the IdMapper implementation associated with this context.

Returns:
the IdMapper implementation associated with this context

getContexts

List getContexts()
Return a list of contexts.

Returns:
a list of contexts

getLocator

Locator getLocator()
Return the document locator associated with this context. May be null.

Returns:
the document locator associated with this context

setLocator

void setLocator(Locator locator)
Set the document locator associated with this context to locator.

Parameters:
locator - document locator


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