Class ValuesProperty

    • Constructor Detail

      • ValuesProperty

        public ValuesProperty​(Value value)
        Create a new ValuesProperty from the given single Value.
        Parameters:
        value - Array of Value objects as obtained from the JCR property.
      • ValuesProperty

        public ValuesProperty​(Value[] values)
        Create a new ValuesProperty from the given Value array.
        Parameters:
        values - Array of Value objects as obtained from the JCR property.
      • ValuesProperty

        public ValuesProperty​(DavProperty<?> property,
                              int defaultType,
                              ValueFactory valueFactory)
                       throws RepositoryException,
                              DavException
        Wrap the specified DavProperty in a new ValuesProperty.
        Parameters:
        property -
        defaultType - default type of the values to be deserialized. If however the 'value' elements provide a 'type' attribute, the default value is ignored.
        valueFactory - Factory used to retrieve JCR values from the value of the given DavProperty.
        Throws:
        RepositoryException
        DavException