Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/arranger/jarl/trait/ITraitDef.java


1   package com.arranger.jarl.trait;
2   
3   import com.arranger.jarl.base.IContext;
4   import org.w3c.dom.Element;
5   
6   /**
7    * ITraitDef created on Feb 21, 2003
8    */
9   public interface ITraitDef extends ITrait {
10  
11      /**
12       * Initialize this trait
13       * @param context the global context
14       * @param element the element containing config info
15       */
16      public void initDef(IContext context, Element element);
17  
18      /**
19       * Based off of the actual def, get a real instance
20       * @param context
21       * @param element
22       * @return an initialized trait
23       */
24      public ITrait initInstance(IContext context, Element element);
25  }