public class VariableOWLEntityRenderer extends Object implements OWLEntityRenderer
| Constructor and Description |
|---|
VariableOWLEntityRenderer(ConstraintSystem constraintSystem,
OWLEntityRenderer delegate)
Builds a VariableOWLEntityRenderer from a generic one and a
ConstraintSystem instance.
|
| Modifier and Type | Method and Description |
|---|---|
ConstraintSystem |
getConstraintSystem() |
OWLEntityRenderer |
getDelegate() |
String |
render(org.semanticweb.owlapi.model.OWLEntity entity)
Renders an OWLEntity into a String.
|
void |
setConstraintSystem(ConstraintSystem constraintSystem) |
void |
setDelegate(OWLEntityRenderer delegate) |
public VariableOWLEntityRenderer(ConstraintSystem constraintSystem, OWLEntityRenderer delegate)
constraintSystem - the ConstraintSystem containing all the variables. Cannot be
null.delegate - the OWLEntityRenderer instance for the non-variable entities.
Cannot be null.NullPointerException - when either of the inputs is null.public String render(org.semanticweb.owlapi.model.OWLEntity entity)
OWLEntityRendererrender in interface OWLEntityRendererentity - the OWLEntity to render. Cannot be null.public ConstraintSystem getConstraintSystem()
public void setConstraintSystem(ConstraintSystem constraintSystem)
constraintSystem - the constraintSystem to setpublic OWLEntityRenderer getDelegate()
public void setDelegate(OWLEntityRenderer delegate)
delegate - the delegate to setCopyright © 2015 The University of Manchester. All Rights Reserved.