class ElementProperties {

    public static ElementProperty isChildOf(Path path) {
        return new ElementProperty() {
            @Override
            public String toXpath() {
                return getRelationXpath(path, "parent");
            }

            public String toString() {
                return "is child of: " + rValueToString(path);
            }
        };
    }

    private  ElementProperties();

}