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

Quick Search    Search Deep

Source code: com/sun/facelets/tag/MetaRuleset.java


1   /**
2    * Licensed under the Common Development and Distribution License,
3    * you may not use this file except in compliance with the License.
4    * You may obtain a copy of the License at
5    * 
6    *   http://www.sun.com/cddl/
7    *   
8    * Unless required by applicable law or agreed to in writing, software
9    * distributed under the License is distributed on an "AS IS" BASIS,
10   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
11   * implied. See the License for the specific language governing
12   * permissions and limitations under the License.
13   */
14  
15  package com.sun.facelets.tag;
16  
17  /**
18   * A mutable set of rules to be used in auto-wiring state to a particular object
19   * instance. Rules assigned to this object will be composed into a single
20   * Metadata instance.
21   * 
22   * @author Jacob Hookom
23   * @version $Id: MetaRuleset.java,v 1.2 2005/08/24 04:38:47 jhook Exp $
24   */
25  public abstract class MetaRuleset {
26      /**
27       * @param attribute
28       * @return
29       */
30      public abstract MetaRuleset ignore(String attribute);
31  
32      /**
33       * @return
34       */
35      public abstract MetaRuleset ignoreAll();
36  
37      /**
38       * @param attribute
39       * @param property
40       * @return
41       */
42      public abstract MetaRuleset alias(String attribute, String property);
43  
44      /**
45       * @param mapper
46       * @return
47       */
48      public abstract MetaRuleset add(Metadata mapper);
49  
50      /**
51       * @param rule
52       * @return
53       */
54      public abstract MetaRuleset addRule(MetaRule rule);
55  
56      /**
57       * @return
58       */
59      public abstract Metadata finish();
60  }