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

Quick Search    Search Deep

Source code: com/sample/addressbook/controller/contact/validation/ContactDatasetDescriptor.java


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