Author: dgolovin
Date: 2011-08-04 02:50:57 -0400 (Thu, 04 Aug 2011)
New Revision: 33583
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.java
Log:
class with constants converted to interface to exclude from code coverage
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.java 2011-08-04
06:46:41 UTC (rev 33582)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/HtmlComponentUtil.java 2011-08-04
06:50:57 UTC (rev 33583)
@@ -2,7 +2,7 @@
* Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
+ * Eclipse License v1.0 which accompanies this distribution,
* and is available at
http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
@@ -21,267 +21,267 @@
* @author Max Areshkau
* @author yradtsevich
*/
-public class HtmlComponentUtil {
+public interface HtmlComponentUtil {
/**
* @deprecated use {@link HTML#TAG_DL} instead
*/
- public static final String HTML_TAG_DL = "dl"; //$NON-NLS-1$
+ static final String HTML_TAG_DL = "dl"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_BR} instead
*/
- public static final String HTML_TAG_BR = "br"; //$NON-NLS-1$
+ static final String HTML_TAG_BR = "br"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_COLGROUP} instead
*/
- public static final String HTML_TAG_COLGROUP = "colgroup"; //$NON-NLS-1$
+ static final String HTML_TAG_COLGROUP = "colgroup"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_THEAD} instead
*/
- public static final String HTML_TAG_THEAD = "thead"; //$NON-NLS-1$
+ static final String HTML_TAG_THEAD = "thead"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_TFOOT} instead
*/
- public static final String HTML_TAG_TFOOT = "tfoot"; //$NON-NLS-1$
+ static final String HTML_TAG_TFOOT = "tfoot"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_CAPTION} instead
*/
- public static final String HTML_TAG_CAPTION = "caption"; //$NON-NLS-1$
+ static final String HTML_TAG_CAPTION = "caption"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_DT} instead
*/
- public static final String HTML_TAG_DT = "dt"; //$NON-NLS-1$
+ static final String HTML_TAG_DT = "dt"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_DD} instead
*/
- public static final String HTML_TAG_DD = "dd"; //$NON-NLS-1$
+ static final String HTML_TAG_DD = "dd"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_TABLE} instead
*/
- public static final String HTML_TAG_TABLE = "TABLE"; //$NON-NLS-1$
+ static final String HTML_TAG_TABLE = "TABLE"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_TBODY} instead
*/
- public static final String HTML_TAG_TBODY = "TBODY"; //$NON-NLS-1$
+ static final String HTML_TAG_TBODY = "TBODY"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_TR} instead
*/
- public static final String HTML_TAG_TR = "TR"; //$NON-NLS-1$
+ static final String HTML_TAG_TR = "TR"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_TD} instead
*/
- public static final String HTML_TAG_TD = "TD"; //$NON-NLS-1$
+ static final String HTML_TAG_TD = "TD"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_TH} instead
*/
- public static final String HTML_TAG_TH = "TH"; //$NON-NLS-1$
+ static final String HTML_TAG_TH = "TH"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_INPUT} instead
*/
- public static final String HTML_TAG_INPUT = "INPUT"; //$NON-NLS-1$
+ static final String HTML_TAG_INPUT = "INPUT"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_IMG} instead
*/
- public static final String HTML_TAG_IMG = "IMG"; //$NON-NLS-1$
+ static final String HTML_TAG_IMG = "IMG"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_DIV} instead
*/
- public static final String HTML_TAG_DIV = "DIV"; //$NON-NLS-1$
+ static final String HTML_TAG_DIV = "DIV"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_SPAN} instead
*/
- public static final String HTML_TAG_SPAN = "SPAN"; //$NON-NLS-1$
+ static final String HTML_TAG_SPAN = "SPAN"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_A} instead
*/
- public static final String HTML_TAG_A = "A"; //$NON-NLS-1$
+ static final String HTML_TAG_A = "A"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_B} instead
*/
- public static final String HTML_TAG_B = "B"; //$NON-NLS-1$
+ static final String HTML_TAG_B = "B"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_LI} instead
*/
- public static final String HTML_TAG_LI = "LI"; //$NON-NLS-1$
+ static final String HTML_TAG_LI = "LI"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_COLSPAN} instead
*/
- public static final String HTML_TABLE_COLSPAN = "colspan"; //$NON-NLS-1$
+ static final String HTML_TABLE_COLSPAN = "colspan"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_HEIGHT} instead
*/
- public static final String HTML_HEIGHT_ATTR = "height"; //$NON-NLS-1$
+ static final String HTML_HEIGHT_ATTR = "height"; //$NON-NLS-1$
/**
* @deprecated use {@link RichFaces#ATTR_STYLE_CLASS} instead
*/
- public static final String HTML_STYLECLASS_ATTR = "styleClass"; //$NON-NLS-1$
+ static final String HTML_STYLECLASS_ATTR = "styleClass"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_CLASS} instead
*/
- public static final String HTML_CLASS_ATTR = "class"; //$NON-NLS-1$
+ static final String HTML_CLASS_ATTR = "class"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_CELLSPACING} instead
*/
- public static final String HTML_CELLSPACING_ATTR = "cellspacing";
//$NON-NLS-1$
+ static final String HTML_CELLSPACING_ATTR = "cellspacing"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_CELLPADDING} instead
*/
- public static final String HTML_CELLPADDING_ATTR = "cellpadding";
//$NON-NLS-1$
+ static final String HTML_CELLPADDING_ATTR = "cellpadding"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#VALUE_ALIGN_LEFT} instead
*/
- public static final String HTML_ALIGN_LEFT_VALUE = "left"; //$NON-NLS-1$
+ static final String HTML_ALIGN_LEFT_VALUE = "left"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#VALUE_ALIGN_RIGHT} instead
*/
- public static final String HTML_ALIGN_RIGHT_VALUE = "right"; //$NON-NLS-1$
+ static final String HTML_ALIGN_RIGHT_VALUE = "right"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#VALUE_ALIGN_CENTER} instead
*/
- public static final String HTML_ALIGN_CENTER_VALUE = "center"; //$NON-NLS-1$
+ static final String HTML_ALIGN_CENTER_VALUE = "center"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_WIDTH} instead
*/
- public static final String HTML_ATR_WIDTH = "width"; //$NON-NLS-1$
+ static final String HTML_ATR_WIDTH = "width"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_HEIGHT} instead
*/
- public static final String HTML_ATR_HEIGHT = "height"; //$NON-NLS-1$
+ static final String HTML_ATR_HEIGHT = "height"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_SRC} instead
*/
- public static final String HTML_ATR_SRC = "src"; //$NON-NLS-1$
+ static final String HTML_ATR_SRC = "src"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_STYLE} instead
*/
- public static final String HTML_STYLE_ATTR = "style"; //$NON-NLS-1$
+ static final String HTML_STYLE_ATTR = "style"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_SCOPE} instead
*/
- public static final String HTML_SCOPE_ATTR = "scope"; //$NON-NLS-1$
+ static final String HTML_SCOPE_ATTR = "scope"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_BORDER} instead
*/
- public static final String HTML_BORDER_ATTR = "border"; //$NON-NLS-1$
+ static final String HTML_BORDER_ATTR = "border"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_ALIGN} instead
*/
- public static final String HTML_ALIGN_ATTR = "align"; //$NON-NLS-1$
+ static final String HTML_ALIGN_ATTR = "align"; //$NON-NLS-1$
// TODO: move the constant from this class to somewhere
- public static final String FILE_PROTOCOL = "file://"; //$NON-NLS-1$
+ static final String FILE_PROTOCOL = "file://"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_COLSPAN} instead
*/
- public static final String HTML_COLSPAN_ATTR = "colspan"; //$NON-NLS-1$
+ static final String HTML_COLSPAN_ATTR = "colspan"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_ROWSPAN} instead
*/
- public static final String HTML_ROWSPAN_ATTR = "rowspan"; //$NON-NLS-1$
+ static final String HTML_ROWSPAN_ATTR = "rowspan"; //$NON-NLS-1$
/** @deprecated there is no tag with row attribute */
// TODO: remove the attribute from the code
- public static final String HTML_ROW_ATTR = "row"; //$NON-NLS-1$
+ static final String HTML_ROW_ATTR = "row"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_SIZE} instead
*/
- public static final String HTML_SIZE_ATTR = "size"; //$NON-NLS-1$
+ static final String HTML_SIZE_ATTR = "size"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_TYPE} instead
*/
- public static final String HTML_TYPE_ATTR = "type"; //$NON-NLS-1$
+ static final String HTML_TYPE_ATTR = "type"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_READONLY} instead
*/
- public static final String HTML_READONLY_ATTR = "readonly"; //$NON-NLS-1$
+ static final String HTML_READONLY_ATTR = "readonly"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#TAG_BUTTON} instead
*/
- public static final String HTML_TAG_BUTTON = "button"; //$NON-NLS-1$
+ static final String HTML_TAG_BUTTON = "button"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_VALUE} instead
*/
- public static final String HTML_VALUE_ATTR = "value"; //$NON-NLS-1$
+ static final String HTML_VALUE_ATTR = "value"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#STYLE_PARAMETER_BORDER_WIDTH} instead
*/
- public static final String CSS_BORDER_WIDTH = "border-width"; //$NON-NLS-1$
+ static final String CSS_BORDER_WIDTH = "border-width"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#STYLE_PARAMETER_BORDER_STYLE} instead
*/
- public static final String CSS_BORDER_STYLE = "border-style"; //$NON-NLS-1$
+ static final String CSS_BORDER_STYLE = "border-style"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#STYLE_PARAMETER_DISPLAY} instead
*/
- public static final String CSS_DISPLAY = "display"; //$NON-NLS-1$
+ static final String CSS_DISPLAY = "display"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_WIDTH} instead
*/
- public static final String HTML_WIDTH_ATTR = "width"; //$NON-NLS-1$
+ static final String HTML_WIDTH_ATTR = "width"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_VALIGN} instead
*/
- public static final String HTML_ATTR_VALIGN = "valign"; //$NON-NLS-1$
+ static final String HTML_ATTR_VALIGN = "valign"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#STYLE_VALUE_MIDDLE} instead
*/
- public static final String HTML_ATTR_VALIGN_MIDDLE_VALUE = "middle";
//$NON-NLS-1$
+ static final String HTML_ATTR_VALIGN_MIDDLE_VALUE = "middle"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_BACKGROUND} instead
*/
- public static final String HTML_ATTR_BACKGROUND = "background"; //$NON-NLS-1$
+ static final String HTML_ATTR_BACKGROUND = "background"; //$NON-NLS-1$
/**
* @deprecated use {@link HTML#ATTR_DISABLED} instead
*/
- public static final String HTML_ATTR_DISABLED = "disabled"; //$NON-NLS-1$
+ static final String HTML_ATTR_DISABLED = "disabled"; //$NON-NLS-1$
}