1 29 30 package com.caucho.quercus.lib.dom; 31 32 import com.caucho.quercus.annotation.Optional; 33 import com.caucho.quercus.env.Env; 34 35 import org.w3c.dom.Comment ; 36 37 public class DOMComment 38 extends DOMCharacterData<Comment > 39 { 40 public static DOMComment __construct(Env env, @Optional String value) 41 { 42 DOMComment comment = getImpl(env).createComment(); 43 44 if (value != null && value.length() > 0) 45 comment.setNodeValue(value); 46 47 return comment; 48 } 49 50 DOMComment(DOMImplementation impl, Comment delegate) 51 { 52 super(impl, delegate); 53 } 54 55 56 } 58 | Popular Tags |