Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f7a783d145e71a5df30befcafcc558d766f33a64 (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
/*******************************************************************************
 * Copyright (c) 2004 IBM Corporation and others.
 * 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:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.wst.html.core.contentmodel;


/**
 * In HTML Documents, name and value of an attribute/element/entity
 * should be treated ignoring theirs case.  However, in XML documents,
 * they should be distinguished with sensitiveness of their case.
 * CMNode is basically designed to represent DTDs or Schemas for XML
 * documents.  So, it doesn't have interfaces to retrieve such information.
 * However, declarations in the HTML CM should provide such information.
 * This intermediate interface is intended to provide whether ignore cases
 * or not.<br>
 */
interface HTMLCMNode extends org.eclipse.wst.common.contentmodel.CMNode {

	/**
	 * Returns <code>true</code>, if declaration is for HTML attribute/element/entity.
	 * Otherwise, returns <code>false</code>.
	 * @return boolean
	 */
	boolean shouldIgnoreCase();
}

Back to the top