1 /*******************************************************************************
2 * Copyright (c) 2014 École Polytechnique de Montréal
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
10 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.analysis
.xml
.core
.model
;
15 import org
.eclipse
.tracecompass
.tmf
.analysis
.xml
.core
.module
.IXmlStateSystemContainer
;
16 import org
.eclipse
.tracecompass
.tmf
.core
.event
.ITmfEvent
;
19 * Interface that describe a state attribute defined in an XML element
21 * @author Geneviève Bastien
23 public interface ITmfXmlStateAttribute
{
26 * This method gets the quark for this state attribute in the State System.
28 * Unless this attribute is a location, in which case the quark must exist,
29 * the quark will be added to the state system if the state system is in
33 * root quark, use {@link IXmlStateSystemContainer#ROOT_QUARK} to search
34 * the full attribute tree
35 * @return the quark described by attribute or
36 * {@link IXmlStateSystemContainer#ERROR_QUARK} if quark cannot be found
38 int getAttributeQuark(int startQuark
);
41 * This method gets the quark for this state attribute in the State System.
43 * Unless this attribute is a location, in which case the quark must exist,
44 * the quark will be added to the state system if the state system is in
48 * The current event being handled
50 * root quark, use {@link IXmlStateSystemContainer#ROOT_QUARK} to search
51 * the full attribute tree
52 * @return the quark described by attribute or
53 * {@link IXmlStateSystemContainer#ERROR_QUARK} if quark cannot be found
55 int getAttributeQuark(ITmfEvent event
, int startQuark
);
This page took 0.032208 seconds and 5 git commands to generate.