,COLOR_TRANS = 67108864
,MIMETYPE = 134217728
,FONTSET = 268435456
- // ,SPARE = 536870912
+ ,COMPOUND = 536870912
// ,SPARE = 1073741824
// ,SPARE = -2147483648
// A number of questions are unresolved about the interaction of
// complex parsing, property expression parsing & property validation.
- // At this time (2002/07/03) it looks as though the verifyParsing() method
+ // At this time (2002/07/03) it looks as though the refineParsing() method
// will take full validation responsibility, so it will not be
// necessary to specify any individual datatypes besides COMPLEX in the
// property dataTypes field. This renders some such specifications
NO = 0
,COMPUTED = 1
,SPECIFIED = 2
- ,COMPOUND = 3
- ,SHORTHAND_INH = 4
- ,VALUE_SPECIFIC = 5
+ ,VALUE_SPECIFIC = 3
;
/**
- * Constant for nested <tt>verifyParsing</tt> methods
+ * Derive inherited value for the given property.
+ * This method must be shadowed by properties with special requirements.
+ * @param foTree the <tt>FOTree</tt> being built
+ * @param property the <tt>int</tt> property index
+ * @return <tt>PropertyValue</tt> the inherited property value for the
+ * property. It contains the inherited <i>computed</i> value, and no
+ * <i>specified</i> value.
+ * @exception <tt>PropertyException</tt>
+ */
+ public static PropertyValue inheritance(FOTree foTree, int property)
+ throws PropertyException
+ {
+ // Is it inherited?
+ return foTree.getCurrentInherited(property);
+ }
+
+ /**
+ * Constant for nested <tt>refineParsing</tt> methods
*/
public static boolean IS_NESTED = true;
/**
- * Constant for non-nested <tt>verifyParsing</tt> methods
+ * Constant for non-nested <tt>refineParsing</tt> methods
*/
public static boolean NOT_NESTED = false;
* 1) PropertyTokenizer<br>
* 2) PropertyParser - returns context-free <tt>PropertyValue</tt>s
* recognizable by the parser<br>
- * 3) verifyParsing - verifies results from parser, translates
+ * 3) refineParsing - verifies results from parser, translates
* property types like NCName into more specific value types,
* resolves enumeration types, etc.<br>
*
* @param foTree the <tt>FOTree</tt> being built
* @param value <tt>PropertyValue</tt> returned by the parser
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
- return verifyParsing(foTree, value, NOT_NESTED);
+ return refineParsing(foTree, value, NOT_NESTED);
}
/**
- * Do the work for the two argument verifyParsing method.
+ * Do the work for the two argument refineParsing method.
* @param foTree the <tt>FOTree</tt> being built
* @param value <tt>PropertyValue</tt> returned by the parser
* @param nested <tt>boolean</tt> indicating whether this method is
- * called normally (false), or as part of another <i>verifyParsing</i>
+ * called normally (false), or as part of another <i>refineParsing</i>
* method.
- * @see #verifyParsing(FOTree,PropertyValue)
+ * @see #refineParsing(FOTree,PropertyValue)
*/
- protected static PropertyValue verifyParsing
+ protected static PropertyValue refineParsing
(FOTree foTree, PropertyValue value, boolean nested)
throws PropertyException
{
// Some instances of 'none' are part of an enumeration, but
// the parser will find and return 'none' as a None
// PropertyValue.
- // In these cases, the individual property's verifyParsing
+ // In these cases, the individual property's refineParsing
// method must shadow this method.
if ((datatype & NONE) != 0) return value;
throw new PropertyException("'none' invalid for " + propName);
}
}
throw new PropertyException
- ("Inappropriate datatype passed to Properties.verifyParsing: "
+ ("Inappropriate datatype passed to Properties.refineParsing: "
+ value.getClass().getName());
}
* a BackgroundPositionHorizontal Numeric or Inherit value
* a BackgroundPositionVertical Numeric or Inherit value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
MessageHandler.log("background: duplicate" +
"position overrides previous position");
if (tmpval == null)
- position = BackgroundPosition.verifyParsing
+ position = BackgroundPosition.refineParsing
(foTree, pval, IS_NESTED);
else { // 2 elements
// make a space-separated list
PropertyValueList ssList = new PropertyValueList
(PropNames.BACKGROUND_POSITION);
ssList.add(posnList);
- position = BackgroundPosition.verifyParsing
+ position = BackgroundPosition.refineParsing
(foTree, ssList, IS_NESTED);
}
continue scanning_elements;
PropertyValueList ssList = new PropertyValueList
(PropNames.BACKGROUND_POSITION);
ssList.add(posnList);
- position = BackgroundPosition.verifyParsing
+ position = BackgroundPosition.refineParsing
(foTree, ssList, IS_NESTED);
} else { // one only
// Now send one NCName to BackgroundPosition
- position = BackgroundPosition.verifyParsing
+ position = BackgroundPosition.refineParsing
(foTree, pval, IS_NESTED);
}
continue scanning_elements;
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
- return verifyParsing(foTree, value, NOT_NESTED);
+ return refineParsing(foTree, value, NOT_NESTED);
}
/**
- * Do the work for the two argument verifyParsing method.
+ * Do the work for the two argument refineParsing method.
* @param foTree the <tt>FOTree</tt> being built
* @param value <tt>PropertyValue</tt> returned by the parser
* @param nested <tt>boolean</tt> indicating whether this method is
- * called normally (false), or as part of another <i>verifyParsing</i>
+ * called normally (false), or as part of another <i>refineParsing</i>
* method.
* @return <tt>PropertyValue</tt> the verified value
- * @see #verifyParsing(FOTree,PropertyValue)
+ * @see #refineParsing(FOTree,PropertyValue)
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value, boolean nested)
throws PropertyException
{
public static class BlockProgressionDimension extends Properties {
public static final int dataTypes =
- PERCENTAGE | LENGTH | AUTO | INHERIT;
+ COMPOUND | PERCENTAGE | LENGTH | AUTO | INHERIT;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = AUTO_IT;
public static final int inherited = NO;
public static final int dataTypes = PERCENTAGE | LENGTH | AUTO;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = AUTO_IT;
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class BlockProgressionDimensionOptimum extends Properties {
public static final int dataTypes = PERCENTAGE | LENGTH | AUTO;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = AUTO_IT;
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class BlockProgressionDimensionMaximum extends Properties {
public static final int dataTypes = PERCENTAGE | LENGTH | AUTO;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = AUTO_IT;
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class Border extends Properties {
public static final int initialValueType = NOTYPE_IT;
public static final int inherited = NO;
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
PropertyValue val = (PropertyValue)(values.next());
PropertyValue pv = null;
try {
- pv = BorderWidth.verifyParsing(foTree, val, IS_NESTED);
+ pv = BorderWidth.refineParsing(foTree, val, IS_NESTED);
if (width != null)
MessageHandler.log("border: duplicate" +
"width overrides previous width");
continue;
} catch (PropertyException e) {}
try {
- pv = BorderStyle.verifyParsing(foTree, val, IS_NESTED);
+ pv = BorderStyle.refineParsing(foTree, val, IS_NESTED);
if (style != null)
MessageHandler.log("border: duplicate" +
"style overrides previous style");
continue;
} catch (PropertyException e) {}
try {
- pv = BorderColor.verifyParsing(foTree, val, IS_NESTED);
+ pv = BorderColor.refineParsing(foTree, val, IS_NESTED);
if (color != null)
MessageHandler.log("border: duplicate" +
"color overrides previous color");
// automatically update the following initial Length PropertyValue
// if the mapping changes.
public static class BorderAfterWidth extends Properties {
- public static final int dataTypes = MAPPED_NUMERIC | LENGTH | INHERIT;
+ public static final int dataTypes =
+ COMPOUND | MAPPED_NUMERIC | LENGTH | INHERIT;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = LENGTH_IT;
public static PropertyValue getInitialValue(int property)
public static final int dataTypes = LENGTH;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = NOTYPE_IT;
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class BorderAfterWidthConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType(PropNames.BORDER_AFTER_WIDTH_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.BORDER_AFTER_WIDTH_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
}
public static class BorderBeforeWidth extends Properties {
- public static final int dataTypes = MAPPED_NUMERIC | LENGTH | INHERIT;
+ public static final int dataTypes =
+ COMPOUND | MAPPED_NUMERIC | LENGTH | INHERIT;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = LENGTH_IT;
public static PropertyValue getInitialValue(int property)
public static final int dataTypes = LENGTH;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = NOTYPE_IT;
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class BorderBeforeWidthConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType(PropNames.BORDER_BEFORE_WIDTH_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.BORDER_BEFORE_WIDTH_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
- return verifyParsing(foTree, value, NOT_NESTED);
+ return refineParsing(foTree, value, NOT_NESTED);
}
/**
- * Do the work for the two argument verifyParsing method.
+ * Do the work for the two argument refineParsing method.
* @param foTree the <tt>FOTree</tt> being built
* @param value <tt>PropertyValue</tt> returned by the parser
* @param nested <tt>boolean</tt> indicating whether this method is
- * called normally (false), or as part of another <i>verifyParsing</i>
+ * called normally (false), or as part of another <i>refineParsing</i>
* method.
* @return <tt>PropertyValue</tt> the verified value
- * @see #verifyParsing(FOTree,PropertyValue)
+ * @see #refineParsing(FOTree,PropertyValue)
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value, boolean nested)
throws PropertyException
{
} else {
if (nested) throw new PropertyException
("PropertyValueList invalid for nested border-color "
- + "verifyParsing() method");
+ + "refineParsing() method");
// List may contain only multiple color specifiers
// i.e. ColorTypes or NCNames specifying a standard color or
// 'transparent'.
}
public static class BorderEndWidth extends Properties {
- public static final int dataTypes = MAPPED_NUMERIC | LENGTH | INHERIT;
+ public static final int dataTypes =
+ COMPOUND | MAPPED_NUMERIC | LENGTH | INHERIT;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = LENGTH_IT;
public static PropertyValue getInitialValue(int property)
public static final int dataTypes = LENGTH;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = NOTYPE_IT;
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class BorderEndWidthConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType(PropNames.BORDER_END_WIDTH_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.BORDER_END_WIDTH_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
}
public static class BorderSeparation extends Properties {
- public static final int dataTypes = INHERIT;
+ public static final int dataTypes = COMPOUND | LENGTH | INHERIT;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = NOTYPE_IT;
public static final int inherited = COMPUTED;
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.BORDER_SEPARATION_BLOCK_PROGRESSION_DIRECTION, 0.0d, Length.PT);
+ return Length.makeLength
+ (PropNames.BORDER_SEPARATION_BLOCK_PROGRESSION_DIRECTION,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class BorderSeparationInlineProgressionDirection
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.BORDER_SEPARATION_INLINE_PROGRESSION_DIRECTION, 0.0d, Length.PT);
+ return Length.makeLength
+ (PropNames.BORDER_SEPARATION_INLINE_PROGRESSION_DIRECTION,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class BorderSpacing extends Properties {
public static final int dataTypes = SHORTHAND;
public static final int traitMapping = SHORTHAND_MAP;
public static final int initialValueType = NOTYPE_IT;
- public static final int inherited = SHORTHAND_INH;
+ public static final int inherited = NO;
/**
* 'value' is a PropertyValueList or an individual PropertyValue.
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
}
public static class BorderStartWidth extends Properties {
- public static final int dataTypes = MAPPED_NUMERIC | LENGTH | INHERIT;
+ public static final int dataTypes =
+ COMPOUND | MAPPED_NUMERIC | LENGTH | INHERIT;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = LENGTH_IT;
public static PropertyValue getInitialValue(int property)
public static final int dataTypes = LENGTH;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = NOTYPE_IT;
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class BorderStartWidthConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType(PropNames.BORDER_START_WIDTH_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.BORDER_START_WIDTH_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
- return verifyParsing(foTree, value, NOT_NESTED);
+ return refineParsing(foTree, value, NOT_NESTED);
}
/**
- * Do the work for the two argument verifyParsing method.
+ * Do the work for the two argument refineParsing method.
* @param foTree the <tt>FOTree</tt> being built
* @param value <tt>PropertyValue</tt> returned by the parser
* @param nested <tt>boolean</tt> indicating whether this method is
- * called normally (false), or as part of another <i>verifyParsing</i>
+ * called normally (false), or as part of another <i>refineParsing</i>
* method.
* @return <tt>PropertyValue</tt> the verified value
- * @see #verifyParsing(FOTree,PropertyValue)
+ * @see #refineParsing(FOTree,PropertyValue)
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value, boolean nested)
throws PropertyException
{
} else {
if (nested) throw new PropertyException
("PropertyValueList invalid for nested border-style "
- + "verifyParsing() method");
+ + "refineParsing() method");
// List may contain only multiple style specifiers
// i.e. NCNames specifying a standard style
PropertyValueList list =
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
- return verifyParsing(foTree, value, NOT_NESTED);
+ return refineParsing(foTree, value, NOT_NESTED);
}
/**
- * Do the work for the two argument verifyParsing method.
+ * Do the work for the two argument refineParsing method.
* @param foTree the <tt>FOTree</tt> being built
* @param value <tt>PropertyValue</tt> returned by the parser
* @param nested <tt>boolean</tt> indicating whether this method is
- * called normally (false), or as part of another <i>verifyParsing</i>
+ * called normally (false), or as part of another <i>refineParsing</i>
* method.
* @return <tt>PropertyValue</tt> the verified value
- * @see #verifyParsing(FOTree,PropertyValue)
+ * @see #refineParsing(FOTree,PropertyValue)
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value, boolean nested)
throws PropertyException
{
} else {
if (nested) throw new PropertyException
("PropertyValueList invalid for nested border-width "
- + "verifyParsing() method");
+ + "refineParsing() method");
// List may contain only multiple width specifiers
// i.e. NCNames specifying a standard width
PropertyValueList list =
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
public static final int dataTypes = SHORTHAND;
public static final int traitMapping = SHORTHAND_MAP;
public static final int initialValueType = NOTYPE_IT;
- public static final int inherited = SHORTHAND_INH;
+ public static final int inherited = NO;
public static final int
CAPTION = 1
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
// font-family begins at slash + 2
familyStart = slash + 2;
fontsize = slash - 1;
- size = FontSize.verifyParsing
+ size = FontSize.refineParsing
(foTree, propvals[fontsize], IS_NESTED);
// derive the line-height
// line-height is at slash + 1
- height = LineHeight.verifyParsing
+ height = LineHeight.refineParsing
(foTree, propvals[slash + 1], IS_NESTED);
} else {
// Don''t know where slash is. If anything precedes the
// The discovered font or font-family name must be prepended to
// the fontList. If the font name is a single element, and the
// fontList is empty, only that single element is passed to the
- // verifyParsing() method of FontFamily. Otherwise the font
+ // refineParsing() method of FontFamily. Otherwise the font
// name element or elements is formed into a PropertyValueList,
// and that list is prepended to fontList.
if (fontList.size() == 0
&& familyStart == (propvals.length - 1)) {
- fontset = FontFamily.verifyParsing
+ fontset = FontFamily.refineParsing
(foTree, propvals[familyStart], IS_NESTED);
} else {
// Must develop a list to prepend to fontList
tmpList.add(propvals[i]);
fontList.addFirst(tmpList);
// Get a FontFamilySet
- fontset = FontFamily.verifyParsing
+ fontset = FontFamily.refineParsing
(foTree, fontList, IS_NESTED);
}
// Only font-style font-variant and font-weight, in any order
for (int i = 0; i < fontsize; i++) {
PropertyValue pv = null;
try {
- pv = FontStyle.verifyParsing
+ pv = FontStyle.refineParsing
(foTree, propvals[i], IS_NESTED);
if (style != null)
MessageHandler.log("font: duplicate" +
} catch(PropertyException e) {}
try {
- pv = FontVariant.verifyParsing
+ pv = FontVariant.refineParsing
(foTree, propvals[i], IS_NESTED);
if (variant != null)
MessageHandler.log("font: duplicate" +
} catch(PropertyException e) {}
try {
- pv = FontWeight.verifyParsing
+ pv = FontWeight.refineParsing
(foTree, propvals[i], IS_NESTED);
if (weight != null)
MessageHandler.log("font: duplicate" +
Collections.unmodifiableMap((Map)rwEnumValues);
}
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
// be at the top level, and any font family names
// that contained spaces will be in PropertyValueLists.
- return verifyParsing(foTree, value, NOT_NESTED);
+ return refineParsing(foTree, value, NOT_NESTED);
}
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value, boolean nested)
throws PropertyException
{
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
- return verifyParsing(foTree, value, NOT_NESTED);
+ return refineParsing(foTree, value, NOT_NESTED);
}
/**
- * Do the work for the two argument verifyParsing method.
+ * Do the work for the two argument refineParsing method.
* @param foTree the <tt>FOTree</tt> being built
* @param value <tt>PropertyValue</tt> returned by the parser
* @param nested <tt>boolean</tt> indicating whether this method is
- * called normally (false), or as part of another <i>verifyParsing</i>
+ * called normally (false), or as part of another <i>refineParsing</i>
* method.
* @return <tt>PropertyValue</tt> the verified value
- * @see #verifyParsing(FOTree,PropertyValue)
+ * @see #refineParsing(FOTree,PropertyValue)
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value, boolean nested)
throws PropertyException
{
// Override the shadowed method to ensure that Integer values
// are limited to the valid numbers
- PropertyValue fw = Properties.verifyParsing(foTree, value, nested);
+ PropertyValue fw = Properties.refineParsing(foTree, value, nested);
// If the result is an IntegerType, restrict the values
if (fw instanceof IntegerType) {
int weight = ((IntegerType)fw).getInt();
public static class InlineProgressionDimension extends Properties {
public static final int dataTypes =
- PERCENTAGE | LENGTH | AUTO | INHERIT;
+ COMPOUND | PERCENTAGE | LENGTH | AUTO | INHERIT;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = AUTO_IT;
public static final int inherited = NO;
public static final int dataTypes = PERCENTAGE | LENGTH | AUTO;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = AUTO_IT;
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class InlineProgressionDimensionOptimum extends Properties {
public static final int dataTypes = PERCENTAGE | LENGTH | AUTO;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = AUTO_IT;
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class InlineProgressionDimensionMaximum extends Properties {
public static final int dataTypes = PERCENTAGE | LENGTH | AUTO;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = AUTO_IT;
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class InternalDestination extends Properties {
}
public static class LeaderLength extends Properties {
- public static final int dataTypes = LENGTH | PERCENTAGE | INHERIT;
+ public static final int dataTypes =
+ COMPOUND | LENGTH | PERCENTAGE | INHERIT;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = NOTYPE_IT;
public static final int inherited = COMPUTED;
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.LEADER_LENGTH_MINIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.LEADER_LENGTH_MINIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class LeaderLengthOptimum extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.LEADER_LENGTH_OPTIMUM, 12.0d, Length.PT);
+ return Length.makeLength(PropNames.LEADER_LENGTH_OPTIMUM,
+ 12.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class LeaderLengthMaximum extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Percentage.makePercentage (PropNames.LEADER_LENGTH_MAXIMUM, 100.0d);
+ return Percentage.makePercentage
+ (PropNames.LEADER_LENGTH_MAXIMUM, 100.0d);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class LeaderPattern extends Properties {
public static class LineHeight extends Properties {
public static final int dataTypes =
- PERCENTAGE | LENGTH | NUMBER | MAPPED_NUMERIC | INHERIT;
+ COMPOUND| PERCENTAGE | LENGTH | NUMBER | MAPPED_NUMERIC | INHERIT;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = NOTYPE_IT;
public static final int NORMAL = 1;
{
return Ems.makeEms(PropNames.LINE_HEIGHT, 1.2d);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class LineHeightOptimum extends Properties {
{
return Ems.makeEms(PropNames.LINE_HEIGHT, 1.2d);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class LineHeightMaximum extends Properties {
{
return Ems.makeEms(PropNames.LINE_HEIGHT, 1.2d);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class LineHeightConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType (PropNames.SPACE_AFTER_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.SPACE_AFTER_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
return new IntegerType(PropNames.LINE_HEIGHT_PRECEDENCE, 0);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = PrecedenceCommon.enums;
public static final ROStringArray enumValues
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
}
public static class PaddingAfter extends Properties {
- public static final int dataTypes = PERCENTAGE | LENGTH | INHERIT;
+ public static final int dataTypes =
+ COMPOUND | PERCENTAGE | LENGTH | INHERIT;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = LENGTH_IT;
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.PADDING_AFTER, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.PADDING_AFTER, 0.0d, Length.PT);
}
public static final int inherited = NO;
}
public static class PaddingAfterLength extends Properties {
- public static final int dataTypes = LENGTH;
+ public static final int dataTypes = PERCENTAGE | LENGTH;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = LENGTH_IT;
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.PADDING_AFTER_LENGTH, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.PADDING_AFTER_LENGTH,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class PaddingAfterConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType (PropNames.PADDING_AFTER_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.PADDING_AFTER_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
- = Conditionality.enumValues;
+ = Conditionality.enumValues;
}
public static class PaddingBefore extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.PADDING_BEFORE, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.PADDING_BEFORE,
+ 0.0d, Length.PT);
}
public static final int inherited = NO;
}
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.PADDING_BEFORE_LENGTH, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.PADDING_BEFORE_LENGTH,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class PaddingBeforeConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType (PropNames.PADDING_BEFORE_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.PADDING_BEFORE_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
}
public static class PaddingEnd extends Properties {
- public static final int dataTypes = PERCENTAGE | LENGTH | INHERIT;
+ public static final int dataTypes =
+ COMPOUND | PERCENTAGE | LENGTH | INHERIT;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = LENGTH_IT;
public static PropertyValue getInitialValue(int property)
}
public static class PaddingEndLength extends Properties {
- public static final int dataTypes = LENGTH;
+ public static final int dataTypes = PERCENTAGE | LENGTH;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = LENGTH_IT;
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.PADDING_END_LENGTH, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.PADDING_END_LENGTH,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class PaddingEndConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType (PropNames.PADDING_END_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.PADDING_END_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
}
public static class PaddingStart extends Properties {
- public static final int dataTypes = PERCENTAGE | LENGTH | INHERIT;
+ public static final int dataTypes =
+ COMPOUND | PERCENTAGE | LENGTH | INHERIT;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = LENGTH_IT;
public static PropertyValue getInitialValue(int property)
}
public static class PaddingStartLength extends Properties {
- public static final int dataTypes = LENGTH;
+ public static final int dataTypes = PERCENTAGE | LENGTH;
public static final int traitMapping = FORMATTING | RENDERING;
public static final int initialValueType = LENGTH_IT;
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.PADDING_START_LENGTH, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.PADDING_START_LENGTH,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class PaddingStartConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType (PropNames.PADDING_START_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.PADDING_START_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
public static final int traitMapping = SHORTHAND_MAP;
public static final int initialValueType = AUTO_IT;
public static final int AVOID = 1;
- public static final int inherited = COMPUTED;
+ public static final int inherited = NO;
private static final String[] rwEnums = {
null
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue value)
throws PropertyException
{
* @param value <tt>PropertyValue</tt> returned by the parser
* @return <tt>PropertyValue</tt> the verified value
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue list)
throws PropertyException
{
PropertyValue value =
- Properties.verifyParsing(foTree, list, IS_NESTED);
+ Properties.refineParsing(foTree, list, IS_NESTED);
// Confirm that the list contains only UriType elements
Iterator iter = ((PropertyValueList)value).iterator();
while (iter.hasNext()) {
}
public static class SpaceAfter extends Properties {
- public static final int dataTypes = LENGTH | INHERIT;
+ public static final int dataTypes = COMPOUND | LENGTH | INHERIT;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = NOTYPE_IT;
public static final int inherited = NO;
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_AFTER_MINIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_AFTER_MINIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceAfterOptimum extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_AFTER_OPTIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_AFTER_OPTIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceAfterMaximum extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_AFTER_MAXIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_AFTER_MAXIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceAfterConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType (PropNames.SPACE_AFTER_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.SPACE_AFTER_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
return new IntegerType(PropNames.SPACE_AFTER_PRECEDENCE, 0);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = PrecedenceCommon.enums;
public static final ROStringArray enumValues
}
public static class SpaceBefore extends Properties {
- public static final int dataTypes = LENGTH | INHERIT;
+ public static final int dataTypes = COMPOUND | LENGTH | INHERIT;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = NOTYPE_IT;
public static final int inherited = NO;
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_BEFORE_MINIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_BEFORE_MINIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceBeforeOptimum extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_BEFORE_OPTIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_BEFORE_OPTIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceBeforeMaximum extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_BEFORE_MAXIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_BEFORE_MAXIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceBeforeConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType (PropNames.SPACE_BEFORE_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.SPACE_BEFORE_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
return new IntegerType(PropNames.SPACE_BEFORE_PRECEDENCE, 0);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = PrecedenceCommon.enums;
public static final ROStringArray enumValues
}
public static class SpaceEnd extends Properties {
- public static final int dataTypes = LENGTH | PERCENTAGE | INHERIT;
+ public static final int dataTypes =
+ COMPOUND | LENGTH | PERCENTAGE | INHERIT;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = NOTYPE_IT;
public static final int inherited = NO;
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_END_MINIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_END_MINIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceEndOptimum extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_END_OPTIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_END_OPTIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceEndMaximum extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_END_MAXIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_END_MAXIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceEndConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType (PropNames.SPACE_END_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.SPACE_END_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
return new IntegerType(PropNames.SPACE_END_PRECEDENCE, 0);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = PrecedenceCommon.enums;
public static final ROStringArray enumValues
}
public static class SpaceStart extends Properties {
- public static final int dataTypes = LENGTH | PERCENTAGE | INHERIT;
+ public static final int dataTypes =
+ COMPOUND | LENGTH | PERCENTAGE | INHERIT;
public static final int traitMapping = FORMATTING;
public static final int initialValueType = NOTYPE_IT;
public static final int inherited = NO;
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_START_MINIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_START_MINIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceStartOptimum extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_START_OPTIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_START_OPTIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceStartMaximum extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return Length.makeLength (PropNames.SPACE_START_MAXIMUM, 0.0d, Length.PT);
+ return Length.makeLength(PropNames.SPACE_START_MAXIMUM,
+ 0.0d, Length.PT);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
}
public static class SpaceStartConditionality extends Properties {
public static PropertyValue getInitialValue(int property)
throws PropertyException
{
- return new EnumType (PropNames.SPACE_START_CONDITIONALITY, Conditionality.DISCARD);
+ return new EnumType(PropNames.SPACE_START_CONDITIONALITY,
+ Conditionality.DISCARD);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = Conditionality.enums;
public static final ROStringArray enumValues
return new IntegerType(PropNames.SPACE_START_PRECEDENCE, 0);
}
- public static final int inherited = COMPOUND;
+ public static final int inherited = NO;
public static final ROStringArray enums = PrecedenceCommon.enums;
public static final ROStringArray enumValues
public static final ROStringArray enums = new ROStringArray(rwEnums);
public static final ROStringArray enumValues = enums;
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue list)
throws PropertyException
{
// N.B. it may be a possible to perform further checks on the
// validity of the NCNames - do they match multi-case case names.
if ( ! (list instanceof PropertyValueList))
- return Properties.verifyParsing(foTree, list);
+ return Properties.refineParsing(foTree, list);
PropertyValueList ssList =
spaceSeparatedList((PropertyValueList)list);
,BLINK
});
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue list)
throws PropertyException
{
* <tt>Length</tt>s may be preceded or followed by a color
* specifier.
*/
- public static PropertyValue verifyParsing
+ public static PropertyValue refineParsing
(FOTree foTree, PropertyValue list)
throws PropertyException
{
int property = list.getProperty();
if ( ! (list instanceof PropertyValueList)) {
- return Properties.verifyParsing(foTree, list);
+ return Properties.refineParsing(foTree, list);
}
if (((PropertyValueList)list).size() == 0)
throw new PropertyException
{
return new EnumType (PropNames.WHITE_SPACE, NORMAL);
}
- public static final int inherited = SHORTHAND_INH;
+ public static final int inherited = NO;
private static final String[] rwEnums = {
null
public static final int dataTypes = SHORTHAND;
public static final int traitMapping = SHORTHAND_MAP;
public static final int initialValueType = NOTYPE_IT;
- public static final int inherited = SHORTHAND_INH;
+ public static final int inherited = NO;
}
public static class ZIndex extends Properties {