|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.xml.io.DOMTreeDecoderCallback
wt.transfer.delegate.ContentItemDOMTreeDecoderCallback
Supported API: false
Extendable: false
Field Summary | |
private Vector |
ancillaryObjects
|
private static String |
CLASSNAME
|
private Persistable |
persistableObject
|
private static String |
RESOURCE
|
Fields inherited from class wt.xml.io.DOMTreeDecoderCallback |
|
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 |
ContentItemDOMTreeDecoderCallback()
No-arg constructor. |
|
ContentItemDOMTreeDecoderCallback(Document doc)
Supported API: false |
Method Summary | |
private void |
containerValidate(Object a_Container)
|
Vector |
getAncillaryObjects()
Gets the value of the attribute: ancillaryObjects; A vector of objects, or references to objects, to be used by the creator of the callback object to get objects or references to objects created by the callback object as part of its handling of DOM Elements . |
Persistable |
getPersistableObject()
Gets the value of the attribute: persistableObject; The object to be examined by the callback for additional internalization not handled by the object's readExternal() method. |
void |
initialize()
Sets the object to be examined by the callback for additional internalization not handled by the object's readExternal() method, and
may do some internal bookkeeping to allow the callback to handle things
like linking other objects to the main persistable object, etc. |
private void |
inputStreamValidate(InputStream a_InputStream)
|
protected void |
setAncillaryObjects(Vector a_AncillaryObjects)
Sets the value of the attribute: ancillaryObjects; A vector of objects, or references to objects, to be used by the creator of the callback object to get objects or references to objects created by the callback object as part of its handling of DOM Elements . |
void |
setContainer(Object a_Container)
Sets the value of the attribute: container; The ZipFile
from which to read files referred to by ContentItems . |
void |
setInputStream(InputStream a_InputStream)
Sets the value of the attribute: inputStream; The ZipInputStream
from which to read files referred to by ContentItems . |
void |
setNextElement(Element tree)
Gives the tree and an instance of the appropriate Persistable
to the appropriate callback's setElement() method. |
protected void |
setPersistableObject(Persistable a_PersistableObject)
Sets the value of the attribute: persistableObject; The object to be examined by the callback for additional internalization not handled by the object's readExternal() method. |
Methods inherited from class wt.xml.io.DOMTreeDecoderCallback |
getContainer, getDoc, getInputStream, setDoc, setElement |
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 Persistable persistableObject
private Vector ancillaryObjects
Constructor Detail |
private ContentItemDOMTreeDecoderCallback()
public ContentItemDOMTreeDecoderCallback(Document doc)
doc
- Method Detail |
public void setContainer(Object a_Container) throws WTPropertyVetoException
ZipFile
from which to read files referred to by ContentItems
.
setContainer
in class DOMTreeDecoderCallback
a_Container
-
WTPropertyVetoException
private void containerValidate(Object a_Container) throws WTPropertyVetoException
a_Container
-
WTPropertyVetoException
public void setInputStream(InputStream a_InputStream) throws WTPropertyVetoException
ZipInputStream
from which to read files referred to by ContentItems
.
setInputStream
in class DOMTreeDecoderCallback
a_InputStream
-
WTPropertyVetoException
private void inputStreamValidate(InputStream a_InputStream) throws WTPropertyVetoException
a_InputStream
-
WTPropertyVetoException
public void initialize() throws XMLMechanismException
readExternal()
method, and
may do some internal bookkeeping to allow the callback to handle things
like linking other objects to the main persistable object, etc. This
method should be called once per persistableObject
being
imported.
initialize
in class DOMTreeDecoderCallback
wt.xml.XMLMechanismException
XMLMechanismException
public void setNextElement(Element tree) throws XMLMechanismException
Persistable
to the appropriate callback's setElement()
method.
setNextElement
in class DOMTreeDecoderCallback
tree
-
wt.xml.XMLMechanismException
XMLMechanismException
public Persistable getPersistableObject()
readExternal()
method.
getPersistableObject
in class DOMTreeDecoderCallback
protected void setPersistableObject(Persistable a_PersistableObject)
readExternal()
method.
setPersistableObject
in class DOMTreeDecoderCallback
a_PersistableObject
- public Vector getAncillaryObjects()
Elements
.
getAncillaryObjects
in class DOMTreeDecoderCallback
protected void setAncillaryObjects(Vector a_AncillaryObjects)
Elements
.
setAncillaryObjects
in class DOMTreeDecoderCallback
a_AncillaryObjects
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |