|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscriptella.configuration.XmlConfigurableBase
scriptella.configuration.ContentEl
public class ContentEl
TODO: Add documentation
| Field Summary | |
|---|---|
static Resource |
NULL_CONTENT
Null-Object to use instead of null if necessary |
| Constructor Summary | |
|---|---|
ContentEl()
|
|
ContentEl(XmlElement element)
|
|
| Method Summary | |
|---|---|
void |
configure(XmlElement element)
Configures the class using specified XML element. |
java.util.List<Resource> |
getResources()
Returns resources represented by this content. |
java.io.Reader |
open()
Opens a resource and returns a content reader. |
java.lang.String |
toString()
|
| Methods inherited from class scriptella.configuration.XmlConfigurableBase |
|---|
assertRequiredFieldPresent, assertRequiredFieldPresent, findGetter, findSetter, getLocation, load, loadClass, setLocation, setLocation, setPatternProperty, setPatternProperty, setProperty, setProperty, setRequiredProperty, setRequiredProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Resource NULL_CONTENT
| Constructor Detail |
|---|
public ContentEl()
public ContentEl(XmlElement element)
| Method Detail |
|---|
public java.io.Reader open()
throws java.io.IOException
ResourceThe returned reader implementation should be effective enough to allow usage without extra buffering, etc.
open in interface Resourcejava.io.IOException - if I/O error occurs.public void configure(XmlElement element)
XmlConfigurable
configure in interface XmlConfigurableelement - XML element.public java.util.List<Resource> getResources()
public java.lang.String toString()
toString in interface ResourcetoString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||