DocumentLocator

Locator for properties that weren't registered in container, however are present in the root document.

Since the type of the properties is not known at the runtime, this locator will employ a type guesser to guess the type of element it is requested from root document. If guessing fails, then raw type will be returned per type guesser semantics.

Constructors

this
this(DocumentType document, RCIAllocator allocator)

Constructor for a container for document.

Members

Functions

get
Object get(string identity)

Get a component that is associated with key.

has
bool has(string identity)

Check if an element is present in Locator by key id.

instantiate
typeof(this) instantiate()

Sets up the internal state of container.

terminate
typeof(this) terminate()

Destruct all managed components.

Mixins

__anonymous
mixin AllocatorAwareMixin!(typeof(this))
Undocumented in source.

Properties

accessor
PropertyAccessor!(DocumentType, Object) accessor [@property setter]

Set accessor

accessor
inout(PropertyAccessor!(DocumentType, Object)) accessor [@property getter]

Get accessor

convertor
Convertor convertor [@property setter]

Set convertor

convertor
inout(Convertor) convertor [@property getter]

Get convertor

guesser
TypeGuesser!Object guesser [@property setter]

Set guesser

guesser
inout(TypeGuesser!Object) guesser [@property getter]

Get guesser

Meta