|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceType
Nested Class Summary | |
---|---|
static class |
ResourceType.Sample
A resource type sample. |
Field Summary | |
---|---|
static java.lang.String |
I18N_PREFIX
Prefix for translating the resource type name, e.g. |
static java.lang.String |
ROLE
The Avalon service role. |
Method Summary | |
---|---|
java.util.Date |
getExpires()
Returns the date at which point the requested resource is considered expired |
java.lang.String[] |
getFormats()
|
java.lang.String |
getFormatURI(java.lang.String format)
|
java.lang.String[] |
getLinkAttributeXPaths()
Returns an array of XPaths representing attributes to be rewritten when a document URL has changed. |
java.lang.String |
getName()
Returns the name of this document type. |
ResourceType.Sample |
getSample(java.lang.String name)
|
java.lang.String[] |
getSampleNames()
|
Schema |
getSchema()
|
void |
setName(java.lang.String name)
|
Field Detail |
---|
static final java.lang.String ROLE
static final java.lang.String I18N_PREFIX
Method Detail |
---|
java.util.Date getExpires()
java.lang.String getName()
Schema getSchema()
java.lang.String[] getLinkAttributeXPaths()
java.lang.String[] getSampleNames()
ResourceType.Sample getSample(java.lang.String name)
name
- The name.
void setName(java.lang.String name)
name
- The name of the resource type.java.lang.String[] getFormats()
java.lang.String getFormatURI(java.lang.String format)
format
- The format.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |