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 1016B

12345678910111213141516171819202122232425262728293031323334
  1. /* $Id$ --
  2. * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  3. * For details on use and redistribution please refer to the
  4. * LICENSE file included with these sources.
  5. */
  6. package org.apache.fop.datatypes;
  7. import org.apache.fop.fo.*;
  8. import org.apache.fop.messaging.MessageHandler;
  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. ToBeImplementedProperty val =
  19. new ToBeImplementedProperty(getPropName());
  20. return val;
  21. }
  22. }
  23. public ToBeImplementedProperty(String propName) {
  24. MessageHandler.errorln("Warning: property - \"" + propName + "\" is not implemented yet.");
  25. }
  26. }