Skip navigation links
org.apache.myfaces.trinidad.change
Class AddComponentDocumentChange
java.lang.Object
org.apache.myfaces.trinidad.change.AddComponentDocumentChange
- All Implemented Interfaces:
- DocumentChange
- Direct Known Subclasses:
- AddChildDocumentChange, SetFacetChildDocumentChange
-
public abstract class AddComponentDocumentChange
- extends java.lang.Object
- implements DocumentChange
Base class for specialized DocumentChanges that when applied will add a component instance to the component tree.
| Method Summary |
protected org.w3c.dom.DocumentFragment |
getComponentFragment()
Returns the component that is to be added either as a child or a facet while applying this Change. |
boolean |
getForcesDocumentReload()
Returns true if adding the DocumentChange should force the JSP Document to reload |
protected org.w3c.dom.DocumentFragment |
getImportedComponentFragment(org.w3c.dom.Node targetNode)
Given the target Node, return the DocumentFragment, imported into the target Document |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddComponentDocumentChange
protected AddComponentDocumentChange(org.w3c.dom.DocumentFragment fragment)
getForcesDocumentReload
public boolean getForcesDocumentReload()
- Returns true if adding the DocumentChange should force the JSP Document to reload
-
- Specified by:
getForcesDocumentReload in interface DocumentChange
getComponentFragment
protected final org.w3c.dom.DocumentFragment getComponentFragment()
- Returns the component that is to be added either as a child or a facet while applying this Change. Returns null if the component cannot be successfully re-constructed.
getImportedComponentFragment
protected final org.w3c.dom.DocumentFragment getImportedComponentFragment(org.w3c.dom.Node targetNode)
- Given the target Node, return the DocumentFragment, imported into the target Document
-
- Parameters:
targetNode -
Skip navigation links
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.