From: Peter Bernard West Date: Sat, 3 Jan 2004 11:14:46 +0000 (+0000) Subject: Added getters for initialValueTypes, inherited, dataTypes and X-Git-Tag: Alt-Design_pre_awt_renderer_import~205 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9f0191ff42e1f76a780d9b79a31b8dc18cde13ab;p=xmlgraphics-fop.git 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 --- 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() {}