moagg.level.xml.object
Class PlatformHandler

java.lang.Object
  extended by moagg.level.xml.AbstractHandler
      extended by moagg.level.xml.AbstractSpriteHandler
          extended by moagg.level.xml.object.PlatformHandler
All Implemented Interfaces:
Handler, DataProvider

public class PlatformHandler
extends AbstractSpriteHandler
implements Handler, DataProvider


Field Summary
static java.lang.String NAME
           
 
Constructor Summary
PlatformHandler()
           
 
Method Summary
 Handler createSubHandler(java.lang.String name, org.xml.sax.Attributes attrs)
           
 void finishSubHandler(java.lang.String name, Handler subHandler)
           
 PlatformData getData()
           
 void handleAttributes(org.xml.sax.Attributes attrs)
           
 void handleTag(java.lang.String name, java.lang.String value)
           
protected  PlatformEdge parseEdge(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class moagg.level.xml.AbstractHandler
getBooleanAttribute, getHexAttribute, getHexAttribute, getIntAttribute, getIntAttribute, getStringAttribute, getStringAttribute, getUnsignedIntAttribute, getUnsignedIntAttribute, handleActivateableAttributes, handleDestroyableAttributes, parseOrientation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

PlatformHandler

public PlatformHandler()
Method Detail

getData

public PlatformData getData()
Specified by:
getData in interface DataProvider

handleAttributes

public void handleAttributes(org.xml.sax.Attributes attrs)
Specified by:
handleAttributes in class AbstractSpriteHandler

createSubHandler

public Handler createSubHandler(java.lang.String name,
                                org.xml.sax.Attributes attrs)
Specified by:
createSubHandler in interface Handler

handleTag

public void handleTag(java.lang.String name,
                      java.lang.String value)
Specified by:
handleTag in interface Handler

finishSubHandler

public void finishSubHandler(java.lang.String name,
                             Handler subHandler)
Specified by:
finishSubHandler in interface Handler

parseEdge

protected PlatformEdge parseEdge(java.lang.String name,
                                 java.lang.String value)


Copyright © 2008. All Rights Reserved.