|
Eclipse Platform Release 3.3 |
|||||||||||
| 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
Common function for source container type delegates.
Clients implementing source container delegates should subclass this class.
| Constructor Summary | |
|---|---|
AbstractSourceContainerTypeDelegate()
|
|
| Method Summary | |
|---|---|
protected void |
abort(String message,
Throwable exception)
Throws an exception with the given message and underlying exception. |
protected Document |
newDocument()
Creates and returns a new XML document. |
protected Element |
parseDocument(String document)
Parses the given XML document, returning its root element. |
protected String |
serializeDocument(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(String message,
Throwable exception)
throws CoreException
message - error messageexception - underlying exception, or null
CoreException
protected Document newDocument()
throws CoreException
CoreException - if unable to create a new document
protected String serializeDocument(Document document)
throws CoreException
document - document to serialize
CoreException - if unable to serialize the document
protected Element parseDocument(String document)
throws CoreException
document - XML document as a string
CoreException - if unable to parse the document
|
Eclipse Platform Release 3.3 |
|||||||||||
| 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, 2007. All rights reserved.