站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 console API Documentation 英文版文档

XMLToHTMLTreeBuilder (JBoss Console API) - JBoss 4.0.1 sp1 console API Documentation 英文版文档


org.jboss.console.util
Class XMLToHTMLTreeBuilder

java.lang.Object
  extended byorg.jboss.console.util.XMLToHTMLTreeBuilder

public class XMLToHTMLTreeBuilder
extends Object

Utility to take xml string and convert it to a javascript based tree within html.

Author:
Tom Elrod

Constructor Summary
XMLToHTMLTreeBuilder()
           
 
Method Summary
static String convertJNDIXML(String xml)
          Expects the xml to string to be in same format as calling JNDIView.listXML().
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLToHTMLTreeBuilder

public XMLToHTMLTreeBuilder()
Method Detail

convertJNDIXML

public static String convertJNDIXML(String xml)
                             throws org.dom4j.DocumentException
Expects the xml to string to be in same format as calling JNDIView.listXML(). Will then build a tree in html that uses javascript. Depends on dtree.js script being available.

Parameters:
xml -
Returns:
Throws:
org.dom4j.DocumentException

main

public static void main(String[] args)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.