KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > properties > attributes > DefaultAttributeDefinition


1 /*
2  * SSL-Explorer
3  *
4  * Copyright (C) 2003-2006 3SP LTD. All Rights Reserved
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; if not, write to the Free Software
17  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */

19             
20 package com.sslexplorer.properties.attributes;
21
22 import org.jdom.Element;
23 import org.jdom.JDOMException;
24
25
26 /**
27  * Implementation of an {@link XMLAttributeDefinition} that used for
28  * <i>Aser attributes</i>.
29  *
30  * @author Brett Smith <a HREF="mailto: brett@3sp.com">&lt;brett@3sp.com&gt;</a>
31  * @see com.sslexplorer.security.UserDatabase
32  */

33 public class DefaultAttributeDefinition extends XMLAttributeDefinition {
34     /**
35      * Construct
36      *
37      * @param element XML element
38      * @throws JDOMException on parsing error
39      */

40     public DefaultAttributeDefinition(Element element) throws JDOMException {
41         super(element);
42     }
43
44     /**
45      * Constructor. See class documentation for details of required
46      * attributes.
47      *
48      * @param type type
49      * @param name name
50      * @param typeMeta type meta
51      * @param category category ID or <code>-1</code> to use the categoryLabel
52      * @param categoryLabel category label or <code>null</code>
53      * @param defaultValue default value
54      * @param visibility visibility. See class description
55      * @param sortOrder sort order
56      * @param messageResourcesKey
57      * @param hidden hidden
58      * @param label label
59      * @param description description
60      * @param system system
61      * @param replaceable
62      * @param validationString validation string
63      */

64
65     public DefaultAttributeDefinition(int type, String JavaDoc name, String JavaDoc typeMeta, int category, String JavaDoc categoryLabel, String JavaDoc defaultValue,
66                     int visibility, int sortOrder, String JavaDoc messageResourcesKey, boolean hidden, String JavaDoc label, String JavaDoc description, boolean system, boolean replaceable, String JavaDoc validationString) {
67         super(type, name, typeMeta, category, categoryLabel, defaultValue,
68             visibility, sortOrder, messageResourcesKey, hidden, label, description, system, replaceable, validationString);
69     }
70 }
71
Popular Tags