private OWLAnnotationProperty getOWLAnnotationProperty(String name) { OWLAnnotationProperty prop = checker.getOWLAnnotationProperty(name); if (prop == null && annotationPropertyNames.contains(name)) { prop = df.getOWLAnnotationProperty(getIRI(name)); } if (prop == null) { throw new ExceptionBuilder().withAnn().build(); } return prop; }
private OWLAnnotationProperty getOWLAnnotationProperty(String name) { OWLAnnotationProperty prop = checker.getOWLAnnotationProperty(name); if (prop == null && annotationPropertyNames.contains(name)) { prop = df.getOWLAnnotationProperty(getIRI(name)); } if (prop == null) { throw new ExceptionBuilder().withAnn().build(); } return prop; }
private OWLAnnotationProperty getOWLAnnotationProperty(String name) { OWLAnnotationProperty prop = checker.getOWLAnnotationProperty(name); if (prop == null && annotationPropertyNames.contains(name)) { prop = df.getOWLAnnotationProperty(getIRI(name)); } if (prop == null) { throw new ExceptionBuilder().withAnn().build(); } return prop; }
protected OWLAnnotationProperty parseAnnotationProperty() { String name = consumeToken(); if (!isAnnotationPropertyName(name)) { throw new ExceptionBuilder().withAnn().build(); } return getOWLAnnotationProperty(name); }
private OWLAnnotationProperty getOWLAnnotationProperty(String name) { OWLAnnotationProperty prop = checker.getOWLAnnotationProperty(name); if (prop == null && annotationPropertyNames.contains(name)) { prop = df.getOWLAnnotationProperty(getIRI(name)); } if (prop == null) { throw new ExceptionBuilder().withAnn().build(); } return prop; }
protected OWLAnnotationProperty parseAnnotationProperty() { String name = consumeToken(); if (!isAnnotationPropertyName(name)) { throw new ExceptionBuilder().withAnn().build(); } return getOWLAnnotationProperty(name); }
protected OWLAnnotationProperty parseAnnotationProperty() { String name = consumeToken(); if (!isAnnotationPropertyName(name)) { throw new ExceptionBuilder().withAnn().build(); } return getOWLAnnotationProperty(name); }
protected OWLAnnotationProperty parseAnnotationProperty() { String name = consumeToken(); if (!isAnnotationPropertyName(name)) { throw new ExceptionBuilder().withAnn().build(); } return getOWLAnnotationProperty(name); }