1 17 18 19 20 package org.apache.fop.area.inline; 21 22 import org.apache.fop.area.Area; 23 24 import org.w3c.dom.Document ; 25 26 32 public class ForeignObject extends Area { 33 34 private Document doc; 35 private String namespace; 36 37 43 public ForeignObject(Document d, String ns) { 44 doc = d; 45 namespace = ns; 46 } 47 48 53 public ForeignObject(String ns) { 54 namespace = ns; 55 } 56 57 61 public void setDocument(Document document) { 62 this.doc = document; 63 } 64 65 70 public Document getDocument() { 71 return doc; 72 } 73 74 79 public String getNameSpace() { 80 return namespace; 81 } 82 } 83 84 | Popular Tags |