|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.p13n.model.DefaultDocumentModel
public class DefaultDocumentModel
A default implementation of DocumentModel.
| Constructor Summary | |
|---|---|
DefaultDocumentModel()Default constructor. |
|
DefaultDocumentModel(Model rootModel)Constructor with root model. |
|
| Method Summary | |
|---|---|
void |
addChangeListener(Model.ChangeListener l)Add a model change listener. |
Model |
getRootModel()Get the root model for this document. |
void |
modelChildAdded(Model parent, Model child)Callback from a model change event for a child model added. |
void |
modelChildRemoved(Model parent, Model child)Callback from a model change event for a child model removed. |
void |
modelPropertyChanged(Model m, String propName, Object oldVal, Object newVal)Callback from a model change event for a property change. |
boolean |
removeChangeListener(Model.ChangeListener l)Remove a model change listener. |
void |
setRootModel(Model newRoot)Set the root model for this document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDocumentModel(Model rootModel)
public DefaultDocumentModel()
| Method Detail |
|---|
public Model getRootModel()
getRootModel in interface DocumentModelpublic void setRootModel(Model newRoot)
public void addChangeListener(Model.ChangeListener l)
addChangeListener in interface DocumentModelpublic boolean removeChangeListener(Model.ChangeListener l)
removeChangeListener in interface DocumentModel
public void modelPropertyChanged(Model m,
String propName,
Object oldVal,
Object newVal)
modelPropertyChanged in interface DocumentModelm - the model (contained in this document).propName - the property name that changed.oldVal - the old value (null is valid).newVal - the new value (null is valid).
public void modelChildAdded(Model parent,
Model child)
modelChildAdded in interface DocumentModelparent - the parent model.child - the child model.
public void modelChildRemoved(Model parent,
Model child)
modelChildRemoved in interface DocumentModelparent - the parent model.child - the child model.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.