org.eclipse.ptp.etfw.feedback
Class AbstractFeedbackParser
java.lang.Object
org.eclipse.ptp.etfw.feedback.AbstractFeedbackParser
- All Implemented Interfaces:
- IFeedbackParser
public abstract class AbstractFeedbackParser
- extends java.lang.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.
|
Method Summary |
void |
createMarkers(java.util.List<IFeedbackItem> items,
java.lang.String markerID)
|
org.eclipse.core.resources.IFile |
findSourceFile(java.lang.String filename,
org.eclipse.core.resources.IFile xmlSourceFile)
|
org.eclipse.core.resources.IResource |
getResourceInProject(org.eclipse.core.resources.IProject proj,
java.lang.String filename)
|
org.eclipse.core.resources.IResource |
getResourceInProject(java.lang.String projName,
java.lang.String filename)
find file based on project and filename |
org.w3c.dom.Document |
getXMLDocument(org.eclipse.core.resources.IFile file)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFeedbackParser
public AbstractFeedbackParser()
createMarkers
public void createMarkers(java.util.List<IFeedbackItem> items,
java.lang.String markerID)
- Specified by:
createMarkers in interface IFeedbackParser
findSourceFile
public org.eclipse.core.resources.IFile findSourceFile(java.lang.String filename,
org.eclipse.core.resources.IFile xmlSourceFile)
- Since:
- 5.0
getResourceInProject
public org.eclipse.core.resources.IResource getResourceInProject(org.eclipse.core.resources.IProject proj,
java.lang.String filename)
- Since:
- 5.0
getResourceInProject
public org.eclipse.core.resources.IResource getResourceInProject(java.lang.String projName,
java.lang.String filename)
- find file based on project and filename
- Parameters:
projName - filename -
- Returns:
- Since:
- 5.0
getXMLDocument
public org.w3c.dom.Document getXMLDocument(org.eclipse.core.resources.IFile file)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
- Parameters:
file -
- Returns:
-
- Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException- Since:
- 5.0
Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.