1 17 18 19 20 package org.apache.fop.render.afp.extensions; 21 22 import org.apache.fop.apps.FOPException; 23 import org.apache.fop.fo.PropertyList; 24 import org.apache.fop.fo.properties.Property; 25 import org.apache.fop.fo.properties.StringProperty; 26 27 34 public class AFPAttribute extends StringProperty.Maker { 35 36 39 private Property _property; 40 41 45 protected AFPAttribute(String name) { 46 super(0); 47 _property = null; 48 } 49 50 55 public Property make(PropertyList propertyList) { 56 if (_property == null) { 57 _property = make(propertyList, "", propertyList.getParentFObj()); 58 } 59 return _property; 60 } 61 62 } | Popular Tags |