You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ToBeImplementedProperty.java 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * $Id$ --
  3. * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved.
  4. * For details on use and redistribution please refer to the
  5. * LICENSE file included with these sources.
  6. */
  7. package org.apache.fop.datatypes;
  8. import org.apache.fop.fo.*;
  9. public class ToBeImplementedProperty extends Property {
  10. public static class Maker extends Property.Maker {
  11. public Maker(String propName) {
  12. super(propName);
  13. }
  14. public Property convertProperty(Property p,
  15. PropertyList propertyList, FObj fo) {
  16. if (p instanceof ToBeImplementedProperty) {
  17. return p;
  18. }
  19. ToBeImplementedProperty val =
  20. new ToBeImplementedProperty(getPropName());
  21. return val;
  22. }
  23. }
  24. public ToBeImplementedProperty(String propName) {
  25. //XXX: (mjg@recalldesign.com) This is a bit of a kluge, perhaps an
  26. //UnimplementedPropertyException or something similar should
  27. //get thrown here instead.
  28. // Logger log = Hierarchy.getDefaultHierarchy().getLoggerFor("fop");
  29. // log.warn("property - \"" + propName
  30. // + "\" is not implemented yet.");
  31. }
  32. }