org.apache.abdera.util
Class ServiceUtil

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

Deprecated.

public final class ServiceUtil
extends Object
implements Constants

Core utility methods that support Abdera's internal operation


Field Summary
 
Fields inherited from interface org.apache.abdera.util.Constants
ACCEPT, AID, ALTERNATE, APP_MEDIA_TYPE, APP_NS, APP_NS_PRE_RFC, APP_PREFIX, ATITLE, ATOM_MEDIA_TYPE, ATOM_NS, AURI, AUTHOR, BASE, CAT_MEDIA_TYPE, CATEGORIES, CATEGORY, CLASS, COLLECTION, CONFIG_FACTORY, CONFIG_PARSER, CONFIG_PARSERFACTORY, CONFIG_STREAMWRITER, CONFIG_WRITER, CONFIG_WRITERFACTORY, CONFIG_XPATH, CONTENT, CONTRIBUTOR, CONTROL, CONTROL_NS, CONTROL_PREFIX, DEFAULT_FACTORY, DEFAULT_PARSER, DEFAULT_PARSERFACTORY, DEFAULT_STREAMWRITER, DEFAULT_WRITER, DEFAULT_WRITERFACTORY, DEFAULT_XPATH, DIV, DRAFT, EDITED, EMAIL, ENTRY, ENTRY_MEDIA_TYPE, FEED, FEED_MEDIA_TYPE, FIXED, GENERATOR, HREF, HREFLANG, HTML, ICON, ID, LABEL, LANG, LENGTH, LINK, LN_ACCEPT, LN_ALTERNATE, LN_ALTERNATE_MULTIPART_RELATED, LN_AUTHOR, LN_BASE, LN_CATEGORIES, LN_CATEGORY, LN_CLASS, LN_COLLECTION, LN_CONTENT, LN_CONTRIBUTOR, LN_CONTROL, LN_DIV, LN_DRAFT, LN_EDITED, LN_EMAIL, LN_ENTRY, LN_FEED, LN_FIXED, LN_GENERATOR, LN_HREF, LN_HREFLANG, LN_ICON, LN_ID, LN_LABEL, LN_LANG, LN_LENGTH, LN_LINK, LN_LOGO, LN_NAME, LN_PUBLISHED, LN_REL, LN_RIGHTS, LN_SCHEME, LN_SERVICE, LN_SOURCE, LN_SPACE, LN_SRC, LN_SUBTITLE, LN_SUMMARY, LN_TERM, LN_TITLE, LN_TYPE, LN_UPDATED, LN_URI, LN_VERSION, LN_WORKSPACE, LOGO, MULTIPART_RELATED_TYPE, NAME, NAMED_PARSER, NAMED_WRITER, NO, PRE_RFC_ACCEPT, PRE_RFC_CATEGORIES, PRE_RFC_COLLECTION, PRE_RFC_CONTROL, PRE_RFC_DRAFT, PRE_RFC_EDITED, PRE_RFC_SERVICE, PRE_RFC_WORKSPACE, PREFIX, PREFIXED_TITLE, PUBLISHED, REL, RIGHTS, SCHEME, SERVICE, SOURCE, SPACE, SRC, STREAM_WRITER, SUBTITLE, SUMMARY, TERM, TEXT, TITLE, TYPE, UPDATED, URI, VERSION, WORKSPACE, XHTML, XHTML_NS, XML, XML_MEDIA_TYPE, XML_NS, YES
 
Method Summary
protected static List<ExtensionFactory> loadExtensionFactories()
          Deprecated.  
static
<T> Iterable<T>
loadimpls(String sid)
          Deprecated.  
static
<T> Iterable<T>
loadimpls(String sid, boolean classesonly)
          Deprecated.  
static Factory newFactoryInstance(Abdera abdera)
          Deprecated.  
static Object newInstance(String id, String _default, Abdera abdera)
          Deprecated.  
static Object newInstance(String id, String _default, Object... args)
          Deprecated.  
static ParserFactory newParserFactoryInstance(Abdera abdera)
          Deprecated.  
static Parser newParserInstance(Abdera abdera)
          Deprecated.  
static StreamWriter newStreamWriterInstance(Abdera abdera)
          Deprecated.  
static WriterFactory newWriterFactoryInstance(Abdera abdera)
          Deprecated.  
static Writer newWriterInstance(Abdera abdera)
          Deprecated.  
static XPath newXPathInstance(Abdera abdera)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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. 


loadExtensionFactories

protected static List<ExtensionFactory> loadExtensionFactories()
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.



Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.