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/09/15 07:30:17 UTC

cvs commit: xml-fop/src/org/apache/fop/fo/expr PropertyValue.java AbstractPropertyValue.java PropertyValueList.java

pbwest      2002/09/14 22:30:17

  Modified:    src/org/apache/fop/fo/expr Tag: FOP_0-20-0_Alt-Design
                        PropertyValue.java AbstractPropertyValue.java
                        PropertyValueList.java
  Log:
  Added getType() to interface and implementations.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.4   +8 -3      xml-fop/src/org/apache/fop/fo/expr/Attic/PropertyValue.java
  
  Index: PropertyValue.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/expr/Attic/PropertyValue.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- PropertyValue.java	30 Aug 2002 17:28:27 -0000	1.1.2.3
  +++ PropertyValue.java	15 Sep 2002 05:30:17 -0000	1.1.2.4
  @@ -14,7 +14,7 @@
    * @version $Revision$ $Name$
    */
   /**
  - * Base class for all property value types.
  + * Base interface for all property value types.
    */
   
   public interface PropertyValue {
  @@ -56,6 +56,11 @@
        */
       public int getProperty();
       public void setProperty(int index) throws PropertyException;
  +
  +    /**
  +     * @return type field of the <tt>PropertyValue</tt>.
  +     */
  +    public int getType();
   
       /**
        * In some circumstances, the property against which a type is to be
  
  
  
  1.1.2.3   +9 -2      xml-fop/src/org/apache/fop/fo/expr/Attic/AbstractPropertyValue.java
  
  Index: AbstractPropertyValue.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/expr/Attic/AbstractPropertyValue.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- AbstractPropertyValue.java	27 Aug 2002 15:22:50 -0000	1.1.2.2
  +++ AbstractPropertyValue.java	15 Sep 2002 05:30:17 -0000	1.1.2.3
  @@ -77,6 +77,13 @@
       }
   
       /**
  +     * @return type field of the <tt>PropertyValue</tt>.
  +     */
  +    public int getType() {
  +        return type;
  +    }
  +
  +    /**
        * In some circumstances, the property against which a type is to be
        * validated may not be the same as the property against which this
        * <i>AbstractPropertyValue</i> is defined.
  
  
  
  1.1.2.3   +9 -2      xml-fop/src/org/apache/fop/fo/expr/Attic/PropertyValueList.java
  
  Index: PropertyValueList.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/expr/Attic/PropertyValueList.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- PropertyValueList.java	27 Aug 2002 15:22:50 -0000	1.1.2.2
  +++ PropertyValueList.java	15 Sep 2002 05:30:17 -0000	1.1.2.3
  @@ -171,6 +171,13 @@
       }
   
       /**
  +     * @return type field of the <tt>PropertyValue</tt>.
  +     */
  +    public int getType() {
  +        return type;
  +    }
  +
  +    /**
        * In some circumstances, the property against which a type is to be
        * validated may not be the same as the property against which this
        * <i>AbstractPropertyValue</i> is defined.
  
  
  

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