ucar.unidata.idv
Class IdvResourceManager.XmlIdvResource

java.lang.Object
  extended by ucar.unidata.idv.IdvResourceManager.IdvResource
      extended by ucar.unidata.idv.IdvResourceManager.XmlIdvResource
Enclosing class:
IdvResourceManager

public static class IdvResourceManager.XmlIdvResource
extends IdvResourceManager.IdvResource

Class XmlIdvResource. Respresents xml resources.

Author:
IDV development team

Field Summary
 
Fields inherited from class ucar.unidata.idv.IdvResourceManager.IdvResource
extraPaths, fileNamePattern, pattern
 
Constructor Summary
IdvResourceManager.XmlIdvResource(String id)
          Create this object with the given id
IdvResourceManager.XmlIdvResource(String id, String description)
          Create this object with the given id and description
IdvResourceManager.XmlIdvResource(String id, String description, String fileNamePattern)
          Create this object with the given id and description and jython edit command.
IdvResourceManager.XmlIdvResource(String id, String description, String fileNamePattern, boolean forUser)
          Create an XmlIdvResource
 
Method Summary
 ResourceCollection initResourceCollection(IdvResourceManager resourceManager)
          Create the ResourceCollection
 
Methods inherited from class ucar.unidata.idv.IdvResourceManager.IdvResource
addExtraPath, getDescription, getId, getPattern, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdvResourceManager.XmlIdvResource

public IdvResourceManager.XmlIdvResource(String id)
Create this object with the given id

Parameters:
id - The id

IdvResourceManager.XmlIdvResource

public IdvResourceManager.XmlIdvResource(String id,
                                         String description)
Create this object with the given id and description

Parameters:
id - The id
description - The description

IdvResourceManager.XmlIdvResource

public IdvResourceManager.XmlIdvResource(String id,
                                         String description,
                                         String fileNamePattern)
Create this object with the given id and description and jython edit command.

Parameters:
id - The id
description - The description This may be null.
fileNamePattern - pattern

IdvResourceManager.XmlIdvResource

public IdvResourceManager.XmlIdvResource(String id,
                                         String description,
                                         String fileNamePattern,
                                         boolean forUser)
Create an XmlIdvResource

Parameters:
id - the id
description - a description
fileNamePattern - the file name pattern
forUser - true if for the user
Method Detail

initResourceCollection

public ResourceCollection initResourceCollection(IdvResourceManager resourceManager)
Create the ResourceCollection

Overrides:
initResourceCollection in class IdvResourceManager.IdvResource
Parameters:
resourceManager - The resource manager that does the work
Returns:
The new resource collection