Save This Page
Home » openjdk-7 » net » sf » rvpf » metadata » [javadoc | source]
    1   /**
    2    * Related Values Processing Framework.
    3    * 
    4    * Copyright (C) 2003 Serge Brisson.
    5    * 
    6    * This software is distributable under LGPL license.
    7    * See details at the bottom of this file.
    8    * 
    9    * $Header: /cvsroot/rvpf/RVPF/java/src/net/sf/rvpf/metadata/ContentEntity.java,v 1.8 2003/10/15 20:52:15 sfb Exp $
   10    */
   11   package net.sf.rvpf.metadata;
   12   
   13   import net.sf.rvpf.content.Content;
   14   import net.sf.rvpf.content.NormalizedValue;
   15   import net.sf.rvpf.store.PointValue;
   16   
   17   /** Content Entity.
   18    * 
   19    * @author Serge Brisson
   20    * @version $Revision: 1.8 $
   21    */
   22   public class ContentEntity extends ProxyEntity implements Content {
   23   
   24       // Public Class Constants.
   25   
   26       public static final String PREFIX = "T";
   27   
   28       // Instance Properties.
   29   
   30       /**
   31        */
   32       public String getPrefix() {
   33           return PREFIX;
   34       }
   35       
   36       // Public Instance Methods.
   37   
   38       /**
   39        */
   40       public PointValue denormalize(NormalizedValue normalizedValue) {
   41           return ((Content) getInstance()).denormalize(normalizedValue);
   42       }
   43   
   44       /**
   45        */
   46       public NormalizedValue generate(NormalizedValue pointValue) {
   47           return ((Content) getInstance()).generate(pointValue);
   48       }
   49   
   50       /**
   51        */
   52       public NormalizedValue normalize(PointValue pointValue) {
   53           return ((Content) getInstance()).normalize(pointValue);
   54       }
   55   
   56       /**
   57        */
   58       public PointValue prepare(PointValue pointValue) {
   59           return ((Content) getInstance()).prepare(pointValue);
   60       }
   61   }
   62   
   63   // $Log: ContentEntity.java,v $
   64   // Revision 1.8  2003/10/15 20:52:15  sfb
   65   // Introduced NormalizedValue.
   66   //
   67   
   68   /*
   69    * This is free software; you can redistribute it and/or modify
   70    * it under the terms of the GNU Lesser General Public License
   71    * as published by the Free Software Foundation; either version 2.1
   72    * of the License, or (at your option) any later version.
   73    *
   74    * This software is distributed in the hope that it will be useful,
   75    * but WITHOUT ANY WARRANTY; without even the implied warranty of
   76    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   77    * Lesser General Public License for more details.
   78    *
   79    * You should have received a copy of the GNU Lesser General Public
   80    * License along with this software; if not, write to the Free Software
   81    * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   82    */

Save This Page
Home » openjdk-7 » net » sf » rvpf » metadata » [javadoc | source]