blob: db003ebc243a596978b6c995be77381cfe330e61 (
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
/*
* Copyright (c) 2002 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
* Jens Lukowski/Innoopract - initial renaming/restructuring
*
*/
package org.eclipse.wst.sse.contentproperties;
import java.util.Map;
import org.eclipse.core.resources.IResource;
public interface IContentSettings {
/**
*
*/
public final String DOCUMENT_TYPE = "document-type"; //$NON-NLS-1$
/**
*
*/
public final String HTML_DOCUMENT_TYPE = "html-document-type"; //$NON-NLS-1$
/**
*
*/
public final String CSS_PROFILE = "css-profile"; //$NON-NLS-1$
/**
*
*/
public final String DEVICE_PROFILE = "target-device"; //$NON-NLS-1$
/**
*
*/
public final String JSP_PAGE_ENCODING = "jsp-page-encoding"; //$NON-NLS-1$
/**
*
*/
public final String JSP_LANGUAGE = "jsp-language"; //$NON-NLS-1$
/**
*
*/
public final String JSP_CONTENT_TYPE = "jsp-content-type"; //$NON-NLS-1$
/**
*
*/
public String getProperty(final IResource resource, final String propertyName);
/**
*
*/
public void setProperty(final IResource resource, final String propertyName, final String propertyValue);
/**
*
*/
public void deleteProperty(final IResource resource, final String propertyName);
/**
* release cache of DOM tree in .contentsettings
*/
public void releaseCache();
/**
*
*/
public void deleteAllProperties(final IResource deletedFile);
/**
*
*/
public void setProperties(final IResource resource, final Map properties);
/**
*
*/
public Map getProperties(final IResource resource);
/**
*
*/
public boolean existsProperties(IResource resource);
}
|