com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class ValueAcceptor



  • public abstract class ValueAcceptor
    extends Object

    Provides a base abstract class that allows extracting all supported types of values from a PropertyValue instance.

    • Constructor Summary

      Constructors 
      Constructor and Description
      ValueAcceptor() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      protected abstract void accept(boolean value)
      Extracts a boolean value.
      protected abstract void accept(byte[] value)
      Extracts a byte array value.
      protected abstract void accept(Date value)
      Extracts a date and time value.
      protected abstract void accept(double value)
      Extracts a double value.
      protected abstract void accept(double[] value)
      Extracts a double array value.
      protected abstract void accept(int value)
      Extracts an integer value.
      protected abstract void accept(int[] value)
      Extracts an integer array value.
      protected abstract void accept(long value)
      Extracts a long value.
      protected abstract void accept(long[] value)
      Extracts a long array value.
      protected abstract void accept(MetadataPackage value)
      Extracts a metadata package value.
      protected abstract void accept(MetadataPackage[] value)
      Extracts a metadata package array value.
      protected abstract void accept(PropertyValue[] value)
      Extracts a property array value.
      protected abstract void accept(String value)
      Extracts a string value.
      protected abstract void accept(String[] value)
      Extracts a string array value.
      protected abstract void accept(UUID value)
      Extracts a guid value.
      protected abstract void acceptNull()
      Extracts a null value.
    • Constructor Detail

      • ValueAcceptor

        public ValueAcceptor()
    • Method Detail

      • acceptNull

        protected abstract void acceptNull()

        Extracts a null value.

      • accept

        protected abstract void accept(String value)

        Extracts a string value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(boolean value)

        Extracts a boolean value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(Date value)

        Extracts a date and time value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(int value)

        Extracts an integer value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(long value)

        Extracts a long value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(double value)

        Extracts a double value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(String[] value)

        Extracts a string array value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(byte[] value)

        Extracts a byte array value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(double[] value)

        Extracts a double array value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(int[] value)

        Extracts an integer array value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(long[] value)

        Extracts a long array value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(MetadataPackage value)

        Extracts a metadata package value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(MetadataPackage[] value)

        Extracts a metadata package array value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(UUID value)

        Extracts a guid value.

        Parameters:
        value - The value to extract.
      • accept

        protected abstract void accept(PropertyValue[] value)

        Extracts a property array value.

        Parameters:
        value - The value to extract.