mcconnell 2003/06/12 01:18:51
Modified: merlin/meta/src/java/org/apache/avalon/meta/info/builder
TypeBuilder.java
Log:
Update TypeBuilder javadoc.
Revision Changes Path
1.5 +9 -3
avalon-sandbox/merlin/meta/src/java/org/apache/avalon/meta/info/builder/TypeBuilder.java
Index: TypeBuilder.java
===================================================================
RCS file:
/home/cvs/avalon-sandbox/merlin/meta/src/java/org/apache/avalon/meta/info/builder/TypeBuilder.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- TypeBuilder.java 14 May 2003 09:36:09 -0000 1.4
+++ TypeBuilder.java 12 Jun 2003 08:18:51 -0000 1.5
@@ -141,8 +141,14 @@
}
/**
- * Build Type from the XML descriptor format.
- *
+ * Build Type from the XML descriptor format. The implementation
+ * will attempt to locate a <classname>.xtype resource. If
+ * not found, the implementation will attempt to locate
+ * a <classname>.info resource. Once a resource is established
+ * the type will be resolved relative to the root element. Normally
+ * the root element is a <type>, however the implementation
+ * also recognises the legacy <blockinfo> schema.
+ *
* @param classname The classname of Component
* @param classLoader the ClassLoader to load info from
* @return the created Type
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]