Class ServiceUtil

  • All Implemented Interfaces:
    Constants

    @Deprecated(since="2021-07-29")
    public final class ServiceUtil
    extends java.lang.Object
    implements Constants
    Deprecated.
    Core utility methods that support Abdera's internal operation
    • Method Detail

      • newXPathInstance

        public static XPath newXPathInstance​(Abdera abdera)
        Deprecated.
        Utility method for returning an instance of the default Abdera XPath instance
      • newParserInstance

        public static Parser newParserInstance​(Abdera abdera)
        Deprecated.
        Utility method for returning an instance of the default Abdera Parser instance
      • newFactoryInstance

        public static Factory newFactoryInstance​(Abdera abdera)
        Deprecated.
        Utility method for returning an instance of the defaul Abdera Factory instance
      • newParserFactoryInstance

        public static ParserFactory newParserFactoryInstance​(Abdera abdera)
        Deprecated.
      • newWriterFactoryInstance

        public static WriterFactory newWriterFactoryInstance​(Abdera abdera)
        Deprecated.
      • newWriterInstance

        public static Writer newWriterInstance​(Abdera abdera)
        Deprecated.
      • newStreamWriterInstance

        public static StreamWriter newStreamWriterInstance​(Abdera abdera)
        Deprecated.
      • loadimpls

        public static <T> java.lang.Iterable<T> loadimpls​(java.lang.String sid)
        Deprecated.
      • loadimpls

        public static <T> java.lang.Iterable<T> loadimpls​(java.lang.String sid,
                                                          boolean classesonly)
        Deprecated.
      • newInstance

        public static java.lang.Object newInstance​(java.lang.String id,
                                                   java.lang.String _default,
                                                   Abdera abdera)
        Deprecated.
        Returns a new instance of the identified object class. This will use the Abdera configuration mechanism to look up the implementation class for the specified id. Several places will be checked: the abdera.properties file, the /META-INF/services directory, and the System properties. If no instance is configured, the default class name will be used. Returns null if no instance can be created.
      • newInstance

        public static java.lang.Object newInstance​(java.lang.String id,
                                                   java.lang.String _default,
                                                   java.lang.Object... args)
        Deprecated.
        Returns a new instance of the identified object class. This will use the Abdera configuration mechanism to look up the implementation class for the specified id. Several places will be checked: the abdera.properties file, the /META-INF/services directory, and the System properties. If no instance is configured, the default class name will be used. Returns null if no instance can be created.