Top Description Interfaces Annotations Classes
[default module]

Package javax.faces.view


Classes for defining a View Declaration Language (VDL) for authoring JavaServer Faces user interfaces. The root class in this package is ViewDeclarationLanguageFactory. Interfaces and classes required for the Facelets for JSF 2 implementation are also defined in package javax.faces.view.facelets.

Interface Summary

Modifier and TypeInterface and Description
public interface
ActionSource2AttachedObjectHandler

A VDL handler that exposes javax.faces.event.ActionListener to a page author.

public interface
ActionSource2AttachedObjectTarget

A marker interface for VDL tags that represent <composite:actionSource/> for use by the composite component page author.

public interface
AttachedObjectHandler

The abstract base interface for a handler representing an attached object in a VDL page.

public interface
AttachedObjectTarget

Within the declaration of a composite component, an AttachedObjectTarget allows the composite component author to expose the semantics of an inner component to the page author without exposing the rendering or implementation details of the inner component.

public interface
BehaviorHolderAttachedObjectHandler

Represent an attached object that is a BehaviorHolder in a VDL page.

public interface
BehaviorHolderAttachedObjectTarget

Represent a BehaviorHolder attached object target in a VDL page.

public interface
public interface
EditableValueHolderAttachedObjectTarget

A marker interface for VDL tags that represent <composite:editableValueHolder/> for use by the composite component page author.

public interface
ValueHolderAttachedObjectHandler

A VDL handler that exposes javax.faces.convert.Converter to a page author.

public interface
ValueHolderAttachedObjectTarget

A marker interface for VDL tags that represent <composite:valueHolder/> for use by the composite component page author.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
ViewScoped

When this annotation, along with javax.inject.Named is found on a class, the runtime must place the bean in a CDI scope such that it remains active as long as javax.faces.application.NavigationHandler#handleNavigation does not cause a navigation to a view with a viewId that is different than the viewId of the current view.

Class Summary

Modifier and TypeClass and Description
public class
Location

An object that represents the Location of a tag or attribute of a tag in a View Declaration Language file.

public abstract class
StateManagementStrategy

Encapsulate the saving and restoring of the view to enable the VDL to take over the responsibility for handling this feature.

public abstract class
ViewDeclarationLanguage

The contract that a view declaration language must implement to interact with the JSF runtime.

public abstract class
ViewDeclarationLanguageFactory

ViewDeclarationLanguageFactory is a factory object that creates (if needed) and returns a new ViewDeclarationLanguage instance based on the VDL found in a specific view.

public abstract class
ViewDeclarationLanguageWrapper

Provides a simple implementation of ViewDeclarationLanguage that can be subclassed by developers wishing to provide specialized behavior to an existing ViewDeclarationLanguage instance.

public abstract class
ViewMetadata

ViewMetadata is reponsible for extracting and providing view parameter metadata from VDL views.