1 18 package org.apache.batik.dom; 19 20 import org.w3c.dom.Node ; 21 22 28 public class GenericDocumentFragment extends AbstractDocumentFragment { 29 32 protected boolean readonly; 33 34 37 protected GenericDocumentFragment() { 38 } 39 40 43 public GenericDocumentFragment(AbstractDocument owner) { 44 ownerDocument = owner; 45 } 46 47 50 public boolean isReadonly() { 51 return readonly; 52 } 53 54 57 public void setReadonly(boolean v) { 58 readonly = v; 59 } 60 61 64 protected Node newNode() { 65 return new GenericDocumentFragment(); 66 } 67 } 68 | Popular Tags |