vooga.engine.factory
Class NodeListProcessor

java.lang.Object
  extended by vooga.engine.factory.NodeListProcessor
All Implemented Interfaces:
org.w3c.dom.NodeList
Direct Known Subclasses:
CollisionGroupsProcessor

public abstract class NodeListProcessor
extends java.lang.Object
implements org.w3c.dom.NodeList

This abstract class should be extended by subclasses in order to process each type of unique object differently.


Field Summary
protected  org.w3c.dom.NodeList myChildren
           
protected  PlayField myPlayField
           
protected  OverlayTracker myTracker
           
protected  org.w3c.dom.Document myXMLDocument
           
 
Constructor Summary
NodeListProcessor(org.w3c.dom.Document xmlDocument, org.w3c.dom.NodeList children)
           
 
Method Summary
 PlayField getPlayField()
           
static boolean isElement(org.w3c.dom.Node node)
           
abstract  void process()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.NodeList
getLength, item
 

Field Detail

myPlayField

protected PlayField myPlayField

myXMLDocument

protected org.w3c.dom.Document myXMLDocument

myChildren

protected org.w3c.dom.NodeList myChildren

myTracker

protected OverlayTracker myTracker
Constructor Detail

NodeListProcessor

public NodeListProcessor(org.w3c.dom.Document xmlDocument,
                         org.w3c.dom.NodeList children)
Method Detail

process

public abstract void process()

isElement

public static boolean isElement(org.w3c.dom.Node node)

getPlayField

public PlayField getPlayField()