]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added getters for initialValueTypes, inherited, dataTypes and
authorPeter Bernard West <pbwest@apache.org>
Sat, 3 Jan 2004 11:14:46 +0000 (11:14 +0000)
committerPeter Bernard West <pbwest@apache.org>
Sat, 3 Jan 2004 11:14:46 +0000 (11:14 +0000)
traitMapping, so that these methods can be overridden in
subclasses of Property.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197103 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/properties/Property.java

index 65b47e7cf70c411f2b2f2684e4f9759c9bec89c5..2f3c567d9a163728c847805789a609d50f97f9f2 100644 (file)
@@ -252,9 +252,28 @@ public /*abstract*/ class Property {
                               ;
 
     public static final int dataTypes = NOTYPE;
+
+    public int getDataTypes() {
+        return dataTypes;
+    }
     public static final int initialValueType = NOTYPE_IT;
+
+    public int getInitialValueType() {
+        return initialValueType;
+    }
+    
     public static final int inherited = NO;
 
+    public int getInherited() {
+        return inherited;
+    }
+    
+    private static final int traitMapping = NO_TRAIT;
+    
+    public int getTraitMapping() {
+        return traitMapping;
+    }
+
     public static Map enumHash = null;
 
     public Property() {}