QPathEntry[] path = new QPathEntry[elements.length];
for (int j = 0; j < elements.length; j++)
{
if (elements[j].equals("*"))
{
throw new IllegalNameException("* not supported in include-property");
}
path[j] = new QPathEntry(resolver.parseJCRName(elements[j]).getInternalName(), 1);
}
includes.add(new PropertyInclude(new QPath(path)));