dsto.dfc.databeans.io
Interface XmlEncodeContext.IdCallback
- All Known Implementing Classes:
- XmlLinkCodec
- Enclosing class:
- XmlEncodeContext
public static interface XmlEncodeContext.IdCallback
Callback interface for clients that wish to use forward references.
idForObjectCallback
void idForObjectCallback(XmlEncodeContext context,
org.jdom.Element element,
String id,
Object extraData)
- Called by encode context when an ID becomes available for a given object.
See
XmlEncodeContext.callbackWithIdForObject(IdCallback, Element, Object, Object)
.
- Parameters:
context
- The current encoding context.element
- The element passed to callbackWithIdForObject ().id
- The ID for the requested value.extraData
- The extraData passed to callbackWithIdForObject ().
Copyright © 2008 Commonwealth of Australia