org.apache.myfaces.html5.handler
Class MediaSourceHandler

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by org.apache.myfaces.html5.handler.MediaSourceHandler
All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler

@JSFFaceletTag(name="fx:mediaSource")
public class MediaSourceHandler
extends javax.faces.view.facelets.TagHandler

Provides media sources for media components. This should be nested inside of an instance of MediaSourceHolder . Creates a MediaInfo and adds it to parent component's media info set.
Even if 'disabled' is set to true, created MediaInfo instance will be added. In this case, renderer of the parent media component should ignore that instance.

Author:
Ali Ok
See Also:
MediaSourceHolder

Field Summary
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
MediaSourceHandler(javax.faces.view.facelets.TagConfig config)
           
 
Method Summary
 void apply(javax.faces.view.facelets.FaceletContext faceletContext, javax.faces.component.UIComponent parent)
           
 
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
 

Constructor Detail

MediaSourceHandler

public MediaSourceHandler(javax.faces.view.facelets.TagConfig config)
Method Detail

apply

public void apply(javax.faces.view.facelets.FaceletContext faceletContext,
                  javax.faces.component.UIComponent parent)
           throws IOException
Throws:
IOException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.