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