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(java.lang.String aPrefix,
java.lang.String aNamespaceURI,
java.lang.String anElementName,
java.lang.Object aParent)
Creates an object for the element passed in. |
newObjectFor
CreationStatus newObjectFor(java.lang.String aPrefix,
java.lang.String aNamespaceURI,
java.lang.String anElementName,
java.lang.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 © 2011 Sapia OSS. All Rights Reserved.