|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtensionFactory
Extension Factories are used to provide a means of dynamically resolving builders for namespaced extension elements
There are four ways of supporting extension elements.
Registering an Extension Factory requires generally nothing more than implementing ExtensionFactory and then creating the file META-INF/services/org.apache.abdera.factory.ExtensionFactory and listing the class names of each ExtensionFactory you wish to register.
Method Summary | ||
---|---|---|
|
getElementWrapper(Element internal)
Retrieve an ElementWrapper for the specified Element or return the parameter itself if a wrapper could not be retrieved |
|
|
getMimeType(T base)
Retrieve the mime type for the element |
|
java.lang.String[] |
getNamespaces()
Returns the Namespace URIs handled by this Extension Factory |
|
boolean |
handlesNamespace(java.lang.String namespace)
Returns true if this extension factory handles the specified namespace |
Method Detail |
---|
boolean handlesNamespace(java.lang.String namespace)
java.lang.String[] getNamespaces()
<T extends Element> T getElementWrapper(Element internal)
<T extends Base> java.lang.String getMimeType(T base)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |