FileDocCategorySizeDatePackage
TimeContainerNode.javaAPI DocphoneME MR2 API (J2ME)2523Wed May 02 18:00:36 BST 2007com.sun.perseus.model

TimeContainerNode

public class TimeContainerNode extends TimedElementNode
TimedElementNode models ModelNodes
version
$Id: TimeContainerNode.java,v 1.3 2006/06/29 10:47:35 ln156897 Exp $

Fields Summary
protected TimeContainerSupport
timeContainerSupport
The timing support is added by composition rather than inheritance because Java only allows single inheritance
Constructors Summary
public TimeContainerNode(DocumentNode ownerDocument)
Builds a new time container child of the DocumentNode root time container.

param
ownerDocument the document this node belongs to.
throws
IllegalArgumentException if the input ownerDocument is null

        super(ownerDocument, new TimeContainerSupport(), 
              SVGConstants.SVG_PAR_TAG);

        timeContainerSupport = (TimeContainerSupport) timedElementSupport;
    
Methods Summary
public ElementNodenewInstance(DocumentNode doc)
Used by DocumentNode to create a new instance from a prototype TimeContainerNode.

param
doc the DocumentNode for which a new node is should be created.
return
a new TimeContainerNode for the requested document.

        return new TimeContainerNode(doc);