KickJava   Java API By Example, From Geeks To Geeks.

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


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
21 import org.apache.taglibs.standard.tag.common.xml.ParseSupport;
22 import org.xml.sax.XMLFilter JavaDoc;
23
24 /**
25  * <p>A handler for &lt;parse&gt; that supports rtexprvalue-based
26  * attributes.</p>
27  *
28  * @author Shawn Bayern
29  */

30
31 public class ParseTag extends ParseSupport {
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     public void setSystemId(String JavaDoc systemId) throws JspTagException JavaDoc {
48     this.systemId = systemId;
49     }
50
51     // for tag attribute
52
public void setFilter(XMLFilter JavaDoc filter) throws JspTagException JavaDoc {
53     this.filter = filter;
54     }
55
56 }
57
Popular Tags