Class CanonicalAccessorFactory<V>

    • Constructor Detail

      • CanonicalAccessorFactory

        public CanonicalAccessorFactory​(java.lang.String identifier,
                                        ContentType<V> contentType)
    • Method Detail

      • customAccessor

        public <U> IMemberAccessor<V,​U> customAccessor​(IType<U> type)
        Override to construct deriving accessors. This will only be called when the type does not directly provide the attribute itself.
        Type Parameters:
        U - input type class
        Parameters:
        type - type to create accessor for
        Returns:
        an accessor that works for the specified type or null if it can't be created