|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.print.AliasTagBuilder
public class AliasTagBuilder
Name: AliasTagBuilder
Description: Tag builder for tag aliases.
Field Summary |
---|
Fields inherited from interface org.ujac.print.TagBuilder |
---|
ATTR_TAG_NAME |
Constructor Summary | |
---|---|
AliasTagBuilder(String name,
TagBuilder originalBuilder)
Constructs a AliasTagBuilder instance with specific attributes. |
Method Summary | |
---|---|
BaseDocumentTag |
createTag(DocumentHandler documentHandler)
Creates a new tag. |
Collection |
getAliases()
Gets all registered aliases. |
String |
getName()
Gets the name of the tags, this builder creates. |
void |
registerAlias(String alias)
Registers an alias for this tag. |
void |
unregisterAlias(String alias)
Unregisters an alias for this tag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AliasTagBuilder(String name, TagBuilder originalBuilder)
name
- The name of the tag.originalBuilder
- The original tag builder instance.Method Detail |
---|
public String getName()
TagBuilder
getName
in interface TagBuilder
TagBuilder.getName()
public BaseDocumentTag createTag(DocumentHandler documentHandler) throws TagInstantiationException
TagBuilder
createTag
in interface TagBuilder
documentHandler
- The document handler for which to create the tag instance.
TagInstantiationException
- In case the tag instantiation failed.TagBuilder.createTag(org.ujac.print.DocumentHandler)
public Collection getAliases()
TagBuilder
getAliases
in interface TagBuilder
TagBuilder.getAliases()
public void registerAlias(String alias)
TagBuilder
registerAlias
in interface TagBuilder
alias
- The alias to register.TagBuilder.registerAlias(java.lang.String)
public void unregisterAlias(String alias)
TagBuilder
unregisterAlias
in interface TagBuilder
alias
- The alias to unregister.TagBuilder.unregisterAlias(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |