public final class XMLRepository<T, TId> extends DocumentRepository<T, TId>:
Read-only typed KQL repository over an atomic XML document.
Mapping metadata is resolved once from @XMLCollection, @XMLAttribute, @XMLElement and the provider-neutral @Id annotation.
users = XMLRepository<User, Int>.open(XMLConfiguration("users.xml"))| Modifier and Type | Member | Description |
|---|---|---|
| public static | openopen(configuration as XMLConfiguration) as XMLRepository<T, TId>: |
Opens a lazy repository without retaining a file handle. |
| public override | providerNameproviderName() as String: |
Returns the stable XML provider identifier. |