public abstract class AbstractSourceContainerTypeDelegate extends java.lang.Object implements ISourceContainerTypeDelegate
Clients implementing source container delegates should subclass this class.
| Constructor and Description |
|---|
AbstractSourceContainerTypeDelegate() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSourceContainer, getMementoprotected void abort(java.lang.String message,
java.lang.Throwable exception)
throws CoreException
message - error messageexception - underlying exception, or nullCoreException - if a problem is encounteredprotected 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 serializeCoreException - if unable to serialize the documentprotected org.w3c.dom.Element parseDocument(java.lang.String document)
throws CoreException
document - XML document as a stringCoreException - if unable to parse the document
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.