public class SetFacetChildDocumentChange extends AddComponentDocumentChange
| Constructor and Description |
|---|
SetFacetChildDocumentChange(String facetName,
DocumentFragment fragment)
Constructs an AddFacetDocumentChange with the specified child component mark up and
the name of the facet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeDocument(Node componentNode)
Given the DOM Node representing a Component, apply any necessary
DOM changes.
|
String |
getFacetName()
Returns the identifier of the sibling before which this new child needs to
be inserted.
|
boolean |
getForcesDocumentReload()
Returns true if adding the DocumentChange should force the JSP Document
to reload
|
getComponentFragment, getImportedComponentFragmentpublic SetFacetChildDocumentChange(String facetName, DocumentFragment fragment)
facetName - Name of facet to create the child component infragment - DOM mark up for child component to be inserted.IllegalArgumentException - if facetName or componentFragment is
nullpublic String getFacetName()
public void changeDocument(Node componentNode)
componentNode - DOM node of the component to apply the change topublic boolean getForcesDocumentReload()
getForcesDocumentReload in interface DocumentChangegetForcesDocumentReload in class AddComponentDocumentChangeCopyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.