public abstract class DefRef<T>
extends java.lang.Object
implements com.technia.common.xml.XMLReadable, com.technia.tvc.core.util.cache.loader.ResourceSource
| Constructor and Description |
|---|
DefRef(java.lang.String name,
java.util.Date lastModified) |
DefRef(java.lang.String name,
java.util.Date lastModified,
java.lang.String expectedElement) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
create(com.technia.common.xml.XMLReader reader) |
T |
getDefinition() |
java.lang.String |
getName() |
java.util.Date |
getResourceLastModified() |
void |
initialize(com.technia.common.xml.XMLReader reader) |
public DefRef(java.lang.String name,
java.util.Date lastModified)
public DefRef(java.lang.String name,
java.util.Date lastModified,
java.lang.String expectedElement)
public java.lang.String getName()
public java.util.Date getResourceLastModified()
getResourceLastModified in interface com.technia.tvc.core.util.cache.loader.ResourceSourcepublic T getDefinition()
public final void initialize(com.technia.common.xml.XMLReader reader)
throws com.technia.common.xml.XMLException
initialize in interface com.technia.common.xml.XMLReadablecom.technia.common.xml.XMLExceptionprotected abstract T create(com.technia.common.xml.XMLReader reader) throws com.technia.common.xml.XMLException
com.technia.common.xml.XMLException