KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > xml > parser > HandlerStateFactoryIF


1 package org.sapia.util.xml.parser;
2
3
4 /**
5  * This factory class creates <CODE>HandlerStateIF</CODE> instances according to
6  * different criterias.
7  *
8  * @see HandlerStateIF
9  * @see HandlerStateCreationException
10  * @author Jean-Cedric Desrochers
11  *
12  * <dl>
13  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
14  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
15  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
16  * </dl>
17  */

18 public interface HandlerStateFactoryIF {
19   /**
20    * Creates a new handler state for the namespace URI and the local element name passed in.
21    *
22    * @param aNamespaceURI The namespace URI associated with the element for which to create a handler.
23    * @param aLocalName The element type local name.
24    * @exception HandlerStateCreationException If an error occur while creating the handler state.
25    */

26   public HandlerStateIF createHandlerState(String JavaDoc aNamespaceURI,
27     String JavaDoc aLocalName) throws HandlerStateCreationException;
28 }
29
Popular Tags