|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport org.dlese.dpc.vocab.tags.opml.MetadataVocabTag
public class MetadataVocabTag
Default tag handler for rendering controlled vocabularies. All other vocab tags should extend this! This is the predecessor to the terms/groups system, using OPML (and "format/version/audience/language" groupings instead of "system.interface.language"), and providing a cleaner and more thorough set of methods for accessing mappings between metadata vocabulary encoded IDs and their term names.
Field Summary | |
---|---|
protected String |
audience
|
protected String |
field
|
protected String |
language
|
protected String |
metaFormat
|
protected String |
metaVersion
|
protected StringUtil |
stringUtil
|
protected String |
subGroup
|
protected String |
system
|
protected MetadataVocab |
vocab
|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
MetadataVocabTag()
|
Method Summary | |
---|---|
void |
release()
Release from memory |
void |
setAudience(String audience)
Audience is a user group, i.e. |
void |
setField(String field)
Sets the field attribute of the MetadataVocabTag object |
void |
setLanguage(String language)
Language will allow for support of internationalization. |
void |
setMetaFormat(String metaFormat)
MetaFormat is the metadata format, i.e. |
void |
setSubGroup(String subGroup)
SubGroup is used to reference a particular spot WITHIN the vocabulary hierarchy, for example, setting "Visual" for a call to the resource types vocab would return only those values within the "Visual" sub-grouping as defined in the OPML. |
void |
setupTag(PageContext pageContext)
Get the vocab object from the page context and expand system to be a concatenation of system, interface, and language |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String audience
protected String metaFormat
protected String metaVersion
protected String language
protected String system
protected String field
protected String subGroup
protected MetadataVocab vocab
protected StringUtil stringUtil
Constructor Detail |
---|
public MetadataVocabTag()
Method Detail |
---|
public void setAudience(String audience)
audience
- The new audience valuepublic void setMetaFormat(String metaFormat)
metaFormat
- The new metaFormat valuepublic void setLanguage(String language)
language
- The new language valuepublic void setField(String field)
field
- The new field valuepublic void setSubGroup(String subGroup)
subGroup
- The new subGroup valuepublic void setupTag(PageContext pageContext) throws JspException
pageContext
-
JspException
public void release()
release
in interface Tag
release
in class TagSupport
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |