1 29 30 package com.caucho.quercus.lib.dom; 31 32 import org.w3c.dom.CDATASection ; 33 34 public class DOMCDATASection 35 extends DOMCharacterData<CDATASection > 36 { 37 DOMCDATASection(DOMImplementation impl, CDATASection delegate) 38 { 39 super(impl, delegate); 40 } 41 42 public String getWholeText() 43 { 44 return _delegate.getWholeText(); 45 } 46 47 public boolean isElementContentWhitespace() 48 { 49 return _delegate.isElementContentWhitespace(); 50 } 51 52 public boolean isWhitespaceInElementContent() 53 { 54 return _delegate.isElementContentWhitespace(); 55 } 56 57 public DOMText replaceWholeText(String content) 58 throws DOMException 59 { 60 try { 61 return wrap(_delegate.replaceWholeText(content)); 62 } 63 catch (org.w3c.dom.DOMException ex) { 64 throw wrap(ex); 65 } 66 } 67 68 public DOMText splitText(int offset) 69 throws DOMException 70 { 71 try { 72 return wrap(_delegate.splitText(offset)); 73 } 74 catch (org.w3c.dom.DOMException ex) { 75 throw wrap(ex); 76 } 77 } 78 } 79 | Popular Tags |