|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.xml.io.DOMTreeEncoderCallback
wt.transfer.delegate.ContentItemDOMTreeEncoderCallback
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private Enumeration |
contentItems
|
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 |
ContentItemDOMTreeEncoderCallback()
No-arg constructor. |
|
ContentItemDOMTreeEncoderCallback(Document doc)
Supported API: false |
Method Summary | |
protected Enumeration |
getContentItems()
Gets the value of the attribute: contentItems; An enumeration of ContentItems . |
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. |
private void |
outputStreamValidate(OutputStream a_OutputStream)
|
protected void |
setContentItems(Enumeration a_ContentItems)
Sets the value of the attribute: contentItems; An enumeration of ContentItems . |
void |
setOutputStream(OutputStream a_OutputStream)
Sets the value of the attribute: outputStream; The ZipOutputStream
to which to write files referred to by ContentItems . |
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, setZipEntryVector |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Enumeration contentItems
private Persistable persistableObject
Constructor Detail |
private ContentItemDOMTreeEncoderCallback()
public ContentItemDOMTreeEncoderCallback(Document doc)
doc
- Method Detail |
public void setOutputStream(OutputStream a_OutputStream) throws WTPropertyVetoException
ZipOutputStream
to which to write files referred to by ContentItems
.
setOutputStream
in class DOMTreeEncoderCallback
a_OutputStream
-
WTPropertyVetoException
private void outputStreamValidate(OutputStream a_OutputStream) throws WTPropertyVetoException
a_OutputStream
-
WTPropertyVetoException
protected Enumeration getContentItems()
ContentItems
.
Storage until they can be externalized as DOM Elements
.
protected void setContentItems(Enumeration a_ContentItems)
ContentItems
.
Storage until they can be externalized as DOM Elements
.
a_ContentItems
- public void initialize(Persistable persistableObject) throws XMLMechanismException
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.
initialize
in class DOMTreeEncoderCallback
persistableObject
-
wt.xml.XMLMechanismException
XMLMechanismException
public Element getNextElement() throws XMLMechanismException
getElement()
.
getNextElement
in class DOMTreeEncoderCallback
wt.xml.XMLMechanismException
XMLMechanismException
public Persistable getPersistableObject()
writeExternal()
method.
getPersistableObject
in class DOMTreeEncoderCallback
protected void setPersistableObject(Persistable a_PersistableObject)
writeExternal()
method.
setPersistableObject
in class DOMTreeEncoderCallback
a_PersistableObject
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |