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.
|
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() |
assertRequiredFieldPresent, assertRequiredFieldPresent, findGetter, findSetter, getLocation, load, loadClass, setLocation, setLocation, setPatternProperty, setPatternProperty, setProperty, setProperty, setRequiredProperty, setRequiredProperty
public static final Resource NULL_CONTENT
public ContentEl()
public ContentEl(XmlElement element)
public java.io.Reader open() throws java.io.IOException
Resource
The returned reader implementation should be effective enough to allow usage without extra buffering, etc.
public void configure(XmlElement element)
XmlConfigurable
configure
in interface XmlConfigurable
element
- XML element.public java.util.List<Resource> getResources()
Copyright © Copyright 2006-2019 The Scriptella Project Team.