1 16 17 package org.apache.xerces.impl.xs.opti; 18 19 import org.w3c.dom.Text ; 20 import org.w3c.dom.DOMException ; 21 22 26 50 public class DefaultText extends NodeImpl implements Text { 51 52 54 69 public String getData() 70 throws DOMException { 71 return null; 72 } 73 74 89 public void setData(String data) 90 throws DOMException { 91 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 92 } 93 94 99 public int getLength() { 100 return 0; 101 } 102 103 118 public String substringData(int offset, 119 int count) 120 throws DOMException { 121 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 122 } 123 124 132 public void appendData(String arg) 133 throws DOMException { 134 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 135 } 136 137 147 public void insertData(int offset, 148 String arg) 149 throws DOMException { 150 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 151 } 152 153 168 public void deleteData(int offset, 169 int count) 170 throws DOMException { 171 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 172 } 173 174 193 public void replaceData(int offset, 194 int count, 195 String arg) 196 throws DOMException { 197 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 198 } 199 200 218 public Text splitText(int offset) 219 throws DOMException { 220 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 221 } 222 223 224 public boolean isElementContentWhitespace(){ 225 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 226 } 227 228 public String getWholeText(){ 229 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 230 } 231 232 public Text replaceWholeText(String content) throws DOMException { 233 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 234 } 235 } 236 | Popular Tags |