Class PlexusXmlBeanConverter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object convert​(com.google.inject.TypeLiteral role, java.lang.String value)
      Converts the given constant value to a bean of the given type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • convert

        public java.lang.Object convert​(com.google.inject.TypeLiteral role,
                                        java.lang.String value)
        Description copied from interface: PlexusBeanConverter
        Converts the given constant value to a bean of the given type.
        Specified by:
        convert in interface PlexusBeanConverter
        Parameters:
        role - The expected bean type
        value - The constant value
        Returns:
        Bean of the given type, based on the given constant value