org.gridkit.jvmtool.hflame
Class XmlUtil
java.lang.Object
org.gridkit.jvmtool.hflame.XmlUtil
public class XmlUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlUtil
public XmlUtil()
newDocument
public static Document newDocument()
parseFromResource
public static Document parseFromResource(String path)
throws FileNotFoundException
- Throws:
FileNotFoundException
parse
public static Document parse(Reader reader)
elementsOf
public static List<Element> elementsOf(Element el)
textOf
public static List<Text> textOf(Element el)
id
public static String id(Element el)
href
public static String href(Element el)
isStyleSheet
public static boolean isStyleSheet(Element el)
isScript
public static boolean isScript(Element el)
attr
public static String attr(Element el,
String... attr)
Copyright © 2018. All Rights Reserved.