// inline -> default location mapping.
StringSequence inlineLocators = metaDom.getInlineLocators();
String inlineId = inlineLocators.getFirst();
while (inlineId != null) {
AnchorView inlineUi = views.asAnchor(Document.get().getElementById(inlineId));
InlineThreadView threadUi = inlineUi.getThread();
if (threadUi != null) {
// Move to default location.
String defaultId = ViewIdMapper.defaultOfInlineAnchor(inlineId);
AnchorView defaultUi = views.asAnchor(Document.get().getElementById(defaultId));
inlineUi.detach(threadUi);
defaultUi.attach(threadUi);
}
inlineId = inlineLocators.getNext(inlineId);
}
}