KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > xalan > transformer > ResultNameSpace


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  * $Id: ResultNameSpace.java,v 1.6 2004/02/16 20:41:30 minchau Exp $
18  */

19 package org.apache.xalan.transformer;
20
21 /**
22  * A representation of a result namespace. One of these will
23  * be pushed on the result tree namespace stack for each
24  * result tree element.
25  * @xsl.usage internal
26  */

27 public class ResultNameSpace
28 {
29
30   /** Pointer to next ResultNameSpace */
31   public ResultNameSpace m_next = null;
32
33   /** Prefix of namespace */
34   public String JavaDoc m_prefix;
35
36   /** Namespace URI */
37   public String JavaDoc m_uri; // if null, then Element namespace is empty.
38

39   /**
40    * Construct a namespace for placement on the
41    * result tree namespace stack.
42    *
43    * @param prefix of result namespace
44    * @param uri URI of result namespace
45    */

46   public ResultNameSpace(String JavaDoc prefix, String JavaDoc uri)
47   {
48     m_prefix = prefix;
49     m_uri = uri;
50   }
51 }
52
Popular Tags