|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.xml.io.DOMTreeDecoderCallback
wt.xml.io.CompositeDOMTreeDecoderCallback
Supported API: false
Extendable: false
Field Summary | |
private Vector |
ancillaryObjects
|
private static String |
CLASSNAME
|
private Persistable |
persistableObject
|
private static String |
RESOURCE
|
private Vector |
theDOMTreeDecoderCallbacks
|
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 | |
CompositeDOMTreeDecoderCallback()
Initializes theDOMTreeDecoderCallbacks as a new empty
Vector. |
|
CompositeDOMTreeDecoderCallback(DOMTreeDecoderCallback theDOMTreeDecoderCallback)
Initializes theDOMTreeDecoderCallbacks as a new Vector
with the argument as the first element. |
Method Summary | |
void |
addDOMTreeDecoderCallback(DOMTreeDecoderCallback theDOMTreeDecoderCallback)
Supported API: false |
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 . |
protected Vector |
getDOMTreeDecoderCallbacks()
Gets the object for the association that plays role: theDOMTreeDecoderCallbacks. |
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. |
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 obj)
Sets the container for this object, and all callbacks in the Vector theDOMTreeDecoderCallbacks . |
protected void |
setDOMTreeDecoderCallbacks(Vector a_DOMTreeDecoderCallbacks)
Sets the object for the association that plays role: theDOMTreeDecoderCallbacks. |
void |
setInputStream(InputStream is)
Sets the inputStream for this object, and all callbacks in the Vector theDOMTreeDecoderCallbacks . |
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 Vector theDOMTreeDecoderCallbacks
private Persistable persistableObject
private Vector ancillaryObjects
Constructor Detail |
public CompositeDOMTreeDecoderCallback()
theDOMTreeDecoderCallbacks
as a new empty
Vector.
public CompositeDOMTreeDecoderCallback(DOMTreeDecoderCallback theDOMTreeDecoderCallback)
theDOMTreeDecoderCallbacks
as a new Vector
with the argument as the first element.
theDOMTreeDecoderCallback
- Method Detail |
protected Vector getDOMTreeDecoderCallbacks()
protected void setDOMTreeDecoderCallbacks(Vector a_DOMTreeDecoderCallbacks)
a_DOMTreeDecoderCallbacks
- 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
XMLMechanismException
public void setNextElement(Element tree) throws XMLMechanismException
Persistable
to the appropriate callback's setElement()
method.
setNextElement
in class DOMTreeDecoderCallback
tree
-
XMLMechanismException
public void addDOMTreeDecoderCallback(DOMTreeDecoderCallback theDOMTreeDecoderCallback)
theDOMTreeDecoderCallback
- public void setContainer(Object obj) throws WTPropertyVetoException
theDOMTreeDecoderCallbacks
.
setContainer
in class DOMTreeDecoderCallback
obj
-
WTPropertyVetoException
public void setInputStream(InputStream is) throws WTPropertyVetoException
theDOMTreeDecoderCallbacks
.
setInputStream
in class DOMTreeDecoderCallback
is
-
WTPropertyVetoException
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 |