XMLRepository
class in package klyn.data.xml

    public final class XMLRepository<T, TId> extends DocumentRepository<T, TId>:

DocumentRepository
└ XMLRepository

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.

Example

    users = XMLRepository<User, Int>.open(XMLConfiguration("users.xml"))

Methods

Modifier and Type | Member | Description
--- | --- | ---
public static | open `open(configuration as XMLConfiguration) as XMLRepository<T, TId>:` | Opens a lazy repository without retaining a file handle.
public override | providerName `providerName() as String:` | Returns the stable XML provider identifier.

Inherited Methods
method Inherited Methods from DocumentRepository: asQuery, count, countPlan, executePlan, existsPlan, openStream, providerName, providerText, validateBeforeRead
method Inherited Methods from Repository: count, validateBeforeRead
method Inherited Methods from Queryable: asQuery
method Inherited Methods from QuerySource: countPlan, executePlan, existsPlan, openStream, providerName, providerText