Class StringParseableValue.Factory<AV extends AttributeValue>

    • Constructor Detail

      • Factory

        protected Factory​(AttributeDatatype<AV> datatype)
        Creates a datatype factory from the Java datatype implementation class and datatype identifier
    • Method Detail

      • getInstance

        public abstract AV getInstance​(Serializable value)
                                throws IllegalArgumentException
        Creates attribute value from a singleton value and possibly extra XML attributes
        Parameters:
        value - attribute value, null if original content is empty (e.g. list of JAXB (mixed) content elements is empty)
        Returns:
        instance of F_AV
        Throws:
        IllegalArgumentException - if value is not valid/parseable for this factory