nanopub-java-master/src/main/java/org/nanopub/NanopubWithNs.java
package org.nanopub;

import java.util.List;

/**
 * This extension of the interface represents nanopub objects that store prefix/namespace mappings.
 *
 * @author Tobias Kuhn
 */
public interface NanopubWithNs extends Nanopub {

	public List<String> getNsPrefixes();

	public String getNamespace(String prefix);

	public void removeUnusedPrefixes();

}
