public boolean | writeAnnotation(java.lang.Object target, short targetType)Write contents of the annotation to the specified DOM object. If the
specified target object is a DOM in-scope namespace
declarations for annotation element are added as
attributes nodes of the serialized annotation , otherwise
the corresponding events for all in-scope namespace declaration are
sent via specified document handler.
|