public class ElementUtil extends NodeUtil
| コンストラクタと説明 |
|---|
ElementUtil() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static Iterable<Element> |
getChildNodes(Element parent) |
static Collection<Element> |
getChildNodes(Element parent,
String tagName) |
static String |
getChildNodeText(Element parent,
String childTagName) |
static Element |
getFirstChild(Element parent,
String childTagName) |
static Document |
prepareParentDocument(Element element) |
static void |
removeChildren(Element parent) |
static void |
removeChildren(Element parent,
String tagName) |
static void |
replaceElements(Element parent,
Element element) |
static String |
toString(Element element) |
getAttributepublic static void removeChildren(Element parent)
public static Collection<Element> getChildNodes(Element parent, String tagName)
Copyright © 2018. All rights reserved.