public abstract class AutoContentProvider extends Object implements Domable, Editable
AutoContentProvider
object rely on it to build its contents on every
start.Modifier and Type | Field and Description |
---|---|
static String |
BASE_CLASS |
static String |
BASE_CLASS_TAG |
static String |
ELEMENT_NAME |
Constructor and Description |
---|
AutoContentProvider() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkClient(String contentProviderClassName,
Class clientClass) |
abstract boolean |
generateContent(Object kit,
ResourceBridge rb) |
static AutoContentProvider |
getAutoContentProvider(Element e) |
static AutoContentProvider |
getAutoContentProvider(String className) |
static Class |
getAutoContentProviderClass(String className) |
Editor |
getEditor(Editor parent)
Returns the
Editor associated to this object. |
Element |
getJDomElement() |
String |
getShortClassName() |
void |
init(ResourceBridge rb) |
void |
init(ResourceBridge rb,
FileSystem fs) |
void |
innerListReferences(Map<String,String> map) |
static void |
listReferences(Element e,
Map<String,String> map) |
boolean |
setClic3Properties(byte[] data) |
abstract void |
setProperties(Element e,
Object aux) |
public static final String ELEMENT_NAME
public static final String BASE_CLASS
public static final String BASE_CLASS_TAG
public abstract void setProperties(Element e, Object aux) throws Exception
setProperties
in interface Domable
Exception
public boolean setClic3Properties(byte[] data)
public static AutoContentProvider getAutoContentProvider(Element e) throws Exception
Exception
public static AutoContentProvider getAutoContentProvider(String className) throws Exception
Exception
public static Class getAutoContentProviderClass(String className) throws Exception
Exception
public Element getJDomElement()
getJDomElement
in interface Domable
public String getShortClassName()
public void init(ResourceBridge rb, FileSystem fs)
public void init(ResourceBridge rb)
public abstract boolean generateContent(Object kit, ResourceBridge rb)
public Editor getEditor(Editor parent)
Editable
Editor
associated to this object.public static void listReferences(Element e, Map<String,String> map) throws Exception
Exception
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.