public class RemoveChildComponentChange extends ComponentChange implements DocumentChange
Constructor and Description |
---|
RemoveChildComponentChange(String childId)
Constructs a RemoveChildChange with the specified identifier of the child.
|
RemoveChildComponentChange(String childId,
String identifier)
Constructs a RemoveChildChange with the specified identifier of the child.
|
Modifier and Type | Method and Description |
---|---|
void |
changeComponent(javax.faces.component.UIComponent uiComponent)
Apply this change to the specied component
|
void |
changeDocument(Node componentNode)
Apply this change to the specied root DOM Node of the component
|
String |
getChildId()
Returns the identifier of child component that needs to be removed.
|
boolean |
getForcesDocumentReload()
Returns true if adding the DocumentChange should force the JSP Document
to reload
|
String |
getIdentifier()
Returns the identifier type.
|
public RemoveChildComponentChange(String childId)
childId
- The identifier of the child component that needs to be
removed. If no identifier is specified, the type will be treated
as of 'id' type.IllegalArgumentException
- if specified childId were to be null.public RemoveChildComponentChange(String childId, String identifier)
childId
- The identifier of the child component that needs to be
removed.identifier
- Determines the type of identifier which is passed as the
first argument.IllegalArgumentException
- if specified childId were to be null.public String getChildId()
public final String getIdentifier()
public void changeComponent(javax.faces.component.UIComponent uiComponent)
changeComponent
in class ComponentChange
uiComponent
- the UIComponent to apply the change topublic void changeDocument(Node componentNode)
changeDocument
in interface DocumentChange
componentNode
- DOM node of the component to apply the change topublic boolean getForcesDocumentReload()
getForcesDocumentReload
in interface DocumentChange
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.