1 17 18 19 20 package org.apache.fop.fo.properties; 21 22 import java.util.List ; 23 import java.awt.Color ; 24 25 import org.apache.commons.logging.Log; 26 import org.apache.commons.logging.LogFactory; 27 28 import org.apache.fop.apps.FOUserAgent; 29 import org.apache.fop.datatypes.Length; 30 import org.apache.fop.datatypes.Numeric; 31 import org.apache.fop.fo.Constants; 32 33 36 public class Property { 37 38 39 protected static Log log = LogFactory.getLog(PropertyMaker.class); 40 41 45 private String specVal; 46 47 51 public void setSpecifiedValue(String value) { 52 this.specVal = value; 53 } 54 55 59 public String getSpecifiedValue() { 60 return specVal; 61 } 62 63 66 67 68 72 public Length getLength() { 73 return null; 74 } 75 76 81 public Color getColor(FOUserAgent foUserAgent) { 82 return null; 83 } 84 85 89 public CondLengthProperty getCondLength() { 90 return null; 91 } 92 93 97 public LengthRangeProperty getLengthRange() { 98 return null; 99 } 100 101 105 public LengthPairProperty getLengthPair() { 106 return null; 107 } 108 109 113 public SpaceProperty getSpace() { 114 return null; 115 } 116 117 121 public KeepProperty getKeep() { 122 return null; 123 } 124 125 129 public int getEnum() { 130 return 0; 131 } 132 133 134 public boolean isAuto() { 135 return (getEnum() == Constants.EN_AUTO); 136 } 137 138 142 public char getCharacter() { 143 return 0; 144 } 145 146 150 public List getList() { 151 return null; 152 } 153 154 158 public Number getNumber() { 159 return null; 160 } 161 162 166 public Numeric getNumeric() { 167 return null; 168 } 169 170 174 public String getNCname() { 175 return null; 176 } 177 178 182 public Object getObject() { 183 return null; 184 } 185 186 190 public String getString() { 191 return null; 192 } 193 194 195 public String toString() { 196 Object obj = getObject(); 197 if (obj != this) { 198 return obj.toString(); 199 } 200 return null; 201 } 202 } 203 | Popular Tags |