org.apache.commons.digester
インタフェース ObjectCreationFactory

既知の実装クラスの一覧:
AbstractObjectCreationFactory

public interface ObjectCreationFactory

Interface for use with FactoryCreateRule. The rule calls createObject(org.xml.sax.Attributes) to create an object to be pushed onto the Digester stack whenever it is matched.

AbstractObjectCreationFactory is an abstract implementation suitable for creating anonymous ObjectCreationFactory implementations.

バージョン:
$Revision: 1.3 $ $Date: 2001/09/22 18:36:35 $
作成者:
Robert Burrell Donkin

メソッドの概要
 java.lang.Object createObject(org.xml.sax.Attributes attributes)
          Factory method called by FactoryCreateRule to supply an object based on the element's attributes.
 Digester getDigester()
          Returns the Digester that was set by the FactoryCreateRule upon initialization.
 void setDigester(Digester digester)
          Set the Digester to allow the implementation to do logging, classloading based on the digester's classloader, etc.
 

メソッドの詳細

createObject

public java.lang.Object createObject(org.xml.sax.Attributes attributes)

Factory method called by FactoryCreateRule to supply an object based on the element's attributes.

パラメータ:
attributes - the element's attributes

getDigester

public Digester getDigester()

Returns the Digester that was set by the FactoryCreateRule upon initialization.


setDigester

public void setDigester(Digester digester)

Set the Digester to allow the implementation to do logging, classloading based on the digester's classloader, etc.

パラメータ:
digester - parent Digester object


Copyright (c) 2001 - Apache Software Foundation