Class InternalValueFactory

  • All Implemented Interfaces:
    org.apache.jackrabbit.spi.QValueFactory

    public final class InternalValueFactory
    extends org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
    InternalValueFactory implements a QValueFactory that creates InternalValue instances for binary values.
    • Field Summary

      • Fields inherited from class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory

        DEFAULT_ENCODING, NAME_FACTORY, PATH_FACTORY
    • Method Detail

      • getInstance

        public static org.apache.jackrabbit.spi.QValueFactory getInstance()
      • create

        public org.apache.jackrabbit.spi.QValue create​(Calendar value)
                                                throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.QValueFactory
        Overrides:
        create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
        Throws:
        RepositoryException
      • create

        public org.apache.jackrabbit.spi.QValue create​(double value)
                                                throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.QValueFactory
        Overrides:
        create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
        Throws:
        RepositoryException
      • create

        public org.apache.jackrabbit.spi.QValue create​(long value)
                                                throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.QValueFactory
        Overrides:
        create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
        Throws:
        RepositoryException
      • create

        public org.apache.jackrabbit.spi.QValue create​(boolean value)
                                                throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.QValueFactory
        Overrides:
        create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
        Throws:
        RepositoryException
      • create

        public org.apache.jackrabbit.spi.QValue create​(org.apache.jackrabbit.spi.Name value)
                                                throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.QValueFactory
        Overrides:
        create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
        Throws:
        RepositoryException
      • create

        public org.apache.jackrabbit.spi.QValue create​(org.apache.jackrabbit.spi.Path value)
                                                throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.QValueFactory
        Overrides:
        create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
        Throws:
        RepositoryException
      • create

        public org.apache.jackrabbit.spi.QValue create​(URI value)
                                                throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.QValueFactory
        Overrides:
        create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
        Throws:
        RepositoryException
      • create

        public org.apache.jackrabbit.spi.QValue create​(BigDecimal value)
                                                throws RepositoryException
        Specified by:
        create in interface org.apache.jackrabbit.spi.QValueFactory
        Overrides:
        create in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
        Throws:
        RepositoryException
      • createReference

        protected org.apache.jackrabbit.spi.QValue createReference​(String ref,
                                                                   boolean weak)
        Overrides:
        createReference in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory
      • createString

        protected org.apache.jackrabbit.spi.QValue createString​(String value)
        Overrides:
        createString in class org.apache.jackrabbit.spi.commons.value.AbstractQValueFactory