in src/main/java/org/apache/sling/hapi/impl/MicrodataAttributeHelperImpl.java [87:97]
public Map<String, String> itempropMap(String propName, boolean withType) {
HApiProperty prop = this.type.getAllProperties().get(propName);
if (null == prop) throw new HApiException("Property " + propName + " does not exist for type " + type.getPath());
Map<String, String> attrMap = new AttrMap(3);
attrMap.put("itemprop", propName);
if (withType) {
attrMap.putAll(new MicrodataAttributeHelperImpl(resolver, prop.getType()).itemtypeMap());
}
return attrMap;
}