|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidad.change.AddComponentDocumentChange
org.apache.myfaces.trinidad.change.AddChildDocumentChange
public class AddChildDocumentChange
Change specialization for adding a child component using document mark up. While applying this Change, the child component is created and added to the document.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.myfaces.trinidad.change.AddComponentDocumentChange |
|---|
getComponentFragment, getForcesDocumentReload, getImportedComponentFragment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddChildDocumentChange(DocumentFragment componentFragment)
componentFragment - DOM mark up for child component to be appended.
IllegalArgumentException - if componentFragment is null
public 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 null| Method Detail |
|---|
public String getInsertBeforeId()
public void changeDocument(Node componentNode)
componentNode - DOM node of the component to apply the change to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||