cfb59591c22c12a998ebbdab59fd76a56c45d527
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.analysis.xml.core / src / org / eclipse / linuxtools / tmf / analysis / xml / core / module / ITmfXmlTopLevelElement.java
1 /*******************************************************************************
2 * Copyright (c) 2014 École Polytechnique de Montréal
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.analysis.xml.core.module;
14
15 /**
16 * Interface implemented by all classes representing XML top-level elements, for
17 * example state providers and views
18 *
19 * @author Geneviève Bastien
20 */
21 public interface ITmfXmlTopLevelElement {
22
23 /**
24 * Get the requested value for an attribute. If the value is a pre-defined
25 * value, we return the string corresponding in the defined values map in
26 * the top-level XML element.
27 *
28 * @param name
29 * the string to get
30 * @return the actual string value
31 */
32 String getAttributeValue(String name);
33
34 }
This page took 0.032057 seconds and 4 git commands to generate.