Exemplo n.º 1
0
 /**
  * insert string before 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 insertBeforeId(String id, String insString) throws TagTypeUnmatchException {
   return InsertByIdUtil.insertBeforeId(id, insString, this);
 }
Exemplo n.º 2
0
 /**
  * insert element before the element having specified id attribute. This method use deep copy of
  * insObject
  *
  * @param id
  * @param insObject
  * @return true if success to insert. if no hit, return false.
  * @throws TagTypeUnmatchException
  */
 public <T extends AbstractJaxb> boolean insertBeforeId(String id, T insObject)
     throws TagTypeUnmatchException {
   return InsertByIdUtil.insertBeforeId(id, insObject, this);
 }