Joda System API

org.joda.property.xml
Class XMLConvertorContext

java.lang.Object
  |
  +--org.joda.property.xml.XMLConvertorContext

public class XMLConvertorContext
extends java.lang.Object

XMLConvertorContext provides access the context of the object as the XMLConvertor is called.

Author:
Stephen Colebourne

Constructor Summary
XMLConvertorContext(XMLMetaData metaData)
          Constructor
 
Method Summary
 void addSentObject(java.lang.Object object)
          Add to the Set of objects that have already been sent
 void addStackObject(java.lang.Object object)
          Add to the Set of objects that have been sent in the current stack
 void buildXMLData(XMLData data, java.lang.Object object)
          Call on to get another level of XMLData.
 XMLMetaData getMetaData()
          Get the XMLMetaData
 boolean isInStack(java.lang.Object object)
          Has this object been sent
 boolean isSent(java.lang.Object object)
          Has this object been sent
 void removeStackObject(java.lang.Object object)
          Add to the Set of objects that have been sent in the current stack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConvertorContext

public XMLConvertorContext(XMLMetaData metaData)
Constructor

Method Detail

buildXMLData

public void buildXMLData(XMLData data,
                         java.lang.Object object)
Call on to get another level of XMLData.


isSent

public boolean isSent(java.lang.Object object)
Has this object been sent


addSentObject

public void addSentObject(java.lang.Object object)
Add to the Set of objects that have already been sent


isInStack

public boolean isInStack(java.lang.Object object)
Has this object been sent


addStackObject

public void addStackObject(java.lang.Object object)
Add to the Set of objects that have been sent in the current stack


removeStackObject

public void removeStackObject(java.lang.Object object)
Add to the Set of objects that have been sent in the current stack


getMetaData

public XMLMetaData getMetaData()
Get the XMLMetaData


Joda System API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.