trace/tracebuilder/com.nokia.tracebuilder/src/com/nokia/tracebuilder/engine/propertyfile/PropertyFileElementParser.java
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * Property file element parser interface |
|
17 * |
|
18 */ |
|
19 package com.nokia.tracebuilder.engine.propertyfile; |
|
20 |
|
21 import org.w3c.dom.Element; |
|
22 |
|
23 import com.nokia.tracebuilder.model.TraceBuilderException; |
|
24 |
|
25 /** |
|
26 * Property file element parser interface |
|
27 * |
|
28 */ |
|
29 interface PropertyFileElementParser { |
|
30 |
|
31 /** |
|
32 * Parses the given element |
|
33 * |
|
34 * @param owner |
|
35 * the owning object |
|
36 * @param element |
|
37 * the element to be parsed |
|
38 * @throws TraceBuilderException |
|
39 * if parser fails |
|
40 */ |
|
41 void parse(Object owner, Element element) throws TraceBuilderException; |
|
42 } |