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

Quick Search    Search Deep

Source code: com/aendvari/griffin/validation/validators/simple/SimpleValidationDescriptor.java


1   /*
2    * SimpleValidationDescriptor.java
3    *
4    * Copyright (c) 2001, 2002 Aendvari, Ltd. All Rights Reserved.
5    *
6    * See the file LICENSE for terms of use.
7    *
8    */
9   
10  package com.aendvari.griffin.validation.validators.simple;
11  
12  import com.aendvari.common.util.ResourceLoader;
13  
14  
15  /**
16   * <p>This is an extended version of the {@link ResourceLoader} class to allow access to
17   * the XML descriptor resource.</p>
18   *
19   * @author  Scott Milne
20   *
21   */
22  
23  public class SimpleValidationDescriptor extends ResourceLoader
24  {
25    private static final String resourceFile = "SimpleValidationDescriptor.xml";
26  
27    /**
28     * This method simply returns the name of the xml file to use for the descriptor.
29     *
30     * @return                The name of the xml descriptor file.
31     *
32     */
33  
34    protected String getResourceName()
35    {
36      return resourceFile;
37    }
38  }
39