1 17 18 19 20 package org.apache.fop.fo.properties; 21 22 import org.apache.fop.fo.Constants; 23 import org.apache.fop.fo.PropertyList; 24 import org.apache.fop.fo.expr.PropertyException; 25 26 31 public class CommonAccessibility { 32 35 public String sourceDoc = null; 36 37 40 public String role = null; 41 42 46 public CommonAccessibility(PropertyList pList) throws PropertyException { 47 sourceDoc = pList.get(Constants.PR_SOURCE_DOCUMENT).getString(); 48 if ("none".equals(sourceDoc)) { 49 sourceDoc = null; 50 } 51 role = pList.get(Constants.PR_ROLE).getString(); 52 if ("none".equals(role)) { 53 role = null; 54 } 55 56 } 57 58 59 } 60 | Popular Tags |