Class ServiceUtil

java.lang.Object
org.apache.abdera.util.ServiceUtil
All Implemented Interfaces:
Constants

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

    • 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> Iterable<T> loadimpls(String sid)
      Deprecated.
    • loadimpls

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

      public static Object newInstance(String id, 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 Object newInstance(String id, String _default, 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.