org.gridkit.jvmtool.hflame
Class XmlUtil

java.lang.Object
  extended by org.gridkit.jvmtool.hflame.XmlUtil

public class XmlUtil
extends Object


Constructor Summary
XmlUtil()
           
 
Method Summary
static String attr(Element el, String... attr)
           
static List<Element> elementsOf(Element el)
           
static String href(Element el)
           
static String id(Element el)
           
static boolean isScript(Element el)
           
static boolean isStyleSheet(Element el)
           
static Document newDocument()
           
static Document parse(Reader reader)
           
static Document parseFromResource(String path)
           
static List<Text> textOf(Element el)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlUtil

public XmlUtil()
Method Detail

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.