KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > taglibs > standard > tag > rt > xml > TransformTag


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.apache.taglibs.standard.tag.rt.xml;
18
19 import javax.servlet.jsp.JspTagException JavaDoc;
20 import javax.xml.transform.Result JavaDoc;
21
22 import org.apache.taglibs.standard.tag.common.xml.TransformSupport;
23
24 /**
25  * <p>A handler for &lt;transform&gt; that supports rtexprvalue-based
26  * attributes.</p>
27  *
28  * @author Shawn Bayern
29  */

30
31 public class TransformTag extends TransformSupport {
32
33     //*********************************************************************
34
// Accessor methods
35

36     // Deprecated as of JSTL 1.1
37
// for tag attribute
38
public void setXml(Object JavaDoc xml) throws JspTagException JavaDoc {
39         this.xml = xml;
40     }
41
42     // 'doc' replaces 'xml' as of JSTL 1.1
43
public void setDoc(Object JavaDoc xml) throws JspTagException JavaDoc {
44         this.xml = xml;
45     }
46
47     // Deprecated as of JSTL 1.1
48
// for tag attribute
49
public void setXmlSystemId(String JavaDoc xmlSystemId) throws JspTagException JavaDoc {
50         this.xmlSystemId = xmlSystemId;
51     }
52
53     // 'docSystemId' replaces 'xmlSystemId' as of JSTL 1.1
54
public void setDocSystemId(String JavaDoc xmlSystemId) throws JspTagException JavaDoc {
55         this.xmlSystemId = xmlSystemId;
56     }
57
58     // for tag attribute
59
public void setXslt(Object JavaDoc xslt) throws JspTagException JavaDoc {
60         this.xslt = xslt;
61     }
62
63     // for tag attribute
64
public void setXsltSystemId(String JavaDoc xsltSystemId) throws JspTagException JavaDoc {
65         this.xsltSystemId = xsltSystemId;
66     }
67
68     // for tag attribute
69
public void setResult(Result JavaDoc result) throws JspTagException JavaDoc {
70         this.result = result;
71     }
72
73 }
74
Popular Tags