1 package net.sf.saxon.om; 2 3 import net.sf.saxon.Configuration; 4 5 9 10 public class VirtualDocumentCopy extends VirtualCopy implements DocumentInfo { 11 12 public VirtualDocumentCopy(DocumentInfo base) { 13 super(base); 14 } 15 16 22 23 public void setConfiguration(Configuration config) { 24 } 26 27 35 36 public NodeInfo selectID(String id) { 37 NodeInfo n = ((DocumentInfo)original).selectID(id); 38 if (n == null) { 39 return null; 40 } 41 VirtualCopy vc = VirtualCopy.makeVirtualCopy(n, original); 42 vc.documentNumber = documentNumber; 43 return vc; 44 } 45 46 55 56 public String [] getUnparsedEntity(String name) { 57 return ((DocumentInfo)original).getUnparsedEntity(name); 58 } 59 } 60 61 79 | Popular Tags |