Пример #1
0
 /**
  * insert String after the element having specified id attribute
  *
  * @param id
  * @param insString
  * @return true if success to insert. if no hit, return false.
  * @throws TagTypeUnmatchException
  */
 public boolean insertAfterId(String id, String insString) throws TagTypeUnmatchException {
   return InsertByIdUtil.insertAfterId(id, insString, this);
 }
Пример #2
0
 /**
  * insert element after the element having specified id attribute. This method use deep copy of
  * "insObject"
  *
  * @param id id attribute
  * @param insObject
  * @return true if success to insert. if no hit, return false.
  * @throws TagTypeUnmatchException
  */
 public <T extends AbstractJaxb> boolean insertAfterId(String id, T insObject)
     throws TagTypeUnmatchException {
   return InsertByIdUtil.insertAfterId(id, insObject, this);
 }