|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Each JotElementUpdate
represents changes that were detected between
generations in a JotFile
. An update provides accessability to
modified child updates, representing children of the element who have changed.
The top most JotElementUpdate
in a given update message will represent
only the highest changed element in the file's tree.
Field Summary | |
static int |
ADDED
This flag indicates that this element has been added to its parent. |
static int |
CHANGED
This flag indicates that this element has changed. |
static int |
CHILDREN_ADDED
This flag indicates that this element had children added to its child list. |
static int |
CHILDREN_CHANGED
This flag indicates that children of this element have been modified. |
static int |
CHILDREN_REMOVED
This flag indicates this element had children removed from its child list. |
static int |
REMOVED
This flag indicates that this element has been removed from its parent. |
static int |
RENAMED
This flag indicates that this element has been renamed. |
Method Summary | |
JotElementUpdate[] |
getAddedChildren()
|
JotElementUpdate[] |
getAllModifiedChildren()
|
JotElement |
getElement()
|
int |
getModificationFlags()
|
JotElementUpdate[] |
getModifiedChildren()
|
java.lang.String |
getName()
|
JotElementUpdate[] |
getRemovedChildren()
|
Field Detail |
public static final int CHANGED
public static final int ADDED
public static final int REMOVED
public static final int RENAMED
public static final int CHILDREN_REMOVED
public static final int CHILDREN_CHANGED
public static final int CHILDREN_ADDED
Method Detail |
public int getModificationFlags()
public java.lang.String getName()
public JotElement getElement() throws JotInvalidElementException
JotElement
represented by this JotElementUpdate
.
JotInvalidElementException
public JotElementUpdate[] getAllModifiedChildren() throws JotInvalidElementException
JotElementUpdate
items representing children
that have been modified, or null. Children that have experienced any modification,
including addition and removal, will be returned.
JotInvalidElementException
public JotElementUpdate[] getModifiedChildren() throws JotInvalidElementException
JotElementUpdate
items representing children
that have been modified, or null. Only children
JotInvalidElementException
public JotElementUpdate[] getAddedChildren() throws JotInvalidElementException
JotElementUpdate
items representing children
that have been added to this element, or null.
JotInvalidElementException
public JotElementUpdate[] getRemovedChildren() throws JotInvalidElementException
JotElementUpdate
items representing children
that have been removed from this element, or null.
JotInvalidElementException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.