1 package org.apache.axis.message; 2 3 import org.xml.sax.Attributes ; 4 5 11 public class NullAttributes implements Attributes { 12 13 public static final NullAttributes singleton = new NullAttributes(); 14 15 19 20 26 public int getLength () { 27 return 0; 28 } 29 30 31 39 public String getURI (int index) { 40 return null; 41 } 42 43 44 52 public String getLocalName (int index) { 53 return null; 54 } 55 56 57 65 public String getQName (int index) { 66 return null; 67 } 68 69 70 78 public String getType (int index) { 79 return null; 80 } 81 82 83 90 public String getValue (int index) { 91 return null; 92 } 93 94 95 108 public int getIndex (String uri, String localName) { 109 return -1; 110 } 111 112 113 120 public int getIndex (String qName) { 121 return -1; 122 } 123 124 125 135 public String getType (String uri, String localName) { 136 return null; 137 } 138 139 140 148 public String getType (String qName) { 149 return null; 150 } 151 152 153 163 public String getValue (String uri, String localName) { 164 return null; 165 } 166 167 168 176 public String getValue (String qName) { 177 return null; 178 } 179 } 180 | Popular Tags |