public class AddChildDocumentChange extends AddComponentDocumentChange
| Constructor and Description | 
|---|
| AddChildDocumentChange(DocumentFragment componentFragment)Constructs an AddChildDocumentChange with the specified child component 
  mark up. | 
| AddChildDocumentChange(String insertBeforeId,
                      DocumentFragment componentFragment)Constructs an AddChildDocumentChange with the specified child component 
  mark up and the identifier of the neighbour. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | changeDocument(Node componentNode)Given the DOM Node representing a Component, apply any necessary
 DOM changes. | 
| String | getInsertBeforeId()Returns the identifier of the sibling before which this new child needs to
  be inserted. | 
getComponentFragment, getForcesDocumentReload, getImportedComponentFragmentpublic AddChildDocumentChange(DocumentFragment componentFragment)
componentFragment - DOM mark up for child component to be appended.IllegalArgumentException - if componentFragment is nullpublic AddChildDocumentChange(String insertBeforeId, DocumentFragment componentFragment)
insertBeforeId - The identifier of the sibling before which this new 
         child is to be inserted or null to append the childcomponentFragment - DOM mark up for child component to be inserted.IllegalArgumentException - if componentFragment is nullpublic String getInsertBeforeId()
public void changeDocument(Node componentNode)
componentNode - DOM node of the component to apply the change toCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.