org.sapia.util.xml.confix
Interface ObjectFactoryIF

All Known Implementing Classes:
CompositeObjectFactory, ReflectionFactory

public interface ObjectFactoryIF

This interface specifies the behavior of factories that create objects out of XML content.

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Method Summary
 CreationStatus newObjectFor(String aPrefix, String aNamespaceURI, String anElementName, Object aParent)
          Creates an object for the element passed in.
 

Method Detail

newObjectFor

public CreationStatus newObjectFor(String aPrefix,
                                   String aNamespaceURI,
                                   String anElementName,
                                   Object aParent)
                            throws ObjectCreationException
Creates an object for the element passed in.

Parameters:
aPrefix - The namespace prefix of the element.
aNamespaceURI - The namespace URI of the element.
anElementName - The element name for wich to create an object.
aParent - The parent object of the object to create.
Throws:
ObjectCreationException - If an error occurs creating the object.


Copyright © 2002 Sapia Open Source Software. All Rights Reserved.