edu.stanford.smi.protegex.owl.compactparser
Class OWLCompactParserUtil
java.lang.Object
edu.stanford.smi.protegex.owl.compactparser.OWLCompactParserUtil
- public class OWLCompactParserUtil
- extends Object
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OWLCompactParserUtil
public OWLCompactParserUtil()
preprocess
public static String preprocess(OWLModel owlModel,
String text)
- Detects usages of xsd: types as expression fillers, and makes sure that
they start with xsd:. This is needed to simplify the grammar which
grew historically. Eventually this should be cleaned up.
- Parameters:
owlModel
- the OWLModeltext
- the text to preprocess
- Returns:
- the next text or the same if no xsd: types were found
preprocessFiller
public static String preprocessFiller(OWLModel owlModel,
String text)