moagg.level.xml
Class AbstractHandler

java.lang.Object
  extended by moagg.level.xml.AbstractHandler
Direct Known Subclasses:
AbstractLocalGravityHandler, AbstractSpriteHandler, DeathMatchHandler, GlobalGravityHandler, GravityHandler, GrinderWaypointHandler, MortarBarrelHandler, PlayGroundHandler, StartPositionHandler, TurretBarrelHandler

public abstract class AbstractHandler
extends java.lang.Object


Constructor Summary
AbstractHandler()
           
 
Method Summary
protected  java.lang.Boolean getBooleanAttribute(java.lang.String node, java.lang.String attr, org.xml.sax.Attributes attrs, java.lang.Boolean defaultValue)
           
protected  int getHexAttribute(java.lang.String node, java.lang.String attr, org.xml.sax.Attributes attrs)
           
protected  int getHexAttribute(java.lang.String node, java.lang.String attr, org.xml.sax.Attributes attrs, int defaultValue)
           
protected  int getIntAttribute(java.lang.String node, java.lang.String attr, org.xml.sax.Attributes attrs)
           
protected  int getIntAttribute(java.lang.String node, java.lang.String attr, org.xml.sax.Attributes attrs, int defaultValue)
           
protected  java.lang.String getStringAttribute(java.lang.String node, java.lang.String attr, org.xml.sax.Attributes attrs)
           
protected  java.lang.String getStringAttribute(java.lang.String node, java.lang.String attr, org.xml.sax.Attributes attrs, java.lang.String defaultValue)
           
protected  int getUnsignedIntAttribute(java.lang.String node, java.lang.String attr, org.xml.sax.Attributes attrs)
           
protected  int getUnsignedIntAttribute(java.lang.String node, java.lang.String attr, org.xml.sax.Attributes attrs, int defaultValue)
           
protected  void handleActivateableAttributes(java.lang.String node, Activatable data, org.xml.sax.Attributes attrs)
           
protected  void handleDestroyableAttributes(java.lang.String node, Destroyable data, org.xml.sax.Attributes attrs)
           
protected  Orientation parseOrientation(java.lang.String node, org.xml.sax.Attributes attrs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractHandler

public AbstractHandler()
Method Detail

getStringAttribute

protected java.lang.String getStringAttribute(java.lang.String node,
                                              java.lang.String attr,
                                              org.xml.sax.Attributes attrs)

getStringAttribute

protected java.lang.String getStringAttribute(java.lang.String node,
                                              java.lang.String attr,
                                              org.xml.sax.Attributes attrs,
                                              java.lang.String defaultValue)

getIntAttribute

protected int getIntAttribute(java.lang.String node,
                              java.lang.String attr,
                              org.xml.sax.Attributes attrs)

getIntAttribute

protected int getIntAttribute(java.lang.String node,
                              java.lang.String attr,
                              org.xml.sax.Attributes attrs,
                              int defaultValue)

getUnsignedIntAttribute

protected int getUnsignedIntAttribute(java.lang.String node,
                                      java.lang.String attr,
                                      org.xml.sax.Attributes attrs)

getUnsignedIntAttribute

protected int getUnsignedIntAttribute(java.lang.String node,
                                      java.lang.String attr,
                                      org.xml.sax.Attributes attrs,
                                      int defaultValue)

getHexAttribute

protected int getHexAttribute(java.lang.String node,
                              java.lang.String attr,
                              org.xml.sax.Attributes attrs)

getHexAttribute

protected int getHexAttribute(java.lang.String node,
                              java.lang.String attr,
                              org.xml.sax.Attributes attrs,
                              int defaultValue)

getBooleanAttribute

protected java.lang.Boolean getBooleanAttribute(java.lang.String node,
                                                java.lang.String attr,
                                                org.xml.sax.Attributes attrs,
                                                java.lang.Boolean defaultValue)

parseOrientation

protected Orientation parseOrientation(java.lang.String node,
                                       org.xml.sax.Attributes attrs)

handleActivateableAttributes

protected void handleActivateableAttributes(java.lang.String node,
                                            Activatable data,
                                            org.xml.sax.Attributes attrs)

handleDestroyableAttributes

protected void handleDestroyableAttributes(java.lang.String node,
                                           Destroyable data,
                                           org.xml.sax.Attributes attrs)


Copyright © 2008. All Rights Reserved.