Hi
Does anyone know what the alternative of NodeCreatorInterface is going to be
or if already exists:
compile:
Compiling 458 source files to
/home/michi/src/apache/lenya/trunk/build/lenya/webapp/WEB-INF/classes
/home/michi/src/apache/lenya/trunk/src/java/org/apache/lenya/cms/publication/ResourceType.java:35:
warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
import org.apache.lenya.cms.authoring.NodeCreatorInterface;
^
/home/michi/src/apache/lenya/trunk/src/java/org/apache/lenya/cms/publication/ResourceType.java:75:
warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
NodeCreatorInterface getCreator();
^
/home/michi/src/apache/lenya/trunk/src/java/org/apache/lenya/cms/authoring/DefaultCreator.java:36:
warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
public abstract class DefaultCreator extends AbstractLogEnabled
implements NodeCreatorInterface {
^
/home/michi/src/apache/lenya/trunk/src/java/org/apache/lenya/cms/publication/DocumentManagerImpl.java:30:
warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
import org.apache.lenya.cms.authoring.NodeCreatorInterface;
^
/home/michi/src/apache/lenya/trunk/src/java/org/apache/lenya/cms/publication/ResourceTypeImpl.java:34:
warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
import org.apache.lenya.cms.authoring.NodeCreatorInterface;
^
/home/michi/src/apache/lenya/trunk/src/java/org/apache/lenya/cms/publication/ResourceTypeImpl.java:60:
warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
private NodeCreatorInterface creator;
^
/home/michi/src/apache/lenya/trunk/src/java/org/apache/lenya/cms/publication/ResourceTypeImpl.java:138:
warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
public NodeCreatorInterface getCreator() {
^
/home/michi/src/apache/lenya/trunk/src/java/org/apache/lenya/cms/publication/DocumentManagerImpl.java:110:
warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
NodeCreatorInterface creator = documentType.getCreator();
^
/home/michi/src/apache/lenya/trunk/src/java/org/apache/lenya/cms/publication/ResourceTypeImpl.java:82:
warning: org.apache.lenya.cms.authoring.NodeCreatorInterface in
org.apache.lenya.cms.authoring has been deprecated
this.creator = (NodeCreatorInterface)
creatorClass.newInstance();
^
9 warnings
The Javadoc says the following:
/**
* Interface for creation of nodes in the document hierarchy
* @version $Id: NodeCreatorInterface.java 190176 2005-06-11 21:25:22Z
gregor $
* @deprecated This interface and it's implementations will be removed
during the 1.4 development cycle
*/
Thanks
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]