Package org.apache.abdera.util
Class ServiceUtil
java.lang.Object
org.apache.abdera.util.ServiceUtil
- All Implemented Interfaces:
Constants
Deprecated.
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
Modifier and TypeMethodDescriptionstatic <T> Iterable<T> Deprecated.static <T> Iterable<T> Deprecated.static FactorynewFactoryInstance(Abdera abdera) Deprecated.static ObjectnewInstance(String id, String _default, Object... args) Deprecated.static ObjectnewInstance(String id, String _default, Abdera abdera) Deprecated.static ParserFactorynewParserFactoryInstance(Abdera abdera) Deprecated.static ParsernewParserInstance(Abdera abdera) Deprecated.static StreamWriternewStreamWriterInstance(Abdera abdera) Deprecated.static WriterFactorynewWriterFactoryInstance(Abdera abdera) Deprecated.static WriternewWriterInstance(Abdera abdera) Deprecated.static XPathnewXPathInstance(Abdera abdera) Deprecated.
-
Method Details
-
newXPathInstance
Deprecated.Utility method for returning an instance of the default Abdera XPath instance -
newParserInstance
Deprecated.Utility method for returning an instance of the default Abdera Parser instance -
newFactoryInstance
Deprecated.Utility method for returning an instance of the defaul Abdera Factory instance -
newParserFactoryInstance
Deprecated. -
newWriterFactoryInstance
Deprecated. -
newWriterInstance
Deprecated. -
newStreamWriterInstance
Deprecated. -
loadimpls
Deprecated. -
loadimpls
Deprecated. -
newInstance
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
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.
-