if (vPath.isEmpty() && !vPath.isExpectedType(PDPage.class))
{
throw new ValidationException("Tiling pattern validation required at least a PDPage");
}
PDTilingPatternResources tilingPattern = (PDTilingPatternResources) vPath.peek();
PDPage page = vPath.getClosestPathElement(PDPage.class);
checkMandatoryFields(context, page, tilingPattern);
parseResources(context, page, tilingPattern);
parsePatternContent(context, page, tilingPattern);