com.dynamide.util
Interface IComposite

All Known Implementing Classes:
Composite, CompositeAbstract, CompositeArray

public interface IComposite


Method Summary
 void addAttribute(java.lang.String attribute_name, java.lang.Object attribute_value)
           
 IComposite addChild(IComposite child)
           
 java.lang.String dump()
           
 java.lang.String dumpHTML()
           
 java.lang.String dumpPath()
           
 IComposite findComposite(java.lang.String itemName)
           
 java.lang.Object get(java.lang.String what)
           
 java.util.Collection getAttributes()
           
 java.util.Collection getChildren()
           
 int getDepth()
           
 java.lang.String getName()
           
 IComposite getParent()
           
 IComposite getRoot()
           
 java.lang.String printAttributes()
           
 IComposite removeChild(IComposite child)
           
 IComposite setParent(IComposite parent)
           
 void walk(ICompositeWalker caller, int order)
          Use values of ICompositeWalker.PREORDER or ICompositeWalker.POSTORDER for order.
 

Method Detail

getRoot

IComposite getRoot()

getParent

IComposite getParent()

setParent

IComposite setParent(IComposite parent)
                     throws java.lang.Exception
Throws:
java.lang.Exception

findComposite

IComposite findComposite(java.lang.String itemName)
                         throws java.lang.Exception
Throws:
java.lang.Exception

getName

java.lang.String getName()

addChild

IComposite addChild(IComposite child)
                    throws java.lang.Exception
Throws:
java.lang.Exception

removeChild

IComposite removeChild(IComposite child)

getChildren

java.util.Collection getChildren()

addAttribute

void addAttribute(java.lang.String attribute_name,
                  java.lang.Object attribute_value)

dump

java.lang.String dump()

dumpHTML

java.lang.String dumpHTML()

dumpPath

java.lang.String dumpPath()

printAttributes

java.lang.String printAttributes()

getAttributes

java.util.Collection getAttributes()

getDepth

int getDepth()

get

java.lang.Object get(java.lang.String what)

walk

void walk(ICompositeWalker caller,
          int order)
Use values of ICompositeWalker.PREORDER or ICompositeWalker.POSTORDER for order.



Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.