1 57 58 package com.sun.org.apache.xerces.internal.impl.xs.opti; 59 60 import org.w3c.dom.Text ; 61 import org.w3c.dom.DOMException ; 62 63 67 89 public class DefaultText extends NodeImpl implements Text { 90 91 93 108 public String getData() 109 throws DOMException { 110 return null; 111 } 112 113 128 public void setData(String data) 129 throws DOMException { 130 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 131 } 132 133 138 public int getLength() { 139 return 0; 140 } 141 142 157 public String substringData(int offset, 158 int count) 159 throws DOMException { 160 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 161 } 162 163 171 public void appendData(String arg) 172 throws DOMException { 173 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 174 } 175 176 186 public void insertData(int offset, 187 String arg) 188 throws DOMException { 189 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 190 } 191 192 207 public void deleteData(int offset, 208 int count) 209 throws DOMException { 210 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 211 } 212 213 232 public void replaceData(int offset, 233 int count, 234 String arg) 235 throws DOMException { 236 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 237 } 238 239 257 public Text splitText(int offset) 258 throws DOMException { 259 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 260 } 261 262 public boolean isWhitespaceInElementContent() { 263 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 264 } 265 266 267 public boolean isElementContentWhitespace(){ 268 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 269 } 270 271 public String getWholeText() { 272 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 273 } 274 275 public Text replaceWholeText(String content) 276 throws DOMException { 277 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 278 } 279 280 281 } 282 | Popular Tags |