javax.faces.view.facelets
Class Metadata

java.lang.Object
  extended by javax.faces.view.facelets.Metadata

public abstract class Metadata
extends java.lang.Object

There are concrete subclasses within the implementation that map concepts in the Facelet VDL page to JSF Java API calls the appropriate instances. For example, the “validator” attribute on an input component is specified to point to a MethodExpression that references a method that performs the validation. There is a concrete subclass of Metadata to perform this action when that attribute appears in a Facelet VDL page.

Since:
2.0

Constructor Summary
Metadata()
           
 
Method Summary
abstract  void applyMetadata(FaceletContext ctx, java.lang.Object instance)
          

Take the action prescribed in the JSF specification for this particular VDL element attribute.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Metadata

public Metadata()
Method Detail

applyMetadata

public abstract void applyMetadata(FaceletContext ctx,
                                   java.lang.Object instance)

Take the action prescribed in the JSF specification for this particular VDL element attribute.

Parameters:
ctx - The FaceletContext for this request.
instance - The instance from the JSF Java API on which the action should be taken. For example, an instance of EditableValueHolder.


Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34