com.bbn.swede.ui.wizards
Class EntryMetadataSuggester

java.lang.Object
  extended bycom.bbn.swede.ui.wizards.EntryMetadataSuggester

public class EntryMetadataSuggester
extends Object

This class is used to suggest library metadata for a file. In particular it will attempt to find a base URI for an OWL file if one is declared.

Author:
aperezlo

Constructor Summary
EntryMetadataSuggester()
           
 
Method Summary
protected  String findURI(IFile doc)
          findURI().
 String getName()
          Returns default suggested name.
 String getURI()
          Returns the default suggested URI.
 Properties suggestDefaults(IFile doc)
          Primary interface for file metadata default suggestions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryMetadataSuggester

public EntryMetadataSuggester()
Method Detail

findURI

protected String findURI(IFile doc)
findURI().

Parameters:
doc - the IFile which represents the OWL document
Returns:
the URI, if one could be found

suggestDefaults

public Properties suggestDefaults(IFile doc)
Primary interface for file metadata default suggestions.

Parameters:
doc - the IFile handle to the OWL document
Returns:
a java.util.Properties object filled with the suggested metadata

getName

public String getName()
Returns default suggested name.

Returns:
the name found, or null if none was

getURI

public String getURI()
Returns the default suggested URI.

Returns:
the name URI, or null if none was


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.