pbwest      2002/10/08 21:54:47

  Modified:    src/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design
                        PropertyValue.java
  Log:
  Removed stackedBy references.  Added ROStringArray propertyTypes.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.5   +36 -14    xml-fop/src/org/apache/fop/datatypes/Attic/PropertyValue.java
  
  Index: PropertyValue.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/datatypes/Attic/PropertyValue.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- PropertyValue.java        2 Oct 2002 07:00:08 -0000       1.1.2.4
  +++ PropertyValue.java        9 Oct 2002 04:54:46 -0000       1.1.2.5
  @@ -2,6 +2,7 @@
   
   import org.apache.fop.fo.expr.PropertyException;
   import org.apache.fop.fo.FONode;
  +import org.apache.fop.datastructs.ROStringArray;
   
   /*
    * PropertyValue.java
  @@ -53,6 +54,39 @@
   
               ,LAST_PROPERTY_TYPE = LIST;
   
  +    public static final ROStringArray propertyTypes =
  +        new ROStringArray(new String[] {
  +        "NO_TYPE"
  +        ,"ANGLE"
  +        ,"AUTO"
  +        ,"BOOL"
  +        ,"COLOR_TYPE"
  +        ,"COUNTRY"
  +        ,"ENUM"
  +        ,"FONT_FAMILY"
  +        ,"FREQUENCY"
  +        ,"FROM_NEAREST_SPECIFIED"
  +        ,"FROM_PARENT"
  +        ,"INHERIT"
  +        ,"INHERITED_VALUE"
  +        ,"INTEGER"
  +        ,"LANGUAGE"
  +        ,"LITERAL"
  +        ,"MAPPED_NUMERIC"
  +        ,"MIME_TYPE"
  +        ,"NCNAME"
  +        ,"NONE"
  +        ,"NUMERIC"
  +        ,"SCRIPT"
  +        ,"SHADOW_EFFECT"
  +        ,"SLASH"
  +        ,"TEXT_DECORATIONS"
  +        ,"TEXT_DECORATOR"
  +        ,"TIME"
  +        ,"URI_LIST"
  +        ,"LIST"
  +    });
  +
       /**
        * @return <tt>int</tt> property index.
        */
  @@ -64,18 +98,6 @@
        * @return type field of the <tt>PropertyValue</tt>.
        */
       public int getType();
  -
  -    /**
  -     * Set the reference to the <tt>FONode</tt> that stacked this value.
  -     * @param node - the stacking <tt.FONode</tt>.
  -     */
  -    public void setStackedBy(FONode node);
  -
  -    /**
  -     * Get a reference to the <tt>FONode</tt> that stacked this value.
  -     * @return <tt>FONode</tt> that stacked this value.
  -     */
  -    public FONode getStackedBy();
   
       /**
        * In some circumstances, the property against which a type is to be
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to