1 29 30 package com.caucho.quercus.lib.dom; 31 32 import org.w3c.dom.CharacterData ; 33 34 public class DOMCharacterData<T extends CharacterData > 35 extends DOMNode<T> 36 { 37 protected DOMCharacterData(DOMImplementation impl, T delegate) 38 { 39 super(impl, delegate); 40 } 41 42 public void appendData(String arg) 43 throws DOMException 44 { 45 _delegate.appendData(arg); 46 } 47 48 public void deleteData(int offset, int count) 49 throws DOMException 50 { 51 try { 52 _delegate.deleteData(offset, count); 53 } 54 catch (org.w3c.dom.DOMException ex) { 55 throw wrap(ex); 56 } 57 } 58 59 public String getData() 60 throws DOMException 61 { 62 try { 63 return _delegate.getData(); 64 } 65 catch (org.w3c.dom.DOMException ex) { 66 throw wrap(ex); 67 } 68 } 69 70 public int getLength() 71 { 72 return _delegate.getLength(); 73 } 74 75 public void insertData(int offset, String arg) 76 throws DOMException 77 { 78 try { 79 _delegate.insertData(offset, arg); 80 } 81 catch (org.w3c.dom.DOMException ex) { 82 throw wrap(ex); 83 } 84 } 85 86 public void replaceData(int offset, int count, String arg) 87 throws DOMException 88 { 89 try { 90 _delegate.replaceData(offset, count, arg); 91 } 92 catch (org.w3c.dom.DOMException ex) { 93 throw wrap(ex); 94 } 95 } 96 97 public void setData(String data) 98 throws DOMException 99 { 100 try { 101 _delegate.setData(data); 102 } 103 catch (org.w3c.dom.DOMException ex) { 104 throw wrap(ex); 105 } 106 } 107 108 public String substringData(int offset, int count) 109 throws DOMException 110 { 111 try { 112 return _delegate.substringData(offset, count); 113 } 114 catch (org.w3c.dom.DOMException ex) { 115 throw wrap(ex); 116 } 117 } 118 } 119 | Popular Tags |