XMLRepository
classin packageklyn.data.xml
public final class XMLRepository<T, TId> extends DocumentRepository<T, TId>:
└ 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
methodInherited Methods from DocumentRepository: asQuery, count, countPlan, executePlan, existsPlan, openStream, providerName, providerText, validateBeforeRead
methodInherited Methods from Repository: count, validateBeforeRead
methodInherited Methods from Queryable: asQuery
methodInherited Methods from QuerySource: countPlan, executePlan, existsPlan, openStream, providerName, providerText