KickJava   Java API By Example, From Geeks To Geeks.

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


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
20 package org.netbeans.modules.xslt.model;
21
22 import org.netbeans.modules.xslt.model.enums.Standalone;
23 import org.netbeans.modules.xslt.model.enums.TBoolean;
24
25
26 /**
27  * <pre>
28  * &lt;xs:element name="output" substitutionGroup="xsl:declaration">
29  * &lt;xs:complexType>
30  * &lt;xs:complexContent mixed="true">
31  * &lt;xs:extension base="xsl:generic-element-type">
32  * &lt;xs:attribute name="name" type="xsl:QName"/>
33  * &lt;xs:attribute name="method" type="xsl:method"/>
34  * &lt;xs:attribute name="byte-order-mark" type="xsl:yes-or-no"/>
35  * &lt;xs:attribute name="cdata-section-elements" type="xsl:QNames"/>
36  * &lt;xs:attribute name="doctype-public" type="xs:string"/>
37  * &lt;xs:attribute name="doctype-system" type="xs:string"/>
38  * &lt;xs:attribute name="encoding" type="xs:string"/>
39  * &lt;xs:attribute name="escape-uri-attributes" type="xsl:yes-or-no"/>
40  * &lt;xs:attribute name="include-content-type" type="xsl:yes-or-no"/>
41  * &lt;xs:attribute name="indent" type="xsl:yes-or-no"/>
42  * &lt;xs:attribute name="media-type" type="xs:string"/>
43  * &lt;xs:attribute name="normalization-form" type="xs:NMTOKEN"/>
44  * &lt;xs:attribute name="omit-xml-declaration" type="xsl:yes-or-no"/>
45  * &lt;xs:attribute name="standalone" type="xsl:yes-or-no-or-omit"/>
46  * &lt;xs:attribute name="undeclare-prefixes" type="xsl:yes-or-no"/>
47  * &lt;xs:attribute name="use-character-maps" type="xsl:QNames"/>
48  * &lt;xs:attribute name="version" type="xs:NMTOKEN"/>
49  * &lt;/xs:extension>
50  * &lt;/xs:complexContent>
51  * &lt;/xs:complexType>
52  * &lt;/xs:element>
53  * </pre>
54  *
55  * @author ads
56  *
57  */

58 public interface Output extends QualifiedNameable, ContentElement, Declaration,
59     UseCharacterMapsSpec
60 {
61     String JavaDoc STANDALONE = "standalone"; // NOI18N
62

63     String JavaDoc UNDECLARE_PREFIXES = "undeclare-prefixes"; // NOI18N
64

65     String JavaDoc METHOD = "method"; // NOI18N
66

67     String JavaDoc INDENT = "indent"; // NOI18N
68

69     String JavaDoc ENCODING = "encoding"; // NOI18N
70

71     String JavaDoc BYTE_ORDER_MARK = "byte-order-mark"; // NOI18N
72

73     String JavaDoc CDATA_SECTION_ELEMENTS = "cdata-section-elements"; // NOI18N
74

75     String JavaDoc DOCTYPE_PUBLIC = "doctype-public"; // NOI18N
76

77     String JavaDoc DOCTYPE_SYSTEM = "doctype-system"; // NOI18N
78

79     String JavaDoc ESCAPE_URI_ATTRIBUTES = "escape-uri-attributes"; // NOI18N
80

81     String JavaDoc INCLUDE_CONTENT_TYPE = "include-content-type"; // NOI18N
82

83     String JavaDoc MEDIA_TYPE = "media-type"; // NOI18N
84

85     String JavaDoc NORMALIZATION_FORM = "normalization-form"; // NOI18N
86

87     String JavaDoc OMIT_XML_DECLARATION = "omit-xml-declaration"; // NOI18N
88

89     String JavaDoc VERSION = Stylesheet.VERSION;
90     
91     /**
92      * @return "standalone" attribute value
93      */

94     Standalone getStandalone();
95     
96     /**
97      * Set "standalone" attribute value.
98      * @param value new value.
99      */

100     void setStandalone( Standalone value );
101     
102     /**
103      * @return "undeclare-prefixes" attribute value
104      */

105     TBoolean getUndeclarePrefixes();
106     
107     /**
108      * Set "undeclare-prefixes" attribute value
109      * @param value new value
110      */

111     void setUndeclarePrefixes( TBoolean value );
112     
113     /**
114      * @return "indent" attribute value
115      */

116     TBoolean getIndent();
117     
118     /**
119      * Set "indent" attribute value.
120      * @param value new value
121      */

122     void setIndent( TBoolean value );
123     
124     /**
125      * @return "encoding" attribute value
126      */

127     String JavaDoc getEncoding();
128     
129     /**
130      * Set new "encoding" attribute value.
131      * @param encoding new value
132      */

133     void setEncoding( String JavaDoc encoding );
134 }
135
Popular Tags