1 51 package org.apache.fop.fo; 52 53 import org.apache.fop.apps.FOPException; 54 55 import org.xml.sax.Attributes ; 56 57 65 public class DirectPropertyListBuilder extends PropertyListBuilder { 66 67 public DirectPropertyListBuilder() { 68 } 69 70 public PropertyList makeList(String uri, String elementName, Attributes attributes, 71 PropertyList parentPropertyList, 72 FObj parentFO) throws FOPException { 73 AttrPropertyList ret = new AttrPropertyList(attributes); 74 return ret; 75 } 76 77 public static class AttrPropertyList extends PropertyList { 78 Attributes attributes; 79 AttrPropertyList(Attributes attr) { 80 super(null, null, null); 81 attributes = attr; 82 } 83 84 public Attributes getAttributes() { 85 return attributes; 86 } 87 } 88 } 89 | Popular Tags |