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: package org.netbeans.modules.xslt.model;
020:
021: /**
022: * <pre>
023: * <xs:element name="result-document" substitutionGroup="xsl:instruction">
024: * <xs:complexType>
025: * <xs:complexContent mixed="true">
026: * <xs:extension base="xsl:sequence-constructor">
027: * <xs:attribute name="format" type="xsl:avt"/>
028: * <xs:attribute name="href" type="xsl:avt"/>
029: * <xs:attribute name="type" type="xsl:QName"/>
030: * <xs:attribute name="validation" type="xsl:validation-type"/>
031: * <xs:attribute name="method" type="xsl:avt"/>
032: * <xs:attribute name="byte-order-mark" type="xsl:avt"/>
033: * <xs:attribute name="cdata-section-elements" type="xsl:avt"/>
034: * <xs:attribute name="doctype-public" type="xsl:avt"/>
035: * <xs:attribute name="doctype-system" type="xsl:avt"/>
036: * <xs:attribute name="encoding" type="xsl:avt"/>
037: * <xs:attribute name="escape-uri-attributes" type="xsl:avt"/>
038: * <xs:attribute name="include-content-type" type="xsl:avt"/>
039: * <xs:attribute name="indent" type="xsl:avt"/>
040: * <xs:attribute name="media-type" type="xsl:avt"/>
041: * <xs:attribute name="normalization-form" type="xsl:avt"/>
042: * <xs:attribute name="omit-xml-declaration" type="xsl:avt"/>
043: * <xs:attribute name="standalone" type="xsl:avt"/>
044: * <xs:attribute name="undeclare-prefixes" type="xsl:avt"/>
045: * <xs:attribute name="use-character-maps" type="xsl:QNames"/>
046: * <xs:attribute name="output-version" type="xsl:avt"/>
047: * </xs:extension>
048: * </xs:complexContent>
049: * </xs:complexType>
050: * </xs:element>
051: * </pre>
052: * @author ads
053: *
054: */
055: public interface ResultDocument extends Instruction,
056: SequenceConstructor, TypeSpec, ValidationSpec,
057: UseCharacterMapsSpec, FormatSpec {
058: String STANDALONE = Output.STANDALONE;
059:
060: String UNDECLARE_PREFIXES = Output.UNDECLARE_PREFIXES;
061:
062: String HREF = XslModelReference.HREF;
063:
064: String METHOD = Output.METHOD;
065:
066: String INDENT = Output.INDENT;
067:
068: String ENCODING = Output.ENCODING;
069:
070: String BYTE_ORDER_MARK = Output.BYTE_ORDER_MARK;
071:
072: String CDATA_SECTION_ELEMENTS = Output.CDATA_SECTION_ELEMENTS;
073:
074: String DOCTYPE_PUBLIC = Output.DOCTYPE_PUBLIC;
075:
076: String DOCTYPE_SYSTEM = Output.DOCTYPE_SYSTEM;
077:
078: String ESCAPE_URI_ATTRIBUTES = Output.ESCAPE_URI_ATTRIBUTES;
079:
080: String INCLUDE_CONTENT_TYPE = Output.INCLUDE_CONTENT_TYPE;
081:
082: String MEDIA_TYPE = Output.MEDIA_TYPE;
083:
084: String NORMALIZATION_FORM = Output.NORMALIZATION_FORM;
085:
086: String OMIT_XML_DECLARATION = Output.OMIT_XML_DECLARATION;
087:
088: String OUTPUT_VERSION = "output-version"; // NOI18N
089:
090: /**
091: * @return "standalone" attribute value
092: */
093: AttributeValueTemplate getStandalone();
094:
095: /**
096: * Set "standalone" attribute value.
097: * @param avt new value
098: */
099: void setStandalone(AttributeValueTemplate avt);
100:
101: /**
102: * @return "undeclare-prefixes" attribute value
103: */
104: AttributeValueTemplate getUndeclarePrefixes();
105:
106: /**
107: * Set "undeclare-prefixes" attribute value.
108: * @param avt new value
109: */
110: void setUndeclarePrefixes(AttributeValueTemplate avt);
111:
112: /**
113: * @return "href" attribute value
114: */
115: AttributeValueTemplate getHref();
116:
117: /**
118: * Set "href" attribute value.
119: * @param avt new value
120: */
121: void setHref(AttributeValueTemplate avt);
122:
123: /**
124: * @return "method" attribute value
125: */
126: AttributeValueTemplate getMethod();
127:
128: /**
129: * Set "method" attribute value.
130: * @param avt new value
131: */
132: void setMethod(AttributeValueTemplate avt);
133:
134: /**
135: * @return "indent" attribute value
136: */
137: AttributeValueTemplate getIndent();
138:
139: /**
140: * Set "indent" attribute value.
141: * @param avt new value
142: */
143: void setIndent(AttributeValueTemplate avt);
144:
145: /**
146: * @return "encoding" attribute value
147: */
148: AttributeValueTemplate getEncoding();
149:
150: /**
151: * Set "encoding" attribute value.
152: * @param avt new value
153: */
154: void setEncoding(AttributeValueTemplate avt);
155:
156: }
|