Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.4 rc2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protegex.owl.model.classdisplay
Class AbstractOWLClassDisplay

    java.lang.Object
      edu.stanford.smi.protegex.owl.model.classdisplay.AbstractOWLClassDisplay

All Implemented Interfaces:
  OWLClassDisplay

Direct Known Subclasses:
  CompactOWLClassDisplay, ManchesterOWLClassDisplay

    public abstract class AbstractOWLClassDisplay

extends Object
implements OWLClassDisplay

A basic implementation of OWLClassRenderer which uses infix notation based on the keys defined by the various methods in the implementing classes.

Author:
  Holger Knublauch

Constructor Summary
`AbstractOWLClassDisplay()`

Method Summary
`protected String` | `getCommentText(RDFSClass cls)`
`String` | `getDisplayText(RDFSClass cls)` Gets the display text for a given class expression.
`protected String` | `getDisplayTextOfOWLComplementClass(OWLComplementClass cls)`
`protected String` | `getDisplayTextOfOWLEnumeratedClass(OWLEnumeratedClass cls)`
`protected String` | `getDisplayTextOfOWLNAryLogicalClass(OWLNAryLogicalClass cls)`
`protected String` | `getDisplayTextOfOWLRestriction(OWLRestriction restriction)`
`protected String` | `getNestedDisplayText(RDFSClass cls)`
`protected String` | `getOWLRestrictionFillerText(OWLRestriction restriction)`
`String` | `getSymbol(OWLAnonymousClass cls)` Gets the keyword for a class of a given type.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface edu.stanford.smi.protegex.owl.model.classdisplay.OWLClassDisplay
`getOWLAllValuesFromSymbol, getOWLCardinalitySymbol, getOWLComplementOfSymbol, getOWLHasValueSymbol, getOWLIntersectionOfSymbol, getOWLMaxCardinalitySymbol, getOWLMinCardinalitySymbol, getOWLSomeValuesFromSymbol, getOWLUnionOfSymbol, getParser`

Constructor Detail

### AbstractOWLClassDisplay

    public AbstractOWLClassDisplay()

Method Detail

### getDisplayText

    public String getDisplayText(RDFSClass cls)

  Description copied from interface: `OWLClassDisplay`
  Gets the display text for a given class expression. This will be used in the `getBrowserText()` call of the class.

  Specified by:
    `getDisplayText` in interface `OWLClassDisplay`
  Parameters:
    `cls` - the class to get the text for
  Returns:
    the display text (not null)

### getCommentText

    protected String getCommentText(RDFSClass cls)

### getSymbol

    public String getSymbol(OWLAnonymousClass cls)

  Description copied from interface: `OWLClassDisplay`
  Gets the keyword for a class of a given type. Depending on the provided argument this should fork into the corresponding helper methods such as `getOWLHasValueSymbol()` if the argument is an OWLHasValue restriction.

  Specified by:
    `getSymbol` in interface `OWLClassDisplay`
  Parameters:
    `cls` - the class to get the key for
  Returns:
    the key (undefined for OWLEnumeratedClasses)

### getDisplayTextOfOWLComplementClass

    protected String getDisplayTextOfOWLComplementClass(OWLComplementClass cls)

### getDisplayTextOfOWLEnumeratedClass

    protected String getDisplayTextOfOWLEnumeratedClass(OWLEnumeratedClass cls)

### getDisplayTextOfOWLRestriction

    protected String getDisplayTextOfOWLRestriction(OWLRestriction restriction)

### getOWLRestrictionFillerText

    protected String getOWLRestrictionFillerText(OWLRestriction restriction)

### getDisplayTextOfOWLNAryLogicalClass

    protected String getDisplayTextOfOWLNAryLogicalClass(OWLNAryLogicalClass cls)

### getNestedDisplayText

    protected String getNestedDisplayText(RDFSClass cls)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protégé-OWL 3.4 rc2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.