Top Fields Constructors Methods
com.sun.faces.facelets.compiler

pack-priv Class TagUnit

extends CompilationUnit
implements TagConfig
Class Inheritance
All Implemented Interfaces
jakarta.faces.view.facelets.TagConfig
Known Direct Subclasses
com.sun.faces.facelets.compiler.TrimmedTagUnit, com.sun.faces.facelets.compiler.InterfaceUnit
Imports
com.sun.faces.facelets.tag.TagLibrary, com.sun.faces.facelets.tag.ui.UILibrary, jakarta.faces.view.facelets.FaceletException, .FaceletHandler, .Tag, .TagConfig

Author
Jacob Hookom
Version
$Id$

Field Summary

Modifier and TypeField and Description
private final String
private final TagLibrary
private final String
private final String
private final Tag
Inherited from com.sun.faces.facelets.compiler.CompilationUnit:
LEAF

Constructor Summary

AccessConstructor and Description
public
TagUnit(TagLibrary library, String namespace, String name, Tag tag, String id)

Method Summary

Modifier and TypeMethod and Description
public FaceletHandler
public FaceletHandler
getNextHandler()

Implements jakarta.faces.view.facelets.TagConfig.getNextHandler.

The next FaceletHandler (child or children) to be applied.

public Tag
getTag()

Implements jakarta.faces.view.facelets.TagConfig.getTag.

Return the Tag representing this handler.

public String
getTagId()

Implements jakarta.faces.view.facelets.TagConfig.getTagId.

A document-unique id, follows the convention "_tagId##"

protected void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from com.sun.faces.facelets.compiler.CompilationUnit:
addChildfinishNotifygetNextFaceletHandlerremoveChildren

Field Detail

idback to summary
private final String id
libraryback to summary
private final TagLibrary library
nameback to summary
private final String name
namespaceback to summary
private final String namespace
tagback to summary
private final Tag tag

Constructor Detail

TagUnitback to summary
public TagUnit(TagLibrary library, String namespace, String name, Tag tag, String id)

Method Detail

createFaceletHandlerback to summary
public FaceletHandler createFaceletHandler()

Overrides com.sun.faces.facelets.compiler.CompilationUnit.createFaceletHandler.

Annotations
@Override
getNextHandlerback to summary
public FaceletHandler getNextHandler()

Implements jakarta.faces.view.facelets.TagConfig.getNextHandler.

Doc from jakarta.faces.view.facelets.TagConfig.getNextHandler.

The next FaceletHandler (child or children) to be applied. This must never be null.

Returns:FaceletHandler

the next FaceletHandler to be applied

Annotations
@Override
getTagback to summary
public Tag getTag()

Implements jakarta.faces.view.facelets.TagConfig.getTag.

Doc from jakarta.faces.view.facelets.TagConfig.getTag.

Return the Tag representing this handler.

Returns:Tag

the Tag instance

Annotations
@Override
getTagIdback to summary
public String getTagId()

Implements jakarta.faces.view.facelets.TagConfig.getTagId.

Doc from jakarta.faces.view.facelets.TagConfig.getTagId.

A document-unique id, follows the convention "_tagId##"

Returns:String

the id of this tag, unique within the current document.

Annotations
@Override
startNotifyback to summary
protected void startNotify(CompilationManager manager)

Overrides com.sun.faces.facelets.compiler.CompilationUnit.startNotify.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override