import java.util.BitSet;
import java.util.HashMap;
import java.util.Iterator;
+import java.util.logging.Logger;
import org.apache.fop.apps.FOPException;
import org.apache.fop.datastructs.Node;
import org.apache.fop.fo.expr.PropertyParser;
import org.apache.fop.fo.flow.FoMarker;
import org.apache.fop.fo.properties.Property;
-import org.apache.fop.messaging.MessageHandler;
import org.apache.fop.xml.FoXmlEvent;
import org.apache.fop.xml.XmlEvent;
import org.apache.fop.xml.Namespaces;
private static final String tag = "$Name: $";
private static final String revision = "$Revision: 1.19.2.33 $";
+ protected static final Logger logger = Logger.getLogger("org.apache.fop");
/**
* State flags: a bit set of states applicable during FO tree build.
* N.B. States must be powers of 2.
int property;
int prop = foKeys[propx].intValue();
if ( ! attrBitSet.get(prop)) {
- MessageHandler.logln("Ignoring "
+ logger.info("Ignoring "
+ PropNames.getPropertyName(prop)
+ " on "
+ FObjectNames.getFOName(type)
}
}
} catch (FunctionNotImplementedException e) {
- MessageHandler.logln
+ logger.info
("Function not implemented: " + e.getMessage()
+ ". Ignoring property '"
+ PropNames.getPropertyName(prop) + "'.");
} catch (PropertyException e) {
- MessageHandler.logln
+ logger.info
("Problem with '" + PropNames.getPropertyName(prop)
+ "':\n" + e.getMessage() + "\nIgnoring property.");
}