~ubuntu-branches/ubuntu/trusty/netbeans/trusty

« back to all changes in this revision

Viewing changes to xml/xsl/api/src/org/netbeans/modules/xslt/model/Output.java

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
3
 *
 
4
 * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
 
5
 *
 
6
 * The contents of this file are subject to the terms of either the GNU
 
7
 * General Public License Version 2 only ("GPL") or the Common
 
8
 * Development and Distribution License("CDDL") (collectively, the
 
9
 * "License"). You may not use this file except in compliance with the
 
10
 * License. You can obtain a copy of the License at
 
11
 * http://www.netbeans.org/cddl-gplv2.html
 
12
 * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
 
13
 * specific language governing permissions and limitations under the
 
14
 * License.  When distributing the software, include this License Header
 
15
 * Notice in each file and include the License file at
 
16
 * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
 
17
 * particular file as subject to the "Classpath" exception as provided
 
18
 * by Sun in the GPL Version 2 section of the License file that
 
19
 * accompanied this code. If applicable, add the following below the
 
20
 * License Header, with the fields enclosed by brackets [] replaced by
 
21
 * your own identifying information:
 
22
 * "Portions Copyrighted [year] [name of copyright owner]"
 
23
 *
 
24
 * Contributor(s):
 
25
 *
 
26
 * The Original Software is NetBeans. The Initial Developer of the Original
 
27
 * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
 
28
 * Microsystems, Inc. All Rights Reserved.
 
29
 *
 
30
 * If you wish your version of this file to be governed by only the CDDL
 
31
 * or only the GPL Version 2, indicate your decision by adding
 
32
 * "[Contributor] elects to include this software in this distribution
 
33
 * under the [CDDL or GPL Version 2] license." If you do not indicate a
 
34
 * single choice of license, a recipient has the option to distribute
 
35
 * your version of this file under either the CDDL, the GPL Version 2 or
 
36
 * to extend the choice of license to its licensees as provided above.
 
37
 * However, if you add GPL Version 2 code and therefore, elected the GPL
 
38
 * Version 2 license, then the option applies only if the new code is
 
39
 * made subject to such option by the copyright holder.
 
40
 */
 
41
 
 
42
package org.netbeans.modules.xslt.model;
 
43
 
 
44
import org.netbeans.modules.xslt.model.enums.Standalone;
 
45
import org.netbeans.modules.xslt.model.enums.TBoolean;
 
46
 
 
47
 
 
48
/**
 
49
 * <pre>
 
50
 * &lt;xs:element name="output" substitutionGroup="xsl:declaration">
 
51
 *      &lt;xs:complexType>
 
52
 *          &lt;xs:complexContent mixed="true">
 
53
 *              &lt;xs:extension base="xsl:generic-element-type">
 
54
 *                  &lt;xs:attribute name="name" type="xsl:QName"/>
 
55
 *                  &lt;xs:attribute name="method" type="xsl:method"/>
 
56
 *                  &lt;xs:attribute name="byte-order-mark" type="xsl:yes-or-no"/>
 
57
 *                  &lt;xs:attribute name="cdata-section-elements" type="xsl:QNames"/>
 
58
 *                  &lt;xs:attribute name="doctype-public" type="xs:string"/>
 
59
 *                  &lt;xs:attribute name="doctype-system" type="xs:string"/>
 
60
 *                  &lt;xs:attribute name="encoding" type="xs:string"/>
 
61
 *                  &lt;xs:attribute name="escape-uri-attributes" type="xsl:yes-or-no"/>
 
62
 *                  &lt;xs:attribute name="include-content-type" type="xsl:yes-or-no"/>
 
63
 *                  &lt;xs:attribute name="indent" type="xsl:yes-or-no"/>
 
64
 *                  &lt;xs:attribute name="media-type" type="xs:string"/>
 
65
 *                  &lt;xs:attribute name="normalization-form" type="xs:NMTOKEN"/>
 
66
 *                  &lt;xs:attribute name="omit-xml-declaration" type="xsl:yes-or-no"/>
 
67
 *                  &lt;xs:attribute name="standalone" type="xsl:yes-or-no-or-omit"/>
 
68
 *                  &lt;xs:attribute name="undeclare-prefixes" type="xsl:yes-or-no"/>
 
69
 *                  &lt;xs:attribute name="use-character-maps" type="xsl:QNames"/>
 
70
 *                  &lt;xs:attribute name="version" type="xs:NMTOKEN"/>
 
71
 *              &lt;/xs:extension>
 
72
 *          &lt;/xs:complexContent>
 
73
 *      &lt;/xs:complexType>
 
74
 * &lt;/xs:element>
 
75
 * </pre>
 
76
 * 
 
77
 * @author ads
 
78
 *
 
79
 */
 
80
public interface Output extends QualifiedNameable, ContentElement, Declaration,
 
81
    UseCharacterMapsSpec
 
82
{
 
83
    String STANDALONE               = "standalone";               // NOI18N
 
84
    
 
85
    String UNDECLARE_PREFIXES       = "undeclare-prefixes";       // NOI18N
 
86
    
 
87
    String METHOD                   = "method";                   // NOI18N
 
88
    
 
89
    String INDENT                   = "indent";                   // NOI18N
 
90
    
 
91
    String ENCODING                 = "encoding";                 // NOI18N
 
92
    
 
93
    String BYTE_ORDER_MARK          = "byte-order-mark";          // NOI18N
 
94
    
 
95
    String CDATA_SECTION_ELEMENTS   = "cdata-section-elements";   // NOI18N
 
96
    
 
97
    String DOCTYPE_PUBLIC           = "doctype-public";           // NOI18N
 
98
    
 
99
    String DOCTYPE_SYSTEM           = "doctype-system";           // NOI18N
 
100
    
 
101
    String ESCAPE_URI_ATTRIBUTES    = "escape-uri-attributes";    // NOI18N
 
102
    
 
103
    String INCLUDE_CONTENT_TYPE     = "include-content-type";     // NOI18N
 
104
    
 
105
    String MEDIA_TYPE               = "media-type";               // NOI18N
 
106
    
 
107
    String NORMALIZATION_FORM       = "normalization-form";       // NOI18N
 
108
    
 
109
    String OMIT_XML_DECLARATION     = "omit-xml-declaration";     // NOI18N
 
110
    
 
111
    String VERSION                  = Stylesheet.VERSION;
 
112
    
 
113
    /**
 
114
     * @return "standalone" attribute value
 
115
     */
 
116
    Standalone getStandalone();
 
117
    
 
118
    /**
 
119
     * Set "standalone" attribute value. 
 
120
     * @param value new value.
 
121
     */
 
122
    void setStandalone( Standalone value );
 
123
    
 
124
    /**
 
125
     * @return "undeclare-prefixes" attribute value
 
126
     */
 
127
    TBoolean getUndeclarePrefixes();
 
128
    
 
129
    /**
 
130
     * Set "undeclare-prefixes" attribute value
 
131
     * @param value new value 
 
132
     */
 
133
    void setUndeclarePrefixes( TBoolean value );
 
134
    
 
135
    /**
 
136
     * @return "indent" attribute value
 
137
     */
 
138
    TBoolean getIndent();
 
139
    
 
140
    /**
 
141
     * Set "indent" attribute value.
 
142
     * @param value new value
 
143
     */
 
144
    void setIndent( TBoolean value );
 
145
    
 
146
    /**
 
147
     * @return "encoding" attribute value
 
148
     */
 
149
    String getEncoding();
 
150
    
 
151
    /**
 
152
     * Set new "encoding" attribute value. 
 
153
     * @param encoding new value
 
154
     */
 
155
    void setEncoding( String encoding );
 
156
}