コード例 #1
0
ファイル: AbstractJaxb.java プロジェクト: jflute/mixer2
 /**
  * delete all descendant elements having specified class attribute
  *
  * @param clazz class attribute
  */
 @SuppressWarnings("unchecked")
 public <T extends AbstractJaxb> void removeDescendants(String clazz) {
   RemoveDescendantsUtil.removeDescendants((T) this, clazz);
 }
コード例 #2
0
ファイル: AbstractJaxb.java プロジェクト: jflute/mixer2
 /**
  * delete all descendant elements that is specified tag type.
  *
  * @param tagType
  */
 @SuppressWarnings("unchecked")
 public <T extends AbstractJaxb> void removeDescendants(Class<T> tagType) {
   RemoveDescendantsUtil.removeDescendants((T) this, tagType);
 }