IT. Expert System.

Java Enterprise Edition (EE)

DelegatingMetaTagHandler


javax.faces.view.facelets
Class DelegatingMetaTagHandler

java.lang.Object
  javax.faces.view.facelets.TagHandler
      javax.faces.view.facelets.MetaTagHandler
          javax.faces.view.facelets.DelegatingMetaTagHandler
All Implemented Interfaces:
FaceletHandler
Direct Known Subclasses:
ComponentHandler, FaceletsAttachedObjectHandler
public abstract class DelegatingMetaTagHandler
extends MetaTagHandler

Enable the JSF implementation to provide the appropriate behavior for the kind of MetaTagHandler subclass for each kind of element in the view, while providing a base-class from which those wanting to make a Java language custom tag handler can inherit. The JSF runtime provides the implementation of getTagHandlerDelegate() for the appropriate subclass.

Field Summary
protected  TagHandlerDelegateFactory delegateFactory
           
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
DelegatingMetaTagHandler(TagConfig config)
           
 
Method Summary
 void apply(FaceletContext ctx, UIComponent parent)
          

The default implementation simply calls through to TagHandlerDelegate#apply.

 void applyNextHandler(FaceletContext ctx, UIComponent c)
           
protected  MetaRuleset createMetaRuleset(java.lang.Class type)
          

The default implementation simply calls through to TagHandlerDelegate#createMetaRuleset and returns the result.

 TagAttribute getBinding()
           
 Tag getTag()
           
 TagAttribute getTagAttribute(java.lang.String localName)
           
protected abstract  TagHandlerDelegate getTagHandlerDelegate()
           
 java.lang.String getTagId()
           
 boolean isDisabled(FaceletContext ctx)
           
 void setAttributes(FaceletContext ctx, java.lang.Object instance)
          Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.
 
Methods inherited from class javax.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

delegateFactory

protected TagHandlerDelegateFactory delegateFactory
Constructor Detail

DelegatingMetaTagHandler

public DelegatingMetaTagHandler(TagConfig config)
Method Detail

getTagHandlerDelegate

protected abstract TagHandlerDelegate getTagHandlerDelegate()

isDisabled

public boolean isDisabled(FaceletContext ctx)

getBinding

public TagAttribute getBinding()

getTag

public Tag getTag()

getTagId

public java.lang.String getTagId()

getTagAttribute

public TagAttribute getTagAttribute(java.lang.String localName)

setAttributes

public void setAttributes(FaceletContext ctx,
                          java.lang.Object instance)
Description copied from class: MetaTagHandler
Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.

Overrides:
setAttributes in class MetaTagHandler

apply

public void apply(FaceletContext ctx,
                  UIComponent parent)
           throws java.io.IOException

The default implementation simply calls through to TagHandlerDelegate#apply.

Parameters:
ctx - the FaceletContext for this view execution
parent - the parent UIComponent of the component represented by this element instance.
Throws:
java.io.IOException - if unable to load relativePath
Since:
2.0

applyNextHandler

public void applyNextHandler(FaceletContext ctx,
                             UIComponent c)
                      throws java.io.IOException,
                             FacesException,
                             ELException
Throws:
java.io.IOException
FacesException
ELException

createMetaRuleset

protected MetaRuleset createMetaRuleset(java.lang.Class type)

The default implementation simply calls through to TagHandlerDelegate#createMetaRuleset and returns the result.

Specified by:
createMetaRuleset in class MetaTagHandler
Parameters:
type - the Class for which the MetaRuleset must be created.
Since:
2.0


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 39 / . Delta: 0.00770 с