net.ponder2.objects
Class P2Class

java.lang.Object
  extended by net.ponder2.objects.P2Object
      extended by net.ponder2.objects.P2Class
All Implemented Interfaces:
java.io.Serializable, P2Serializable, Ponder2Message

public class P2Class
extends P2Object

TODO Description

Version:
$Id:$
Author:
Kevin Twidle
See Also:
Serialized Form

Method Summary
 java.lang.Class<?> asClass()
          Returns itself as a Ponder2 class object
 P2Object readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 java.lang.String toString()
           
 com.twicom.qdparser.TaggedElement writeXml(java.util.Set<P2Object> written)
           
 
Methods inherited from class net.ponder2.objects.P2Object
asArray, asBlock, asBoolean, asDouble, asFloat, asHash, asInteger, asLong, asNumber, asP2Array, asString, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, fromXml, getManagedObject, getOID, getSMC, operation, operation, setSMC
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

asClass

public java.lang.Class<?> asClass()
                           throws Ponder2ArgumentException
Description copied from class: P2Object
Returns itself as a Ponder2 class object

Overrides:
asClass in class P2Object
Returns:
a class value
Throws:
Ponder2ArgumentException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

writeXml

public com.twicom.qdparser.TaggedElement writeXml(java.util.Set<P2Object> written)
                                           throws Ponder2OperationException
Specified by:
writeXml in interface P2Serializable
Overrides:
writeXml in class P2Object
Throws:
Ponder2OperationException

readXml

public P2Object readXml(com.twicom.qdparser.TaggedElement xml,
                        java.util.Map<java.lang.Integer,P2Serializable> read)
                 throws Ponder2OperationException,
                        Ponder2ArgumentException
Specified by:
readXml in interface P2Serializable
Specified by:
readXml in class P2Object
Throws:
Ponder2OperationException
Ponder2ArgumentException


Copyright © 2008 Imperial College. All Rights Reserved.