private static final class DefaultFaceletContext.TemplateManager extends java.lang.Object implements TemplateClient
Modifier and Type | Field and Description |
---|---|
private java.util.Set<java.lang.String> |
names |
private DefaultFacelet |
owner |
private boolean |
root |
private TemplateClient |
target |
Constructor and Description |
---|
TemplateManager(DefaultFacelet owner,
TemplateClient target,
boolean root) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
java.lang.String name)
This contract is much like the normal FaceletHandler.apply method, but it
takes in an optional String name which tells this instance what
fragment/definition it's looking for.
|
boolean |
equals(java.lang.Object o) |
boolean |
isRoot() |
private final DefaultFacelet owner
private final TemplateClient target
private final boolean root
private final java.util.Set<java.lang.String> names
public TemplateManager(DefaultFacelet owner, TemplateClient target, boolean root)
public boolean apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, java.lang.String name) throws java.io.IOException
TemplateClient
apply
in interface TemplateClient
ctx
- the FaceletContext of your instance, not the
templates'parent
- current UIComponent instance to be appliedname
- the String name or null if the whole body should be includedjava.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean isRoot()
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.