// FOP
import org.apache.fop.apps.FOPException;
-import org.apache.fop.fo.Property.*;
+import org.apache.fop.fo.Property.Maker;
public class PropertyListBuilder {
* properties.
* @return PropertyList object containing collection of Properties objects
* appropriate for the FObj
- * @throws FOPException
+ * @throws FOPException If an error occurs while building the PropertyList
*/
public PropertyList makeList(String nameSpaceURI, String elementName,
Attributes attributes,
Property prop = null;
if (subPropertyName == null) {
prop = propertyMaker.make(propList, attributeValue, parentFO);
- }
- else {
+ } else {
Property baseProperty = findBaseProperty(attributes, propList,
parentFO, basePropertyName, propertyMaker);
prop = propertyMaker.make(baseProperty, subPropertyName,
if (prop != null) {
propList.put(basePropertyName, prop);
}
- }
- catch (FOPException e) {
+ } catch (FOPException e) {
/**@todo log this exception */
// log.error(e.getMessage());
}