Beispiel #1
0
 /**
  * Gets this tag if it is already mutable, or a mutable copy of this tag if it is immutable.
  *
  * @return This tag if it is already mutable, or a mutable copy of this tag if it is immutable.
  */
 public ComponentTag mutable() {
   if (xmlTag.isMutable()) {
     return this;
   } else {
     ComponentTag tag = new ComponentTag(xmlTag.mutable());
     copyPropertiesTo(tag);
     return tag;
   }
 }