org.eclipse.jst.jsf.contentmodel.annotation
Class CMAnnotationSourceFileLocator

java.lang.Object
  extended by org.eclipse.jst.jsf.contentmodel.annotation.CMAnnotationSourceFileLocator

Deprecated. see org.eclipse.jst.jsf.common.metadata package

public abstract class CMAnnotationSourceFileLocator
extends java.lang.Object

Used to supply an InputStream to the parser of an annotation meta-data file and the URL to the resource bundle for a properties file, if any. Implementors must provide a zero-argument constructor.


Constructor Summary
CMAnnotationSourceFileLocator()
          Deprecated.  
 
Method Summary
abstract  java.io.InputStream getAnnotationSourceInputStream()
          Deprecated. Return InputStream to the meta-data annotation.
abstract  java.util.ResourceBundle getResourceBundle()
          Deprecated. Return ResourceBundle for the property files if there are any.
 void setFileInfo(ICMAnnotationSourceFileInfo fileInfo)
          Deprecated. Set the ICMAnnotationSourceFileInfo for locator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMAnnotationSourceFileLocator

public CMAnnotationSourceFileLocator()
Deprecated. 
Method Detail

setFileInfo

public final void setFileInfo(ICMAnnotationSourceFileInfo fileInfo)
Deprecated. 
Set the ICMAnnotationSourceFileInfo for locator

Parameters:
fileInfo -

getAnnotationSourceInputStream

public abstract java.io.InputStream getAnnotationSourceInputStream()
                                                            throws java.io.IOException
Deprecated. 
Return InputStream to the meta-data annotation. Callers are responsble for closing the stream.

Returns:
InputStream
Throws:
java.io.IOException

getResourceBundle

public abstract java.util.ResourceBundle getResourceBundle()
                                                    throws java.io.IOException,
                                                           java.util.MissingResourceException
Deprecated. 
Return ResourceBundle for the property files if there are any. Return null if not.

Returns:
java.util.ResourceBundle
Throws:
java.io.IOException
java.util.MissingResourceException