org.semanticweb.elk.owl.iris
Class ElkPrefixDeclarationsImpl
java.lang.Object
org.semanticweb.elk.owl.iris.ElkPrefixDeclarationsImpl
- All Implemented Interfaces:
- ElkPrefixDeclarations
public class ElkPrefixDeclarationsImpl
- extends Object
- implements ElkPrefixDeclarations
- Author:
- Frantisek Simancik
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prefixLookup
protected final Map<String,ElkPrefix> prefixLookup
ElkPrefixDeclarationsImpl
public ElkPrefixDeclarationsImpl()
addPrefix
public boolean addPrefix(ElkPrefix prefix)
- Description copied from interface:
ElkPrefixDeclarations
- Prefix declaration. Rejects if a prefix with the same name has already
been declared.
- Specified by:
addPrefix in interface ElkPrefixDeclarations
- Returns:
- true is successful
getPrefix
public ElkPrefix getPrefix(String prefixName)
- Specified by:
getPrefix in interface ElkPrefixDeclarations
- Returns:
- The ElkPrefix associated with the prefixName or null if none.
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.