public class GetDescendantsUtil extends Object
AbstractJaxb.getDescendants(Class),
AbstractJaxb.getDescendants(String),
AbstractJaxb.getDescendants(String, Class)| Constructor and Description |
|---|
GetDescendantsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AbstractJaxb> |
getDescendants(T target,
List<T> resultList,
Class<T> tagType)
タグ指定で子孫要素を返す
|
static <T extends AbstractJaxb> |
getDescendants(T target,
List<T> resultList,
String clazz)
class属性の指定で子孫要素を返す
|
static <T extends AbstractJaxb> |
getDescendants(T target,
List<T> resultList,
String clazz,
Class<T> tagType)
タグとclass指定で子孫要素を返す
|
public static <T extends AbstractJaxb> List<T> getDescendants(T target, List<T> resultList, String clazz, Class<T> tagType)
T - tag class type. (i.e. Div.class, Span.class...)target - objects for scanresultList - usually, pass new ArrayListclazz - class property of tagtagType - tag classpublic static <T extends AbstractJaxb> List<T> getDescendants(T target, List<T> resultList, Class<T> tagType)
T - tag class type. (i.e. Div.class, Span.class...)target - objects for scanresultList - usually, pass new ArrayListtagType - tag classpublic static <T extends AbstractJaxb> List<T> getDescendants(T target, List<T> resultList, String clazz)
target - objects for scanresultList - usually, pass new ArrayListclazz - class property of tagCopyright © 2021 Project Mixer2. All rights reserved.