|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.logabit.webtools.patchwork.content.XmlFileContentProvider
public class XmlFileContentProvider
This content provider looks up the given path to a xml file resource, parses it and then returns it as DOM object.
| Field Summary |
|---|
| Fields inherited from interface com.logabit.webtools.patchwork.content.ContentProvider |
|---|
ROLE |
| Constructor Summary | |
|---|---|
XmlFileContentProvider()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getContent(ContentProviderDescriptor descriptor)
Loads and returns the content object. |
void |
service(org.apache.avalon.framework.service.ServiceManager serviceManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlFileContentProvider()
| Method Detail |
|---|
public java.lang.Object getContent(ContentProviderDescriptor descriptor)
throws ContentProviderException
ContentProvider
getContent in interface ContentProviderdescriptor - - The content descriptor.
ContentProviderException - - If something went wrong in
preparing and returning the content object.
public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||