PTP
Release 7.0

org.eclipse.ptp.etfw.feedback
Class AbstractFeedbackParser

java.lang.Object
  extended by org.eclipse.ptp.etfw.feedback.AbstractFeedbackParser
All Implemented Interfaces:
IFeedbackParser

public abstract class AbstractFeedbackParser
extends Object
implements IFeedbackParser

Abstract class that may contain utility methods for parsing feedback xml files.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. We do not recommending using this API without consulting with the etfw.feedback team.


Constructor Summary
AbstractFeedbackParser()
           
 
Method Summary
 void createMarkers(List<IFeedbackItem> items, String markerID)
           
 IFile findSourceFile(String filename, IFile xmlSourceFile)
           
 IResource getResourceInProject(IProject proj, String filename)
           
 IResource getResourceInProject(String projName, String filename)
          find file based on project and filename
 Document getXMLDocument(IFile file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ptp.etfw.feedback.IFeedbackParser
getFeedbackItems, getMarkerID, getViewID
 

Constructor Detail

AbstractFeedbackParser

public AbstractFeedbackParser()
Method Detail

createMarkers

public void createMarkers(List<IFeedbackItem> items,
                          String markerID)
Specified by:
createMarkers in interface IFeedbackParser

findSourceFile

public IFile findSourceFile(String filename,
                            IFile xmlSourceFile)
Since:
5.0

getResourceInProject

public IResource getResourceInProject(IProject proj,
                                      String filename)
Since:
5.0

getResourceInProject

public IResource getResourceInProject(String projName,
                                      String filename)
find file based on project and filename

Parameters:
projName -
filename -
Returns:
Since:
5.0

getXMLDocument

public Document getXMLDocument(IFile file)
                        throws ParserConfigurationException,
                               SAXException,
                               IOException
Parameters:
file -
Returns:
Throws:
ParserConfigurationException
SAXException
IOException
Since:
5.0

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.