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
Modifier and Type | Method and Description |
---|---|
static java.net.URL |
getResource(java.lang.String resourceName,
java.lang.Class<?> callingClass)
Load a given resource.
|
static java.io.InputStream |
getResourceAsStream(java.lang.String resourceName,
java.lang.Class<?> callingClass)
This is a convenience method to load a resource as a stream.
|
static java.util.Enumeration<java.net.URL> |
getResources(java.lang.String resourceName,
java.lang.Class<?> callingClass) |
static java.lang.Class<?> |
loadClass(java.lang.String className,
java.lang.Class<?> callingClass)
Load a class with a given name.
|
static <T> java.util.List<T> |
loadimpls(java.lang.String sid) |
static <T> java.util.List<T> |
loadimpls(java.lang.String sid,
boolean classesonly) |
static java.lang.Object |
locate(java.lang.String id,
Abdera abdera)
Locate a class instance for the given id
|
static java.lang.Object |
locate(java.lang.String id,
java.lang.String _default,
Abdera abdera) |
static java.lang.Object |
locate(java.lang.String id,
java.lang.String _default,
Abdera abdera,
java.lang.Object... args) |
static java.lang.Object |
locateInstance(java.lang.String id,
Abdera abdera) |
static java.lang.Object |
locateInstance(java.lang.String id,
Abdera abdera,
boolean classesonly) |
static java.lang.Object |
locateInstance(java.lang.String id,
Abdera abdera,
java.lang.Object... args) |
static java.util.Enumeration<java.net.URL> |
locateResources(java.lang.String id) |
static java.io.InputStream |
locateStream(java.lang.String id) |
static Factory |
newFactoryInstance(Abdera abdera)
Utility method for returning an instance of the defaul Abdera Factory instance
|
static java.lang.Object |
newInstance(java.lang.String id,
java.lang.String _default,
Abdera abdera)
Returns a new instance of the identified object class.
|
static java.lang.Object |
newInstance(java.lang.String id,
java.lang.String _default,
Abdera abdera,
java.lang.Object... args)
Returns a new instance of the identified object class.
|
static org.apache.abdera.parser.ParserFactory |
newParserFactoryInstance(Abdera abdera) |
static org.apache.abdera.parser.Parser |
newParserInstance(Abdera abdera)
Utility method for returning an instance of the default Abdera Parser instance
|
static StreamWriter |
newStreamWriterInstance(Abdera abdera) |
static WriterFactory |
newWriterFactoryInstance(Abdera abdera) |
static Writer |
newWriterInstance(Abdera abdera) |
static XPath |
newXPathInstance(Abdera abdera)
Utility method for returning an instance of the default Abdera XPath instance
|
public static java.lang.Object newInstance(java.lang.String id, java.lang.String _default, Abdera abdera)
public static java.lang.Object newInstance(java.lang.String id, java.lang.String _default, Abdera abdera, java.lang.Object... args)
public static XPath newXPathInstance(Abdera abdera)
public static org.apache.abdera.parser.Parser newParserInstance(Abdera abdera)
public static Factory newFactoryInstance(Abdera abdera)
public static org.apache.abdera.parser.ParserFactory newParserFactoryInstance(Abdera abdera)
public static WriterFactory newWriterFactoryInstance(Abdera abdera)
public static StreamWriter newStreamWriterInstance(Abdera abdera)
public static java.lang.Object locate(java.lang.String id, java.lang.String _default, Abdera abdera)
public static java.lang.Object locate(java.lang.String id, java.lang.String _default, Abdera abdera, java.lang.Object... args)
public static java.lang.Object locate(java.lang.String id, Abdera abdera)
public static java.lang.Object locateInstance(java.lang.String id, Abdera abdera)
public static java.lang.Object locateInstance(java.lang.String id, Abdera abdera, boolean classesonly)
public static java.lang.Object locateInstance(java.lang.String id, Abdera abdera, java.lang.Object... args)
public static java.io.InputStream locateStream(java.lang.String id)
public static java.util.Enumeration<java.net.URL> locateResources(java.lang.String id)
public static <T> java.util.List<T> loadimpls(java.lang.String sid)
public static <T> java.util.List<T> loadimpls(java.lang.String sid, boolean classesonly)
public static java.net.URL getResource(java.lang.String resourceName, java.lang.Class<?> callingClass)
resourceName
- The name of the resource to loadcallingClass
- The Class object of the calling objectpublic static java.util.Enumeration<java.net.URL> getResources(java.lang.String resourceName, java.lang.Class<?> callingClass) throws java.io.IOException
java.io.IOException
public static java.io.InputStream getResourceAsStream(java.lang.String resourceName, java.lang.Class<?> callingClass)
resourceName
- The name of the resource to loadcallingClass
- The Class object of the calling objectpublic static java.lang.Class<?> loadClass(java.lang.String className, java.lang.Class<?> callingClass) throws java.lang.ClassNotFoundException
className
- The name of the class to loadcallingClass
- The Class object of the calling objectjava.lang.ClassNotFoundException
- If the class cannot be found anywhere.Copyright © 2010 - 2020 Adobe. All Rights Reserved