org.onemind.commons.java.xml.digest
Interface ElementCreatorDigester

All Superinterfaces:
ElementDigester
All Known Implementing Classes:
AbstractElementCreatorDigester

public interface ElementCreatorDigester
extends ElementDigester

An creator digester is a digester that digests an element in xml and creates an element object as represented by xml. It provides a mechanism for xml element digestion implementation outside of the element object itself.

Version:
$Id: ElementCreatorDigester.java,v 1.1 2005/01/30 06:30:53 thlee Exp $ $Name: $
Author:
TiongHiang Lee (thlee@onemindsoft.org)

Method Summary
 void addListener(ElementListener l)
          Add listener
 java.lang.Object getCreatedElement()
          Get the created object
 void removeListener(ElementListener l)
          Remove listener
 
Methods inherited from interface org.onemind.commons.java.xml.digest.ElementDigester
characters, endDigest, getElementName, startDigest
 

Method Detail

addListener

public void addListener(ElementListener l)
Add listener

Parameters:
l - the listener

removeListener

public void removeListener(ElementListener l)
Remove listener

Parameters:
l - the listener

getCreatedElement

public java.lang.Object getCreatedElement()
Get the created object

Returns:
the created object


Copyright © 2004-2006 . All Rights Reserved.