2
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
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]"
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.
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.
42
package org.netbeans.modules.xslt.model;
44
import org.netbeans.modules.xslt.model.enums.Standalone;
45
import org.netbeans.modules.xslt.model.enums.TBoolean;
50
* <xs:element name="output" substitutionGroup="xsl:declaration">
52
* <xs:complexContent mixed="true">
53
* <xs:extension base="xsl:generic-element-type">
54
* <xs:attribute name="name" type="xsl:QName"/>
55
* <xs:attribute name="method" type="xsl:method"/>
56
* <xs:attribute name="byte-order-mark" type="xsl:yes-or-no"/>
57
* <xs:attribute name="cdata-section-elements" type="xsl:QNames"/>
58
* <xs:attribute name="doctype-public" type="xs:string"/>
59
* <xs:attribute name="doctype-system" type="xs:string"/>
60
* <xs:attribute name="encoding" type="xs:string"/>
61
* <xs:attribute name="escape-uri-attributes" type="xsl:yes-or-no"/>
62
* <xs:attribute name="include-content-type" type="xsl:yes-or-no"/>
63
* <xs:attribute name="indent" type="xsl:yes-or-no"/>
64
* <xs:attribute name="media-type" type="xs:string"/>
65
* <xs:attribute name="normalization-form" type="xs:NMTOKEN"/>
66
* <xs:attribute name="omit-xml-declaration" type="xsl:yes-or-no"/>
67
* <xs:attribute name="standalone" type="xsl:yes-or-no-or-omit"/>
68
* <xs:attribute name="undeclare-prefixes" type="xsl:yes-or-no"/>
69
* <xs:attribute name="use-character-maps" type="xsl:QNames"/>
70
* <xs:attribute name="version" type="xs:NMTOKEN"/>
72
* </xs:complexContent>
73
* </xs:complexType>
80
public interface Output extends QualifiedNameable, ContentElement, Declaration,
83
String STANDALONE = "standalone"; // NOI18N
85
String UNDECLARE_PREFIXES = "undeclare-prefixes"; // NOI18N
87
String METHOD = "method"; // NOI18N
89
String INDENT = "indent"; // NOI18N
91
String ENCODING = "encoding"; // NOI18N
93
String BYTE_ORDER_MARK = "byte-order-mark"; // NOI18N
95
String CDATA_SECTION_ELEMENTS = "cdata-section-elements"; // NOI18N
97
String DOCTYPE_PUBLIC = "doctype-public"; // NOI18N
99
String DOCTYPE_SYSTEM = "doctype-system"; // NOI18N
101
String ESCAPE_URI_ATTRIBUTES = "escape-uri-attributes"; // NOI18N
103
String INCLUDE_CONTENT_TYPE = "include-content-type"; // NOI18N
105
String MEDIA_TYPE = "media-type"; // NOI18N
107
String NORMALIZATION_FORM = "normalization-form"; // NOI18N
109
String OMIT_XML_DECLARATION = "omit-xml-declaration"; // NOI18N
111
String VERSION = Stylesheet.VERSION;
114
* @return "standalone" attribute value
116
Standalone getStandalone();
119
* Set "standalone" attribute value.
120
* @param value new value.
122
void setStandalone( Standalone value );
125
* @return "undeclare-prefixes" attribute value
127
TBoolean getUndeclarePrefixes();
130
* Set "undeclare-prefixes" attribute value
131
* @param value new value
133
void setUndeclarePrefixes( TBoolean value );
136
* @return "indent" attribute value
138
TBoolean getIndent();
141
* Set "indent" attribute value.
142
* @param value new value
144
void setIndent( TBoolean value );
147
* @return "encoding" attribute value
149
String getEncoding();
152
* Set new "encoding" attribute value.
153
* @param encoding new value
155
void setEncoding( String encoding );