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.xml.xam.dom.ComponentFactory;
023:
024: /**
025: * Factory for Xsl components.
026: *
027: * @author ads
028: *
029: */
030: public interface XslComponentFactory extends
031: ComponentFactory<XslComponent> {
032:
033: /**
034: * @return instantiated "apply-templates" component.
035: */
036: ApplyTemplates createApplyTemplates();
037:
038: /**
039: * @return instantiated "attribute" component.
040: */
041: Attribute createAttribute();
042:
043: /**
044: * @return instantiated "attribute-set" component.
045: */
046: AttributeSet createAttributeSet();
047:
048: /**
049: * @return instantiated "call-template" component.
050: */
051: CallTemplate createCallTemplate();
052:
053: /**
054: * @return instantiated "choose" component.
055: */
056: Choose createChoose();
057:
058: /**
059: * @return instantiated "copy" component.
060: */
061: Copy createCopy();
062:
063: /**
064: * @return instantiated "copy-of" component.
065: */
066: CopyOf createCopyOf();
067:
068: /**
069: * @return instantiated "document" component.
070: */
071: Document createDocument();
072:
073: /**
074: * @return instantiated "element" component.
075: */
076: Element createElement();
077:
078: /**
079: * @return instantiated "for-each" component.
080: */
081: ForEach createForEach();
082:
083: /**
084: * @return instantiated "if" component.
085: */
086: If createIf();
087:
088: /**
089: * @return instantiated "import" component.
090: */
091: Import createImport();
092:
093: /**
094: * @return instantiated "include" component.
095: */
096: Include createInclude();
097:
098: /**
099: * @return instantiated "key" component.
100: */
101: Key createKey();
102:
103: /**
104: * @return instantiated non-xslt element result compoenent.
105: */
106: LiteralResultElement createLiteralResultElement(String name,
107: String namespaceUri);
108:
109: /**
110: * @return instantiated "namespace" component.
111: */
112: Namespace createNamespace();
113:
114: /**
115: * @return instantiated "number" component.
116: */
117: Number createNumber();
118:
119: /**
120: * @return instantiated "otherwise" component.
121: */
122: Otherwise createOtherwise();
123:
124: /**
125: * @return instantiated "output" component.
126: */
127: Output createOutput();
128:
129: /**
130: * @return instantiated "param" component.
131: */
132: Param createParam();
133:
134: /**
135: * @return instantiated "sequence" component.
136: */
137: Sequence createSequence();
138:
139: /**
140: * @return instantiated "sort" component.
141: */
142: Sort createSort();
143:
144: /**
145: * @return instantiated "stylesheet" component.
146: */
147: Stylesheet createStylesheet();
148:
149: /**
150: * @return instantiated "template" component.
151: */
152: Template createTemplate();
153:
154: /**
155: * @return instantiated "text" component.
156: */
157: Text createText();
158:
159: /**
160: * @return instantiated "value-of" component.
161: */
162: ValueOf createValueOf();
163:
164: /**
165: * @return instantiated "variable" component.
166: */
167: Variable createVariable();
168:
169: /**
170: * @return instantiated "when" component.
171: */
172: When createWhen();
173:
174: }
|