Skip to main content
summaryrefslogtreecommitdiffstats
blob: 9ce9e070e7551bcda163f3b0cb018a89f09fa1b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*******************************************************************************
 * Copyright (c) 2005 Oracle Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Ian Trimble - initial API and implementation
 *******************************************************************************/ 
package org.eclipse.jst.pagedesigner.dtmanager;

import java.util.List;

import org.eclipse.jst.jsf.common.metadata.Trait;
import org.eclipse.jst.pagedesigner.dtmanager.dtinfo.TagConvertInfo;
import org.eclipse.jst.pagedesigner.dtmanager.dtinfo.TagDecorateInfo;

/**
 * Encapsulates design-time (DT) information.
 * 
 * <p><b>Provisional API - subject to change</b></p>
 * 
 * @author Ian Trimble - Oracle
 */
public interface IDTInfo {

	/**
	 * Gets the encapsulated TagConvertInfo instance.
	 * 
	 * @return TagConvertInfo instance.
	 */
	public TagConvertInfo getTagConvertInfo();

	/**
	 * Gets the collection of encapsulated TagDecorateInfo instances.
	 * 
	 * @return Collection of TagDecorateInfo instances.
	 */
	public List getTagDecorateInfos();

	/**
	 * Gets an encapsulated TagDecorateInfo instance matching specified ID.
	 * 
	 * @param id ID of desired TagDecorateInfo instance.
	 * @return TagDecorateInfo instance matching specified ID.
	 */
	public TagDecorateInfo getTagDecorateInfo(String id);

	/**
	 * Gets the Trait instance that was queried to load the metadata.
	 * 
	 * @return Trait instance that was queried to load the metadata.
	 */
	public Trait getTrait();

}

Back to the top