Try to create a resource for the given file.
This method makes its best efforts to try to build a default
resource out of a file.
Parameters: directory - The directory the file is in. Parameters: name - The name of the file. Parameters: defs - Any default attribute values that should be providedto the created resource at initialization time. A Resource instance, or null if the givenfile can't be truned into a resource given our configurationdatabase.
Fields inherited from org.w3c.tools.resources.indexer.SampleIndexerEnumeration