public class ContentEl extends XmlConfigurableBase implements Resource
| Modifier and Type | Field and Description |
|---|---|
static Resource |
NULL_CONTENT
Null-Object to use instead of null if necessary
|
| Constructor and Description |
|---|
ContentEl() |
ContentEl(XmlElement element) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(XmlElement element)
Configures the class using specified XML element.
|
List<Resource> |
getResources()
Returns resources represented by this content.
|
Reader |
open()
Opens a resource and returns a content reader.
|
String |
toString() |
assertRequiredFieldPresent, assertRequiredFieldPresent, findGetter, findSetter, getLocation, load, loadClass, setLocation, setLocation, setPatternProperty, setPatternProperty, setProperty, setProperty, setRequiredProperty, setRequiredPropertypublic static final Resource NULL_CONTENT
public ContentEl()
public ContentEl(XmlElement element)
public Reader open() throws IOException
ResourceThe returned reader implementation should be effective enough to allow usage without extra buffering, etc.
open in interface ResourceIOException - if I/O error occurs.public void configure(XmlElement element)
XmlConfigurableconfigure in interface XmlConfigurableelement - XML element.public List<Resource> getResources()
Copyright © 2006-2012. All Rights Reserved.