blob: d39a0ed7985b87467ca1fdc94f3d0fc83c7a72e5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2015 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.help;
/**
* A directive indicating the content at the given path should be included in
* this document, and replace this node.
*
* @since 3.3
*/
public interface IInclude extends IUAElement {
/**
* An href pointing to a document element. The href has the form
* <code>/plugin_id/path/file.ext#anchorId</code>. For example, to include
* the element with id <code>myId</code> in the XML file
* <code>files/myFile.xml</code> under plug-in <code>my.plugin</code>, the
* path is <code>/my.plugin/files/myFile.xml#myId</code>.
*
* @return the path of the element to include
*/
public String getPath();
}