propertyAnnotator = $propertyAnnotator; $this->dataItemFactory = new DataItemFactory(); } /** * @see PropertyAnnotator::getSemanticData * * @since 1.9 * * @return SemanticData */ public function getSemanticData() { return $this->propertyAnnotator->getSemanticData(); } /** * @see PropertyAnnotator::addAnnotation * * @since 1.9 * * @return PropertyAnnotator */ public function addAnnotation() { $this->propertyAnnotator->addAnnotation(); $this->addPropertyValues(); return $this; } /** * @since 1.9 */ protected abstract function addPropertyValues(); }