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 URL |
getResource(String resourceName,
Class<?> callingClass)
Load a given resource.
|
static InputStream |
getResourceAsStream(String resourceName,
Class<?> callingClass)
This is a convenience method to load a resource as a stream.
|
static Enumeration<URL> |
getResources(String resourceName,
Class<?> callingClass) |
static Class<?> |
loadClass(String className,
Class<?> callingClass)
Load a class with a given name.
|
static <T> List<T> |
loadimpls(String sid) |
static <T> List<T> |
loadimpls(String sid,
boolean classesonly) |
static Object |
locate(String id,
Abdera abdera)
Locate a class instance for the given id
|
static Object |
locate(String id,
String _default,
Abdera abdera) |
static Object |
locate(String id,
String _default,
Abdera abdera,
Object... args) |
static Object |
locateInstance(String id,
Abdera abdera) |
static Object |
locateInstance(String id,
Abdera abdera,
boolean classesonly) |
static Object |
locateInstance(String id,
Abdera abdera,
Object... args) |
static Enumeration<URL> |
locateResources(String id) |
static InputStream |
locateStream(String id) |
static Factory |
newFactoryInstance(Abdera abdera)
Utility method for returning an instance of the defaul Abdera Factory instance
|
static Object |
newInstance(String id,
String _default,
Abdera abdera)
Returns a new instance of the identified object class.
|
static Object |
newInstance(String id,
String _default,
Abdera abdera,
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 Object newInstance(String id, String _default, Abdera abdera)
public static Object newInstance(String id, String _default, Abdera abdera, 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 Object locate(String id, Abdera abdera)
public static InputStream locateStream(String id)
public static Enumeration<URL> locateResources(String id)
public static URL getResource(String resourceName, Class<?> callingClass)
resourceName
- The name of the resource to loadcallingClass
- The Class object of the calling objectpublic static Enumeration<URL> getResources(String resourceName, Class<?> callingClass) throws IOException
IOException
public static InputStream getResourceAsStream(String resourceName, Class<?> callingClass)
resourceName
- The name of the resource to loadcallingClass
- The Class object of the calling objectpublic static Class<?> loadClass(String className, Class<?> callingClass) throws ClassNotFoundException
className
- The name of the class to loadcallingClass
- The Class object of the calling objectClassNotFoundException
- If the class cannot be found anywhere.Copyright © 2010 - 2020 Adobe. All Rights Reserved