com.infoengine.object.util
Class Structure

java.lang.Object
  extended bycom.infoengine.object.util.Structure

public class Structure
extends Object


Constructor Summary
Structure()
           
 
Method Summary
private static String _htmlCellColor(IeObject obj)
           
static String encodeHtml(String str)
           
static String encodeHtml(String str, String encoding)
           
static Enumeration findNodesWithMetaValue(IeGroup o, String name, String value)
           
static Enumeration getAttsWithName(IeObject o, String name)
           
static Enumeration getAttsWithNameValue(IeObject o, String name, String value)
           
static IeAtt getAttWithName(IeObject o, String name)
           
static IeAtt getAttWithNameValue(IeObject o, String name, String value)
           
static void getChildNodesWithMetaValue(IeNode o, String name, String value, Vector output)
           
static Enumeration getChildrenWithMeta(IeObject o, String name)
           
static Enumeration getChildrenWithMetaValue(IeObject o, String name, String value)
           
static IeObject getChildWithMeta(IeObject o, String name)
           
static IeObject getChildWithMetaValue(IeObject o, String name, String value)
           
private static String indent(int level)
           
private static String indent(int level, String chars)
           
static void printAtt(IeAtt n)
           
private static void printAtt(IeAtt n, int level)
           
private static void printAtts(IeObject n, int level)
           
static void printChildren(IeObject n)
           
private static void printChildrenHelper(IeObject n, int level)
           
static void printMeta(IeMeta n)
           
private static void printMeta(IeMeta n, int level)
           
private static void printMetaHeader(IeObject n, int level)
           
private static void printMetaHelper(IeObject n, int level)
           
private static void printMetas(IeObject n, int level)
           
static void printObject(IeObject n)
           
private static void printObjectHelper1(IeObject n, int level)
           
private static void printObjectHelper2(IeObject n, int level)
           
static void printTree(IeObject n)
           
private static void printTree(IeObject n, int level)
           
static String renderHtml(IeObject obj)
          Generate HTML nested tables representing an IeObject hierarchy.
static IeRequest testRequest(int nObjs, int nAtts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Structure

public Structure()
Method Detail

getAttWithNameValue

public static IeAtt getAttWithNameValue(IeObject o,
                                        String name,
                                        String value)

getAttsWithNameValue

public static Enumeration getAttsWithNameValue(IeObject o,
                                               String name,
                                               String value)

getAttWithName

public static IeAtt getAttWithName(IeObject o,
                                   String name)

getAttsWithName

public static Enumeration getAttsWithName(IeObject o,
                                          String name)

getChildWithMetaValue

public static IeObject getChildWithMetaValue(IeObject o,
                                             String name,
                                             String value)

getChildrenWithMetaValue

public static Enumeration getChildrenWithMetaValue(IeObject o,
                                                   String name,
                                                   String value)

getChildWithMeta

public static IeObject getChildWithMeta(IeObject o,
                                        String name)

getChildrenWithMeta

public static Enumeration getChildrenWithMeta(IeObject o,
                                              String name)

findNodesWithMetaValue

public static Enumeration findNodesWithMetaValue(IeGroup o,
                                                 String name,
                                                 String value)

getChildNodesWithMetaValue

public static void getChildNodesWithMetaValue(IeNode o,
                                              String name,
                                              String value,
                                              Vector output)

testRequest

public static IeRequest testRequest(int nObjs,
                                    int nAtts)

printTree

public static void printTree(IeObject n)

printObject

public static final void printObject(IeObject n)

printChildren

public static final void printChildren(IeObject n)

printAtt

public static void printAtt(IeAtt n)

printMeta

public static void printMeta(IeMeta n)

indent

private static String indent(int level)

indent

private static String indent(int level,
                             String chars)

printTree

private static final void printTree(IeObject n,
                                    int level)

printObjectHelper1

private static final void printObjectHelper1(IeObject n,
                                             int level)

printObjectHelper2

private static void printObjectHelper2(IeObject n,
                                       int level)

printChildrenHelper

private static final void printChildrenHelper(IeObject n,
                                              int level)

printAtts

private static void printAtts(IeObject n,
                              int level)

printAtt

private static void printAtt(IeAtt n,
                             int level)

printMetas

private static void printMetas(IeObject n,
                               int level)

printMetaHeader

private static void printMetaHeader(IeObject n,
                                    int level)

printMeta

private static void printMeta(IeMeta n,
                              int level)

printMetaHelper

private static void printMetaHelper(IeObject n,
                                    int level)

renderHtml

public static String renderHtml(IeObject obj)
Generate HTML nested tables representing an IeObject hierarchy.


_htmlCellColor

private static final String _htmlCellColor(IeObject obj)

encodeHtml

public static final String encodeHtml(String str)

encodeHtml

public static final String encodeHtml(String str,
                                      String encoding)