KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > xslt > model > Function


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 package org.netbeans.modules.xslt.model;
20
21 import org.netbeans.modules.xslt.model.enums.TBoolean;
22
23
24 /**
25  * <pre>
26  * &lt;xs:element name="function" substitutionGroup="xsl:declaration">
27  * &lt;xs:complexType>
28  * &lt;xs:complexContent mixed="true">
29  * &lt;xs:extension base="xsl:versioned-element-type">
30  * &lt;xs:sequence>
31  * &lt;xs:element ref="xsl:param" minOccurs="0" maxOccurs="unbounded"/>
32  * &lt;xs:group ref="xsl:sequence-constructor-group" minOccurs="0" maxOccurs="unbounded"/>
33  * &lt;/xs:sequence>
34  * &lt;xs:attribute name="name" type="xsl:QName" use="required"/>
35  * &lt;xs:attribute name="override" type="xsl:yes-or-no" default="yes"/>
36  * &lt;xs:attribute name="as" type="xsl:sequence-type" default="item()*"/>
37  * &lt;/xs:extension>
38  * &lt;/xs:complexContent>
39  * &lt;/xs:complexType>
40  * &lt;/xs:element>
41  * </pre>
42  * @author ads
43  *
44  */

45 public interface Function extends Declaration, ParamContainer, SequenceConstructor,
46     QualifiedNameable, AsSpec
47 {
48     String JavaDoc OVERRIDE = "override"; // NOI18N
49

50     /**
51      * @return "override" attribute value
52      */

53     TBoolean getOverride();
54     
55     /**
56      * Set new "override" attribute value.
57      * @param value new value
58      */

59     void setOverride( TBoolean value );
60 }
61
Popular Tags