Package org.apache.abdera.util
Class ServiceUtil
- java.lang.Object
-
- org.apache.abdera.util.ServiceUtil
-
-
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
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> java.lang.Iterable<T>
loadimpls(java.lang.String sid)
Deprecated.static <T> java.lang.Iterable<T>
loadimpls(java.lang.String sid, boolean classesonly)
Deprecated.static Factory
newFactoryInstance(Abdera abdera)
Deprecated.static java.lang.Object
newInstance(java.lang.String id, java.lang.String _default, java.lang.Object... args)
Deprecated.static java.lang.Object
newInstance(java.lang.String id, java.lang.String _default, Abdera abdera)
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.
-
-
-
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.
-
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.
-
-