From 9f0191ff42e1f76a780d9b79a31b8dc18cde13ab Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Sat, 3 Jan 2004 11:14:46 +0000 Subject: [PATCH] Added getters for initialValueTypes, inherited, dataTypes and 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 --- .../apache/fop/fo/properties/Property.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/java/org/apache/fop/fo/properties/Property.java b/src/java/org/apache/fop/fo/properties/Property.java index 65b47e7cf..2f3c567d9 100644 --- a/src/java/org/apache/fop/fo/properties/Property.java +++ b/src/java/org/apache/fop/fo/properties/Property.java @@ -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() {} -- 2.39.5