public class InsertByIdUtil extends Object
Constructor and Description |
---|
InsertByIdUtil() |
Modifier and Type | Method and Description |
---|---|
static <T extends AbstractJaxb> |
insertAfterId(String id,
String insString,
T target) |
static <T extends AbstractJaxb> |
insertAfterId(String id,
T insObject,
T target)
指定したid属性を持つ要素の次の要素としてinsObjectを挿入する なお、実際に挿入されるのはinsObjectのディープコピーです。
|
static <T extends AbstractJaxb> |
insertBeforeId(String id,
String insString,
T target) |
static <T extends AbstractJaxb> |
insertBeforeId(String id,
T insObject,
T target) |
public static <T extends AbstractJaxb> boolean insertAfterId(String id, T insObject, T target) throws TagTypeUnmatchException
T
- id
- insObject
- target
- TagTypeUnmatchException
public static <T extends AbstractJaxb> boolean insertAfterId(String id, String insString, T target) throws TagTypeUnmatchException
TagTypeUnmatchException
public static <T extends AbstractJaxb> boolean insertBeforeId(String id, T insObject, T target) throws TagTypeUnmatchException
TagTypeUnmatchException
public static <T extends AbstractJaxb> boolean insertBeforeId(String id, String insString, T target) throws TagTypeUnmatchException
TagTypeUnmatchException
Copyright © 2021 Project Mixer2. All rights reserved.