1 51 package org.apache.fop.fo; 52 53 import org.apache.fop.layout.*; 55 import org.apache.fop.apps.FOPException; 56 57 63 public class Unknown extends FObj { 64 65 public static class Maker extends FObj.Maker { 66 public FObj make(FObj parent, PropertyList propertyList, 67 String systemId, int line, int column) 68 throws FOPException { 69 return new Unknown(parent, propertyList, systemId, line, column); 70 } 71 72 } 73 74 public static FObj.Maker maker() { 75 return new Unknown.Maker(); 76 } 77 78 protected Unknown(FObj parent, PropertyList propertyList, 79 String systemId, int line, int column) 80 throws FOPException { 81 super(parent, propertyList, systemId, line, column); 82 } 83 84 public String getName() { 85 return "(unknown)"; 86 } 87 88 public int layout(Area area) throws FOPException { 89 log.debug("Layout Unknown element"); 90 return Status.OK; 91 } 92 } 93 | Popular Tags |