1 29 30 package javax.jcr; 31 32 import java.io.InputStream ; 33 import java.util.Calendar ; 34 35 public interface ValueFactory { 36 39 public Value createValue(String value); 40 41 47 public Value createValue(String value, int type) 48 throws ValueFormatException; 49 50 53 public Value createValue(long value); 54 55 58 public Value createValue(double value); 59 60 63 public Value createValue(boolean value); 64 65 68 public Value createValue(Calendar value); 69 70 73 public Value createValue(InputStream value); 74 75 78 public Value createValue(Node value) 79 throws RepositoryException; 80 } 81 | Popular Tags |