You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2002/10/03 14:10:17 UTC

cvs commit: xml-fop/src/org/apache/fop/datatypes/indirect FromNearestSpecified.java

pbwest      2002/10/03 05:10:17

  Modified:    src/org/apache/fop/datatypes/indirect Tag:
                        FOP_0-20-0_Alt-Design FromNearestSpecified.java
  Log:
  Changed call to getNearestSpecifiedTriplet() to
  getNearestSpecifiedValue().
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +7 -7      xml-fop/src/org/apache/fop/datatypes/indirect/Attic/FromNearestSpecified.java
  
  Index: FromNearestSpecified.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/datatypes/indirect/Attic/FromNearestSpecified.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- FromNearestSpecified.java	18 Sep 2002 15:31:14 -0000	1.1.2.2
  +++ FromNearestSpecified.java	3 Oct 2002 12:10:17 -0000	1.1.2.3
  @@ -80,17 +80,17 @@
   
       /**
        * Attempt to resolve this object into a "real" property value.  If the
  -     * object has no <i>inheritedTriplet</i>, obtain and set one.  The
  -     * obtained triplet is from the nearest ancestor node on which a value
  +     * object has no <i>inheritedValue</i>, obtain and set one.  The
  +     * obtained value is from the nearest ancestor node on which a value
        * has been specified.
        * Then invoke the superclass' <i>resolve()</i> method.
        * @param node - the <tt>FONode</tt> with which this object is associated.
        * @return the resulting <tt>PropertyValue</tt>.  Either a resolved value
  -     * or <i>this</i>, if bequeathing triplet has no resolved computed value.
  +     * or <i>this</i>, if bequeathing value has no resolved computed value.
        */
       public PropertyValue resolve(FONode node) throws PropertyException {
           if (inheritedValue == null) {
  -            inheritedValue = node.getNearestSpecifiedTriplet(sourceProperty);
  +            inheritedValue = node.getNearestSpecifiedValue(sourceProperty);
           }
           return super.resolve(node);
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org