|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jett.tag.TagLibraryRegistry
public class TagLibraryRegistry
A TagLibraryRegistry represents a registry for all
TagLibraries containing Tags.
| Constructor Summary | |
|---|---|
TagLibraryRegistry()
Construct a TagLibraryRegistry. |
|
| Method Summary | |
|---|---|
Tag |
createTag(TagParser parser,
TagContext context,
WorkbookContext workbookContext)
Creates a Tag, looking in a specific namespace for a class
matching a specific tag name. |
void |
registerTagLibrary(java.lang.String namespace,
TagLibrary library)
Add the given TagLibrary to the registry, associated with
the given namespace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TagLibraryRegistry()
TagLibraryRegistry.
| Method Detail |
|---|
public void registerTagLibrary(java.lang.String namespace,
TagLibrary library)
TagLibrary to the registry, associated with
the given namespace.
namespace - The namespace.library - The TagLibrary to register.
java.lang.IllegalArgumentException - If the namespace has already been
registered.
public Tag createTag(TagParser parser,
TagContext context,
WorkbookContext workbookContext)
Tag, looking in a specific namespace for a class
matching a specific tag name. The given TagParser supplies
the namespace, the tag name, and the attributes. If found, this creates
the Tag and gives it the given TagContext, else
it returns null.
parser - A TagParser that has parsed tag text.context - The TagContext.workbookContext - The WorkbookContext.
Tag, or null if it couldn't be
created.
TagParseException - If there was a problem instantiating the
desired Tag.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||