001: /*
002: * The contents of this file are subject to the terms of the Common Development
003: * and Distribution License (the License). You may not use this file except in
004: * compliance with the License.
005: *
006: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
007: * or http://www.netbeans.org/cddl.txt.
008: *
009: * When distributing Covered Code, include this CDDL Header Notice in each file
010: * and include the License file at http://www.netbeans.org/cddl.txt.
011: * If applicable, add the following below the CDDL Header, with the fields
012: * enclosed by brackets [] replaced by your own identifying information:
013: * "Portions Copyrighted [year] [name of copyright owner]"
014: *
015: * The Original Software is NetBeans. The Initial Developer of the Original
016: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
017: * Microsystems, Inc. All Rights Reserved.
018: */
019:
020: package org.netbeans.modules.xslt.model;
021:
022: import org.netbeans.modules.xslt.model.enums.Standalone;
023: import org.netbeans.modules.xslt.model.enums.TBoolean;
024:
025: /**
026: * <pre>
027: * <xs:element name="output" substitutionGroup="xsl:declaration">
028: * <xs:complexType>
029: * <xs:complexContent mixed="true">
030: * <xs:extension base="xsl:generic-element-type">
031: * <xs:attribute name="name" type="xsl:QName"/>
032: * <xs:attribute name="method" type="xsl:method"/>
033: * <xs:attribute name="byte-order-mark" type="xsl:yes-or-no"/>
034: * <xs:attribute name="cdata-section-elements" type="xsl:QNames"/>
035: * <xs:attribute name="doctype-public" type="xs:string"/>
036: * <xs:attribute name="doctype-system" type="xs:string"/>
037: * <xs:attribute name="encoding" type="xs:string"/>
038: * <xs:attribute name="escape-uri-attributes" type="xsl:yes-or-no"/>
039: * <xs:attribute name="include-content-type" type="xsl:yes-or-no"/>
040: * <xs:attribute name="indent" type="xsl:yes-or-no"/>
041: * <xs:attribute name="media-type" type="xs:string"/>
042: * <xs:attribute name="normalization-form" type="xs:NMTOKEN"/>
043: * <xs:attribute name="omit-xml-declaration" type="xsl:yes-or-no"/>
044: * <xs:attribute name="standalone" type="xsl:yes-or-no-or-omit"/>
045: * <xs:attribute name="undeclare-prefixes" type="xsl:yes-or-no"/>
046: * <xs:attribute name="use-character-maps" type="xsl:QNames"/>
047: * <xs:attribute name="version" type="xs:NMTOKEN"/>
048: * </xs:extension>
049: * </xs:complexContent>
050: * </xs:complexType>
051: * </xs:element>
052: * </pre>
053: *
054: * @author ads
055: *
056: */
057: public interface Output extends QualifiedNameable, ContentElement,
058: Declaration, UseCharacterMapsSpec {
059: String STANDALONE = "standalone"; // NOI18N
060:
061: String UNDECLARE_PREFIXES = "undeclare-prefixes"; // NOI18N
062:
063: String METHOD = "method"; // NOI18N
064:
065: String INDENT = "indent"; // NOI18N
066:
067: String ENCODING = "encoding"; // NOI18N
068:
069: String BYTE_ORDER_MARK = "byte-order-mark"; // NOI18N
070:
071: String CDATA_SECTION_ELEMENTS = "cdata-section-elements"; // NOI18N
072:
073: String DOCTYPE_PUBLIC = "doctype-public"; // NOI18N
074:
075: String DOCTYPE_SYSTEM = "doctype-system"; // NOI18N
076:
077: String ESCAPE_URI_ATTRIBUTES = "escape-uri-attributes"; // NOI18N
078:
079: String INCLUDE_CONTENT_TYPE = "include-content-type"; // NOI18N
080:
081: String MEDIA_TYPE = "media-type"; // NOI18N
082:
083: String NORMALIZATION_FORM = "normalization-form"; // NOI18N
084:
085: String OMIT_XML_DECLARATION = "omit-xml-declaration"; // NOI18N
086:
087: String VERSION = Stylesheet.VERSION;
088:
089: /**
090: * @return "standalone" attribute value
091: */
092: Standalone getStandalone();
093:
094: /**
095: * Set "standalone" attribute value.
096: * @param value new value.
097: */
098: void setStandalone(Standalone value);
099:
100: /**
101: * @return "undeclare-prefixes" attribute value
102: */
103: TBoolean getUndeclarePrefixes();
104:
105: /**
106: * Set "undeclare-prefixes" attribute value
107: * @param value new value
108: */
109: void setUndeclarePrefixes(TBoolean value);
110:
111: /**
112: * @return "indent" attribute value
113: */
114: TBoolean getIndent();
115:
116: /**
117: * Set "indent" attribute value.
118: * @param value new value
119: */
120: void setIndent(TBoolean value);
121:
122: /**
123: * @return "encoding" attribute value
124: */
125: String getEncoding();
126:
127: /**
128: * Set new "encoding" attribute value.
129: * @param encoding new value
130: */
131: void setEncoding(String encoding);
132: }
|