return DocumentBasedManifestThread.create(router, element);
}
@Override
public Initializer createInitializer(ThreadInitialiser initialState) {
return new CompoundInitializer(
DocumentBasedBasicValue.createInitialiser(Serializer.STRING, THREAD_ID_ATTR,
initialState.id),
// NOTE(anorth): initialise the inline attribute only if true as
// empty implies false.
DocumentBasedBasicValue.createInitialiser(Serializer.BOOLEAN, INLINE_ATTR,