Skip to content

Commit

Permalink
impl
Browse files Browse the repository at this point in the history
Issue imixs#248
  • Loading branch information
rsoika committed May 14, 2023
1 parent 074258f commit e9de24a
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,17 @@ public boolean hasAttribute(String name) {
return this.getElementNode().hasAttribute(name);
}

/**
* This method removes a specific attribute.
*
* @param extensionNamespace
* @param attribute
* @param value
*/
public void removeAttribute(String attribute) {
this.getElementNode().removeAttribute(attribute);
}

/**
* Returns the corresponding dom element node
*
Expand Down Expand Up @@ -380,6 +391,18 @@ public void setExtensionAttribute(String extensionNamespace, String attribute, S
setAttribute(extensionNamespace + ":" + attribute, value);
}

/**
* This method removes a specific extension attribute. The extensionNamespace
* defines the attribute prefix within the BPMNElement:
*
* @param extensionNamespace
* @param attribute
* @param value
*/
public void removeExtensionAttribute(String extensionNamespace, String attribute) {
this.getElementNode().removeAttribute(extensionNamespace + ":" + attribute);
}

/**
* Returns the value of a given extension attribute by name. If empty or not
* set, the method returns null.
Expand Down

0 comments on commit e9de24a

Please sign in to comment.