wt.transfer.delegate
Class IBADOMTreeEncoderCallback

java.lang.Object
  extended bywt.xml.io.DOMTreeEncoderCallback
      extended bywt.transfer.delegate.IBADOMTreeEncoderCallback
All Implemented Interfaces:
DOMTreeStreamCallback, XMLMechanismConstants

public class IBADOMTreeEncoderCallback
extends DOMTreeEncoderCallback



Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private  Enumeration IBAValues
           
private  Persistable persistableObject
           
private static String RESOURCE
           
 
Fields inherited from class wt.xml.io.DOMTreeEncoderCallback
 
Fields inherited from interface wt.util.xml.XMLMechanismConstants
ATTLIST_ATTRIBUTE_NAME, ATTLIST_CLASS_NAME, ATTLIST_ENCODING_TYPE, ATTLIST_OID, DEFAULT_XML_PARSER_IMPLEMENTATION, DOCUMENT_ELEMENT_NAME, SELF_DESCRIBING_XML, XML_FILE_EXT
 
Constructor Summary
private IBADOMTreeEncoderCallback()
          No-arg constructor.
  IBADOMTreeEncoderCallback(Document doc)
          

Supported API: false
 
Method Summary
protected  Enumeration getIBAValues()
          Gets the value of the attribute: IBAValues; An enumeration of IBA Values.
 Element getNextElement()
          Gets the next tree returned by the appropriate call of getElement().
 Persistable getPersistableObject()
          Gets the value of the attribute: persistableObject; The object to be examined by the callback for additional externalization not handled by the object's writeExternal() method.
 void initialize(Persistable persistableObject)
          Sets the object to be examined by the callback for additional exernalization not handled by the object's writeExternal() method, and does some internal bookkeeping to prepare the callback to have its getNextElement() method invoked.
protected  void setIBAValues(Enumeration a_IBAValues)
          Sets the value of the attribute: IBAValues; An enumeration of IBA Values.
protected  void setPersistableObject(Persistable a_PersistableObject)
          Sets the value of the attribute: persistableObject; The object to be examined by the callback for additional externalization not handled by the object's writeExternal() method.
 
Methods inherited from class wt.xml.io.DOMTreeEncoderCallback
getDoc, getElement, getOutputStream, getZipEntryVector, setDoc, setOutputStream, setZipEntryVector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

IBAValues

private Enumeration IBAValues

persistableObject

private Persistable persistableObject
Constructor Detail

IBADOMTreeEncoderCallback

private IBADOMTreeEncoderCallback()
No-arg constructor. Private so a constructor with an argument must be used.


IBADOMTreeEncoderCallback

public IBADOMTreeEncoderCallback(Document doc)


Supported API: false

Parameters:
doc -
Method Detail

getIBAValues

protected Enumeration getIBAValues()
Gets the value of the attribute: IBAValues; An enumeration of IBA Values. Storage until they can be externalized as DOM Elements.

Supported API: false

Returns:
Enumeration

setIBAValues

protected void setIBAValues(Enumeration a_IBAValues)
Sets the value of the attribute: IBAValues; An enumeration of IBA Values. Storage until they can be externalized as DOM Elements.

Supported API: false

Parameters:
a_IBAValues -

initialize

public void initialize(Persistable persistableObject)
                throws XMLMechanismException
Sets the object to be examined by the callback for additional exernalization not handled by the object's writeExternal() method, and does some internal bookkeeping to prepare the callback to have its getNextElement() method invoked. This method should be called once per persistableObject before each set of getNextElement() calls.

Supported API: false

Specified by:
initialize in class DOMTreeEncoderCallback
Parameters:
persistableObject -
Throws:
wt.xml.XMLMechanismException
XMLMechanismException

getNextElement

public Element getNextElement()
                       throws XMLMechanismException
Gets the next tree returned by the appropriate call of getElement().

Supported API: false

Specified by:
getNextElement in class DOMTreeEncoderCallback
Returns:
Element
Throws:
wt.xml.XMLMechanismException
XMLMechanismException

getPersistableObject

public Persistable getPersistableObject()
Gets the value of the attribute: persistableObject; The object to be examined by the callback for additional externalization not handled by the object's writeExternal() method.

Supported API: false

Specified by:
getPersistableObject in class DOMTreeEncoderCallback
Returns:
Persistable

setPersistableObject

protected void setPersistableObject(Persistable a_PersistableObject)
Sets the value of the attribute: persistableObject; The object to be examined by the callback for additional externalization not handled by the object's writeExternal() method.

Supported API: false

Specified by:
setPersistableObject in class DOMTreeEncoderCallback
Parameters:
a_PersistableObject -