1 21 24 package org.lobobrowser.html.domimpl; 25 26 import org.w3c.dom.DOMException ; 27 import org.w3c.dom.DocumentFragment ; 28 import org.w3c.dom.Node ; 29 30 public class DocumentFragmentImpl extends NodeImpl implements DocumentFragment { 31 public DocumentFragmentImpl() { 32 super(); 33 } 34 35 public String getLocalName() { 36 return null; 37 } 38 39 public String getNodeName() { 40 return "#document-fragment"; 41 } 42 43 public String getNodeValue() throws DOMException { 44 return null; 45 } 46 47 public void setNodeValue(String nodeValue) throws DOMException { 48 } 49 50 public short getNodeType() { 51 return org.w3c.dom.Node.DOCUMENT_FRAGMENT_NODE; 52 } 53 54 protected Node createSimilarNode() { 55 return new DocumentFragmentImpl(); 56 } 57 } 58 | Popular Tags |