com.taursys.xml.render
Class AbstractSubcomponentRenderer

java.lang.Object
  extended bycom.taursys.xml.render.AbstractSubcomponentRenderer
Direct Known Subclasses:
AttributeRenderer, StandAloneAttributeRenderer, TextNodeRenderer

public class AbstractSubcomponentRenderer
extends java.lang.Object

Abstract renderer for subcomponents

Author:
marty

Field Summary
protected  Component component
           
protected  DocumentAdapter da
           
protected  java.lang.String id
           
 
Constructor Summary
AbstractSubcomponentRenderer(Component component)
          Constructs new AbstractSubcomponentRenderer
 
Method Summary
protected  void init()
          Initializes reference to component node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

protected Component component

da

protected DocumentAdapter da

id

protected java.lang.String id
Constructor Detail

AbstractSubcomponentRenderer

public AbstractSubcomponentRenderer(Component component)
Constructs new AbstractSubcomponentRenderer

Parameters:
component - which this renderer belongs to
Method Detail

init

protected void init()
             throws RenderException
Initializes reference to component node. Only acts if componentNode is null and document has not changed

Throws:
RenderException - if parent, DocumentAdapter, or Document is null.


Copyright © 2007 Martin T Phelan. All Rights Reserved.