public class IncludeEl extends XmlConfigurableBase implements Resource
include
XML configuration element.Constructor and Description |
---|
IncludeEl(XmlElement element) |
Modifier and Type | Method and Description |
---|---|
void |
configure(XmlElement element)
Configures the class using specified XML element.
|
java.lang.String |
getCharset() |
FallbackEl |
getFallbackEl() |
java.lang.String |
getHref() |
java.io.Reader |
open()
Opens a resource and returns a content reader.
|
void |
setCharset(java.lang.String charset) |
void |
setFallbackEl(FallbackEl fallbackEl) |
void |
setHref(java.lang.String href) |
void |
setPropertiesSubstitutor(PropertiesSubstitutor substitutor)
Sets the properties substitutor to expand properties inside href attribute.
|
assertRequiredFieldPresent, assertRequiredFieldPresent, findGetter, findSetter, getLocation, load, loadClass, setLocation, setLocation, setPatternProperty, setPatternProperty, setProperty, setProperty, setRequiredProperty, setRequiredProperty
public IncludeEl(XmlElement element)
public java.lang.String getHref()
public void setHref(java.lang.String href)
public java.lang.String getCharset()
public void setCharset(java.lang.String charset)
public FallbackEl getFallbackEl()
public void setFallbackEl(FallbackEl fallbackEl)
public void setPropertiesSubstitutor(PropertiesSubstitutor substitutor)
substitutor
- properties substitutor.public void configure(XmlElement element)
XmlConfigurable
configure
in interface XmlConfigurable
element
- XML 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.
Copyright © Copyright 2006-2019 The Scriptella Project Team.