question: public Element writeBeanVisual ( Element parent , Object o , String name ) throws Exception { Element node ; BeanVisual visual ; if ( DEBUG ) { trace ( new Throwable ( ) , name ) ; } m_CurrentNode = parent ; visual = ( BeanVisual ) o ; node = writeToXML ( parent , o , name ) ; invokeWriteToXML ( node , visual . getIconPath ( ) , VAL_ICONPATH ) ; invokeWriteToXML ( node , visual . getAnimatedIconPath ( ) , VAL_ANIMATEDICONPATH ) ; return node ; }
target:  adds the given BeanVisual to a DOM structure.