|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainerTypeDelegate
public abstract class AbstractSourceContainerTypeDelegate
Common function for source container type delegates.
Clients implementing source container delegates should subclass this class.
Constructor Summary | |
---|---|
AbstractSourceContainerTypeDelegate()
|
Method Summary | |
---|---|
protected void |
abort(java.lang.String message,
java.lang.Throwable exception)
Throws an exception with the given message and underlying exception. |
protected org.w3c.dom.Document |
newDocument()
Creates and returns a new XML document. |
protected org.w3c.dom.Element |
parseDocument(java.lang.String document)
Parses the given XML document, returning its root element. |
protected java.lang.String |
serializeDocument(org.w3c.dom.Document document)
Returns the given XML document as a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.debug.core.sourcelookup.ISourceContainerTypeDelegate |
---|
createSourceContainer, getMemento |
Constructor Detail |
---|
public AbstractSourceContainerTypeDelegate()
Method Detail |
---|
protected void abort(java.lang.String message, java.lang.Throwable exception) throws CoreException
message
- error messageexception
- underlying exception, or null
CoreException
protected org.w3c.dom.Document newDocument() throws CoreException
CoreException
- if unable to create a new documentprotected java.lang.String serializeDocument(org.w3c.dom.Document document) throws CoreException
document
- document to serialize
CoreException
- if unable to serialize the documentprotected org.w3c.dom.Element parseDocument(java.lang.String document) throws CoreException
document
- XML document as a string
CoreException
- if unable to parse the document
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.