1 /* 2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. 3 */ 4 /* 5 * Licensed to the Apache Software Foundation (ASF) under one or more 6 * contributor license agreements. See the NOTICE file distributed with 7 * this work for additional information regarding copyright ownership. 8 * The ASF licenses this file to You under the Apache License, Version 2.0 9 * (the "License"); you may not use this file except in compliance with 10 * the License. You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, 16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 * See the License for the specific language governing permissions and 18 * limitations under the License. 19 */ 20 21 package com.sun.org.apache.xalan.internal.xsltc.runtime; 22 23 import com.sun.org.apache.xalan.internal.xsltc.DOM; 24 import org.xml.sax.AttributeList; 25 26 /** 27 * @author Jacek Ambroziak 28 * @author Santiago Pericas-Geertsen 29 */ 30 @SuppressWarnings("deprecation") 31 public final class Attributes implements AttributeList { 32 private int _element; 33 private DOM _document; 34 Attributes(DOM document, int element)35 public Attributes(DOM document, int element) { 36 _element = element; 37 _document = document; 38 } 39 getLength()40 public int getLength() { 41 return 0; 42 } 43 getName(int i)44 public String getName(int i) { 45 return null; 46 } 47 getType(int i)48 public String getType(int i) { 49 return null; 50 } 51 getType(String name)52 public String getType(String name) { 53 return null; 54 } 55 getValue(int i)56 public String getValue(int i) { 57 return null; 58 } 59 getValue(String name)60 public String getValue(String name) { 61 return null; 62 } 63 } 64