@Override public OWLAnnotation buildObject() { return df.getOWLAnnotation(getProperty(), getValue(), annotations); }
public AnnEH() { provider = x -> new BuilderAnnotation(x); child = HandleChild.OWLAnnotationEH; }
/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderAnnotation(OWLAnnotation expected, OWLDataFactory df) { this(df); withProperty(expected.getProperty()).withValue(expected.getValue()); }
@Override void handleChild(IRIEH h) { builder.withValue(h.getOWLObject()); } }
@Override void attribute(String localName, String value) { super.attribute(localName, value); // Legacy Handling if (localName.equals(ANNOTATION_URI.getShortForm())) { builder.withProperty(handler.getIRI(value)); } }
/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderAnnotation(OWLAnnotation expected, OWLDataFactory df) { this(df); withProperty(expected.getProperty()).withValue(expected.getValue()); }
@Override void handleChild(IRIEH h) { builder.withValue(h.getOWLObject()); } }
@Override void attribute(String localName, String value) { super.attribute(localName, value); // Legacy Handling if (localName.equals(ANNOTATION_URI.getShortForm())) { builder.withProperty(handler.getIRI(value)); } }
/** * Builder initialized from an existing object. * * @param expected the existing object * @param df data factory */ public BuilderAnnotation(OWLAnnotation expected, OWLDataFactory df) { this(df); withProperty(expected.getProperty()).withValue(expected.getValue()); }
@Override void handleChild(IRIEH h) { builder.withValue(h.getOWLObject()); } }
@Override public OWLAnnotation buildObject() { return df.getOWLAnnotation(getProperty(), getValue(), annotations); }
@Override void attribute(String localName, String value) { super.attribute(localName, value); // Legacy Handling if (localName.equals(ANNOTATION_URI.getShortForm())) { builder.withProperty(handler.getIRI(value)); } }
public AnnEH() { provider = x -> new BuilderAnnotation(x); child = HandleChild.OWLAnnotationEH; }
/** * Builder initialized from an existing object. * * @param expected * the existing object * @param df * data factory */ public BuilderAnnotation(OWLAnnotation expected, OWLDataFactory df) { this(df); withProperty(expected.getProperty()).withValue(expected.getValue()); }
@Override void handleChild(AnonEH h) { builder.withValue(h.getOWLObject()); }
@Override public OWLAnnotation buildObject() { return df.getOWLAnnotation(getProperty(), getValue(), annotations); }
@Override void attribute(String localName, String value) { super.attribute(localName, value); // Legacy Handling if (localName.equals(ANNOTATION_URI.getShortForm())) { builder.withProperty(handler.getIRI(value)); } }
public AnnEH() { provider = x -> new BuilderAnnotation(x); child = HandleChild.OWLAnnotationEH; }
@Override void handleChild(LiteralEH h) { builder.withValue(h.getOWLObject()); }
@Override public OWLAnnotation buildObject() { return df.getOWLAnnotation(getProperty(), getValue(), annotations); }