protected XMLNamespaces namespaces;
/** The FO type. */
public final int type;
- /** The PropertyConsts singleton. */
- public final PropertyConsts propertyConsts;
/** The attributes defined on this node. */
public FOAttributes foAttributes;
/** The unmodifiable map of properties defined on this node. */
{
foTree.super(parent);
this.foTree = foTree;
- propertyConsts = PropertyConsts.getPropertyConsts();
this.type = type;
this.parent = parent;
this.event = event;
{
// parse the expression
exprParser.resetParser();
- Property prop = propertyConsts.setupProperty(property);
- return prop.refineParsing
- (this, exprParser.parse(this, property, attrValue));
+ Property prop = PropertyConsts.pconsts.setupProperty(property);
+ PropertyValue pv = exprParser.parse(this, property, attrValue);
+ return prop.refineParsing(pv.getProperty(), this, pv);
}
/**
(parent.getNearestSpecifiedValue(sourceProperty));
else // root
return IndirectValue.adjustedPropertyValue
- (foTree.getInitialValue(sourceProperty));
+ (PropertyConsts.pconsts.getInitialValue(sourceProperty));
}
/**
(parent.getNearestSpecifiedValue(property));
else // root
return IndirectValue.adjustedPropertyValue
- (foTree.getInitialValue(property));
+ (PropertyConsts.pconsts.getInitialValue(property));
}
/**
(parent.getPropertyValue(sourceProperty));
else // root
return IndirectValue.adjustedPropertyValue
- (foTree.getInitialValue(sourceProperty));
+ (PropertyConsts.pconsts.getInitialValue(sourceProperty));
}
PropertyValue pval;
if ((pval = propertySet[property]) != null)
return IndirectValue.adjustedPropertyValue(pval);
- if (parent != null && propertyConsts.isInherited(property))
+ if (parent != null && PropertyConsts.pconsts.isInherited(property))
return (propertySet[property] =
IndirectValue.adjustedPropertyValue
(parent.getPropertyValue(property)));
else // root
return (propertySet[property] =
IndirectValue.adjustedPropertyValue
- (foTree.getInitialValue(property)));
+ (PropertyConsts.pconsts.getInitialValue(property)));
}