public class TagEdit
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
addMemberEdit(TagEdit member)
Member edits are tags beneath this one.
|
static TagEdit |
createDelete(TagPath path) |
static TagEdit |
createEdit(TagPath path)
Creates an edit for the path with an empty property set that can be modified through getConfig()
|
static TagEdit |
createEdit(TagPath path,
BoundPropertySet config)
See createNew() for more details, but in short, only use this version when you know you want to edit/overwrite a
specific existing tag.
|
static TagEdit |
createNew(TagPath path,
BoundPropertySet config)
Creates a new tag edit.
|
static TagEdit |
createRename(TagPath originalPath,
java.lang.String name) |
BoundPropertySet |
getConfig() |
java.util.List<TagEdit> |
getMemberEdits()
Non-modifiable list of member edits.
|
TagPath |
getPath() |
boolean |
isNew() |
boolean |
isRemoved() |
boolean |
isRename() |
void |
setPath(TagPath path) |
java.lang.String |
toString() |
public static TagEdit createEdit(TagPath path)
public static TagEdit createNew(TagPath path, BoundPropertySet config)
public static TagEdit createEdit(TagPath path, BoundPropertySet config)
public TagPath getPath()
public void setPath(TagPath path)
public BoundPropertySet getConfig()
public boolean isRemoved()
public boolean isRename()
public boolean isNew()
public void addMemberEdit(TagEdit member)
public java.util.List<TagEdit> getMemberEdits()
public java.lang.String toString()
toString
in class java.lang.Object