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.TBoolean;
023:
024: /**
025: * <pre>
026: * <xs:element name="sort">
027: * <xs:complexType>
028: * <xs:complexContent mixed="true">
029: * <xs:extension base="xsl:sequence-constructor">
030: * <xs:attribute name="select" type="xsl:expression"/>
031: * <xs:attribute name="lang" type="xsl:avt"/>
032: * <xs:attribute name="data-type" type="xsl:avt" default="text"/>
033: * <xs:attribute name="order" type="xsl:avt" default="ascending"/>
034: * <xs:attribute name="case-order" type="xsl:avt"/>
035: * <xs:attribute name="collation" type="xsl:avt"/>
036: * <xs:attribute name="stable" type="xsl:yes-or-no"/>
037: * </xs:extension>
038: * </xs:complexContent>
039: * </xs:complexType>
040: * </xs:element>
041: * </pre>
042: *
043: * @author ads
044: *
045: */
046: public interface Sort extends ApplyTemplateChild, SelectSpec,
047: SequenceConstructor, LangSpec, CollationSpec {
048:
049: String STABLE = "stable"; // NOI18N
050:
051: String ORDER = "order"; // NOI18N
052:
053: String CASE_ORDER = "case-order"; // NOI18N
054:
055: String DATA_TYPE = "data-type"; // NOI18N
056:
057: /**
058: * @return "stable" attribute value
059: */
060: TBoolean getStable();
061:
062: /**
063: * Set "stable" attribute value.
064: * @param value new value
065: */
066: void setStable(TBoolean value);
067:
068: /**
069: * @return "order" attribute value
070: */
071: AttributeValueTemplate getOrder();
072:
073: /**
074: * Set "order" attribute value.
075: * @param value new value
076: */
077: void setOrder(AttributeValueTemplate value);
078:
079: /**
080: * @return "data-type" attribute value
081: */
082: AttributeValueTemplate getDataType();
083:
084: /**
085: * Set "data-type" attribute value.
086: * @param value new value
087: */
088: void setDataType(AttributeValueTemplate value);
089:
090: /**
091: * @return "case-order" attribute value
092: */
093: AttributeValueTemplate getCaseOrder();
094:
095: /**
096: * Set "case-order" attribute value.
097: * @param value new value
098: */
099: void setCaseOrder(AttributeValueTemplate value);
100: }
|