01: /*
02: * Copyright 2001-2004 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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: Attributes.java,v 1.4 2004/02/16 22:55:54 minchau Exp $
18: */
19:
20: package org.apache.xalan.xsltc.runtime;
21:
22: import org.apache.xalan.xsltc.DOM;
23: import org.xml.sax.AttributeList;
24:
25: /**
26: * @author Jacek Ambroziak
27: * @author Santiago Pericas-Geertsen
28: */
29: public final class Attributes implements AttributeList {
30: private int _element;
31: private DOM _document;
32:
33: public Attributes(DOM document, int element) {
34: _element = element;
35: _document = document;
36: }
37:
38: public int getLength() {
39: return 0;
40: }
41:
42: public String getName(int i) {
43: return null;
44: }
45:
46: public String getType(int i) {
47: return null;
48: }
49:
50: public String getType(String name) {
51: return null;
52: }
53:
54: public String getValue(int i) {
55: return null;
56: }
57:
58: public String getValue(String name) {
59: return null;
60: }
61: }
|