2002/css-validator/org/w3c/css/properties/css3 Css3Style.java,1.10,1.11

Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv18813/properties/css3

Modified Files:
	Css3Style.java 
Log Message:
code cleanup, removed dead code, starting reorg of azimuth (others to follow)

Index: Css3Style.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/Css3Style.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Css3Style.java	31 Aug 2011 18:34:51 -0000	1.10
+++ Css3Style.java	9 Sep 2011 12:16:45 -0000	1.11
@@ -31,8 +31,6 @@
 import org.w3c.css.util.Warning;
 import org.w3c.css.util.Warnings;
 
-import org.w3c.css.parser.CssPrinterStyle;
-
 public class Css3Style extends ATSCStyle {
 
     CssOpacity cssOpacity;
@@ -2294,675 +2292,6 @@
     }
 
     /**
-     * Print this style
-     *
-     * @param printer The printer interface
-     */
-    public void print(CssPrinterStyle printer) {
-	super.print(printer);
-
-	if (cssOpacity != null) {
-	    cssOpacity.print(printer);
-	}
-	if (cssRenderIntent != null) {
-	    cssRenderIntent.print(printer);
-	}
-	if (cssColorProfile != null) {
-	    cssColorProfile.print(printer);
-	}
-	if (cssFontEffect != null) {
-	    cssFontEffect.print(printer);
-	}
-	if (cssFontSmooth != null) {
-	    cssFontEffect.print(printer);
-	}
-	if (cssFontEmphasizeStyle != null) {
-	    cssFontEmphasizeStyle.print(printer);
-	}
-	if (cssFontEmphasizePos != null) {
-	    cssFontEmphasizeStyle.print(printer);
-	}
-	if (cssFontEmphasize != null) {
-	    cssFontEmphasize.print(printer);
-	}
-	if (cssRubyPosition != null) {
-	    cssRubyPosition.print(printer);
-	}
-	if (cssRubyAlign != null) {
-	    cssRubyAlign.print(printer);
-	}
-	if (cssRubyOverhang != null) {
-	    cssRubyOverhang.print(printer);
-	}
-	if (cssBoxSizing != null) {
-	    cssBoxSizing.print(printer);
-	}
-	if (cssResizer != null) {
-	    cssResizer.print(printer);
-	}
-	if (cssKeyEq != null) {
-	    cssKeyEq.print(printer);
-	}
-	if (cssTabIndex != null) {
-	    cssTabIndex.print(printer);
-	}
-	if (cssUserInput != null) {
-	    cssUserInput.print(printer);
-	}
-	if (cssUserModify != null) {
-	    cssUserModify.print(printer);
-	}
-	if (cssUserSelect != null) {
-	    cssUserSelect.print(printer);
-	}
-	if (cssUserFocus != null) {
-	    cssUserFocus.print(printer);
-	}
-	if (cssUserFocusKey != null) {
-	    cssUserFocusKey.print(printer);
-	}
-	if (cssUserFocusPointer != null) {
-	    cssUserFocusPointer.print(printer);
-	}
-	if (cssToggleGroup != null) {
-	    cssToggleGroup.print(printer);
-	}
-	if (cssGroupReset != null) {
-	    cssGroupReset.print(printer);
-	}
-	if (cssWritingMode != null) {
-	    cssWritingMode.print(printer);
-	}
-	if (cssGlyphOrVert != null) {
-	    cssGlyphOrVert.print(printer);
-	}
-	if (cssGlyphHor != null) {
-	    cssGlyphHor.print(printer);
-	}
-	if (cssTextJustify != null) {
-	    cssTextJustify.print(printer);
-	}
-	if (cssTextAlignLast != null) {
-	    cssTextAlignLast.print(printer);
-	}
-	if (cssMinFontSize != null) {
-	    cssMinFontSize.print(printer);
-	}
-	if (cssMaxFontSize != null) {
-	    cssMaxFontSize.print(printer);
-	}
-	if (cssTextJustifyTrim != null) {
-	    cssTextJustifyTrim.print(printer);
-	}
-	if (cssTextKashidaSpace != null) {
-	    cssTextKashidaSpace.print(printer);
-	}
-	if (cssDominantBaseLine != null) {
-	    cssDominantBaseLine.print(printer);
-	}
-	if (cssAlignmentBaseLine != null) {
-	    cssAlignmentBaseLine.print(printer);
-	}
-	if (cssAlignmentAdjust != null) {
-	    cssAlignmentAdjust.print(printer);
-	}
-	if (cssBaselineShift != null) {
-	    cssBaselineShift.print(printer);
-	}
-	if (cssLineBreak != null) {
-	    cssLineBreak.print(printer);
-	}
-	if (cssWordBreakCJK != null) {
-	    cssWordBreakCJK.print(printer);
-	}
-	if (cssWordBreakInside != null) {
-	    cssWordBreakInside.print(printer);
-	}
-	if (cssWordBreak != null) {
-	    cssWordBreak.print(printer);
-	}
-	if (cssTextSpace != null) {
-	    cssTextSpace.print(printer);
-	}
-	if (cssTextEndOverflow != null) {
-	    cssTextEndOverflow.print(printer);
-	}
-	if (cssTextAfterOverflow != null) {
-	    cssTextAfterOverflow.print(printer);
-	}
-	if (cssPunctuationTrim != null) {
-	    cssPunctuationTrim.print(printer);
-	}
-	if (cssTextAutoSpace != null) {
-	    cssTextAutoSpace.print(printer);
-	}
-	if (cssKerningMode != null) {
-	    cssKerningMode.print(printer);
-	}
-	if (cssKerningPairTreshold != null) {
-	    cssKerningPairTreshold.print(printer);
-	}
-	if (cssTextUlStyle != null) {
-	    cssTextUlStyle.print(printer);
-	}
-	if (cssTextUlColor != null) {
-	    cssTextUlColor.print(printer);
-	}
-	if (cssTextUlMode != null) {
-	    cssTextUlMode.print(printer);
-	}
-	if (cssTextUlPos != null) {
-	    cssTextUlPos.print(printer);
-	}
-	if (cssTextUnderLine != null) {
-	    cssTextUnderLine.print(printer);
-	}
-	if (cssTextLTStyle != null) {
-	    cssTextLTStyle.print(printer);
-	}
-	if (cssTextLTColor != null) {
-	    cssTextLTColor.print(printer);
-	}
-	if (cssTextLTMode != null) {
-	    cssTextLTMode.print(printer);
-	}
-	if (cssTextLineThrough != null) {
-	    cssTextLineThrough.print(printer);
-	}
-	if (cssTextOLStyle != null) {
-	    cssTextOLStyle.print(printer);
-	}
-	if (cssTextOLColor != null) {
-	    cssTextOLColor.print(printer);
-	}
-	if (cssTextOLMode != null) {
-	    cssTextOLMode.print(printer);
-	}
-	if (cssTextOverLine != null) {
-	    cssTextOverLine.print(printer);
-	}
-	if (cssTextCombine != null) {
-	    cssTextCombine.print(printer);
-	}
-	if (cssMedia != null) {
-	    cssMedia.print(printer);
-	}
-	if (cssDisplayModel != null) {
-	    cssDisplayModel.print(printer);
-	}
-	if (cssDisplayRole != null) {
-	    cssDisplayRole.print(printer);
-	}
-	if (cssMarginInside != null) {
-	    cssMarginInside.print(printer);
-	}
-	if (cssMarginOutside != null) {
-	    cssMarginOutside.print(printer);
-	}
-	if (cssFit != null) {
-	    cssFit.print(printer);
-	}
-	if (cssLink != null) {
-	    cssLink.print(printer);
-	}
-	if (cssLinkBehavior != null) {
-	    cssLinkBehavior.print(printer);
-	}
-	if (cssCollapse != null) {
-	    cssCollapse.print(printer);
-	}
-	if (cssFloatCSS3 != null) {
-	    cssFloatCSS3.print(printer);
-	}
-	if (cssClearCSS3 != null) {
-	    cssClearCSS3.print(printer);
-	}
-	if (cssLineHeightPolicy != null) {
-	    cssLineHeightPolicy.print(printer);
-	}
-	if (cssLineBoxContain != null) {
-	    cssLineBoxContain.print(printer);
-	}
-	if (cssColumnCount != null) {
-	    cssColumnCount.print(printer);
-	}
-	if (cssColumnWidth != null) {
-	    cssColumnWidth.print(printer);
-	}
-	if (cssColumnSpan != null) {
-	    cssColumnSpan.print(printer);
-	}
-	if (cssBackgroundClip != null) {
-	    cssBackgroundClip.print(printer);
-	}
-	if (cssBackgroundSize != null) {
-	    cssBackgroundSize.print(printer);
-	}
-	if (cssBackgroundOrigin != null) {
-	    cssBackgroundOrigin.print(printer);
-	}
-	if (cssBackgroundQuantity != null) {
-	    cssBackgroundQuantity.print(printer);
-	}
-	if (cssBackgroundSpacing != null) {
-	    cssBackgroundSpacing.print(printer);
-	}
-	if (cssTextDecoration != null) {
-	    cssTextDecoration.print(printer);
-	}
-	if (cssWhiteSpace != null) {
-	    cssWhiteSpace.print(printer);
-	}
-	if (cssWordSpacing != null) {
-	    cssWordSpacing.print(printer);
-	}
-	if (cssAllSpaceTreatment != null) {
-	    cssAllSpaceTreatment.print(printer);
-	}
-	if (cssHangingPunctuation != null) {
-	    cssHangingPunctuation.print(printer);
-	}
-	if (cssLineGrid != null) {
-	    cssLineGrid.print(printer);
-	}
-	if (cssLineGridMode != null) {
-	    cssLineGridMode.print(printer);
-	}
-	if (cssLineGridProgression != null) {
-	    cssLineGridProgression.print(printer);
-	}
-	if (cssLinefeedTreatment != null) {
-	    cssLinefeedTreatment.print(printer);
-	}
-	if (cssScript != null) {
-	    cssScript.print(printer);
-	}
-	if (cssTextOverflow != null) {
-	    cssTextOverflow.print(printer);
-	}
-	if (cssTextOverflowEllipsis != null) {
-	    cssTextOverflowEllipsis.print(printer);
-	}
-	if (cssTextOverflowMode != null) {
-	    cssTextOverflowMode.print(printer);
-	}
-	if (cssWhiteSpaceTreatment != null) {
-	    cssWhiteSpaceTreatment.print(printer);
-	}
-	if (cssWrapOption != null) {
-	    cssWrapOption.print(printer);
-	}
-	if (cssColumnGap != null) {
-	    cssColumnGap.print(printer);
-	}
-	if (cssColumnRuleColor != null) {
-	    cssColumnRuleColor.print(printer);
-	}
-	if (cssColumnRuleStyle != null) {
-	    cssColumnRuleStyle.print(printer);
-	}
-	if (cssColumnRuleWidth != null) {
-	    cssColumnRuleWidth.print(printer);
-	}
-	if (cssColumnRule != null) {
-	    cssColumnRule.print(printer);
-	}
-	if (cssDropInitialAfterAdjust != null) {
-	    cssDropInitialAfterAdjust.print(printer);
-	}
-	if (cssDropInitialAfterAlign != null) {
-	    cssDropInitialAfterAlign.print(printer);
-	}
-	if (cssDropInitialBeforeAdjust != null) {
-	    cssDropInitialBeforeAdjust.print(printer);
-	}
-	if (cssDropInitialBeforeAlign != null) {
-	    cssDropInitialBeforeAlign.print(printer);
-	}
-	if (cssDropInitialSize != null) {
-	    cssDropInitialSize.print(printer);
-	}
-	if (cssDropInitialValue != null) {
-	    cssDropInitialValue.print(printer);
-	}
-	if (cssInlineBoxAlign != null) {
-	    cssInlineBoxAlign.print(printer);
-	}
-	if (cssLineStacking != null) {
-	    cssLineStacking.print(printer);
-	}
-	if (cssLineStackingRuby != null) {
-	    cssLineStackingRuby.print(printer);
-	}
-	if (cssLineStackingShift != null) {
-	    cssLineStackingShift.print(printer);
-	}
-	if (cssLineStackingStrategy != null) {
-	    cssLineStackingStrategy.print(printer);
-	}
-	if (cssTextHeight != null) {
-	    cssTextHeight.print(printer);
-	}
-	if (cssAppearance != null) {
-	    cssAppearance.print(printer);
-	}
-	if (cssIcon != null) {
-	    cssIcon.print(printer);
-	}
-	if (cssNavIndex != null) {
-	    cssNavIndex.print(printer);
-	}
-	if (cssNavUp != null) {
-	    cssNavUp.print(printer);
-	}
-	if (cssNavRight != null) {
-	    cssNavRight.print(printer);
-	}
-	if (cssNavDown != null) {
-	    cssNavDown.print(printer);
-	}
-	if (cssNavLeft != null) {
-	    cssNavLeft.print(printer);
-	}
-	if (cssOutlineOffset != null) {
-	    cssOutlineOffset.print(printer);
-	}
-	if (cssOverflowX != null) {
-	    cssOverflowX.print(printer);
-	}
-	if (cssOverflowY != null) {
-	    cssOverflowY.print(printer);
-	}
-	if (cssRubySpan != null) {
-	    cssRubySpan.print(printer);
-	}
-	if (cssTextBlink != null) {
-	    cssTextBlink.print(printer);
-	}
-	if (cssClearAfter != null) {
-	    cssClearAfter.print(printer);
-	}
-	if (cssCrop != null) {
-	    cssCrop.print(printer);
-	}
-	if (cssFitPosition != null) {
-	    cssFitPosition.print(printer);
-	}
-	if (cssFloatDisplace != null) {
-	    cssFloatDisplace.print(printer);
-	}
-	if (cssIndentEdgeReset != null) {
-	    cssIndentEdgeReset.print(printer);
-	}
-	if (cssVisibilityCSS3 != null) {
-	    cssVisibilityCSS3.print(printer);
-	}
-	if (cssOverflowCSS3 != null) {
-	    cssOverflowCSS3.print(printer);
-	}
-	if (cssOverflowClip != null) {
-	    cssOverflowClip.print(printer);
-	}
-	if (cssMaxWidthCSS3 != null) {
-	    cssMaxWidthCSS3.print(printer);
-	}
-	if (cssMaxHeightCSS3 != null) {
-	    cssMaxHeightCSS3.print(printer);
-	}
-	if (cssMinWidthCSS3 != null) {
-	    cssMinWidthCSS3.print(printer);
-	}
-	if (cssMinHeightCSS3 != null) {
-	    cssMinHeightCSS3.print(printer);
-	}
-	if (cssPaddingCSS3 != null) {
-	    cssPaddingCSS3.print(printer);
-	}
-	if (cssPaddingTopCSS3 != null) {
-	    cssPaddingTopCSS3.print(printer);
-	}
-	if (cssPaddingBottomCSS3 != null) {
-	    cssPaddingBottomCSS3.print(printer);
-	}
-	if (cssPaddingLeftCSS3 != null) {
-	    cssPaddingLeftCSS3.print(printer);
-	}
-	if (cssPaddingRightCSS3 != null) {
-	    cssPaddingRightCSS3.print(printer);
-	}
-	if (cssWidthCSS3 != null){
-	    cssWidthCSS3.print(printer);
-	}
-	if (cssHeightCSS3 != null) {
-	    cssHeightCSS3.print(printer);
-	}
-	if (cssMarquee != null) {
-	    cssMarquee.print(printer);
-	}
-	if (cssMarqueeDirection != null) {
-	    cssMarqueeDirection.print(printer);
-	}
-	if (cssMarqueeRepetition != null) {
-	    cssMarqueeRepetition.print(printer);
-	}
-	if (cssMarqueeSpeed != null) {
-	    cssMarqueeSpeed.print(printer);
-	}
-	if (cssMarqueeStyle != null) {
-	    cssMarqueeStyle.print(printer);
-	}
-	if (cssBorderTopRightRadius  != null) {
-	    cssBorderTopRightRadius.print(printer);
-	}
-	if (cssBorderBottomRightRadius != null) {
-	    cssBorderBottomRightRadius.print(printer);
-	}
-	if (cssBorderBottomLeftRadius != null) {
-	    cssBorderBottomLeftRadius.print(printer);
-	}
-	if (cssBorderTopLeftRadius != null) {
-	    cssBorderTopLeftRadius.print(printer);
-	}
-	if (cssBorderRadius != null) {
-	    cssBorderRadius.print(printer);
-	}
-	if (cssBorderTopImage != null) {
-	    cssBorderTopImage.print(printer);
-	}
-	if (cssBorderBottomImage != null) {
-	    cssBorderBottomImage.print(printer);
-	}
-	if (cssBorderLeftImage != null) {
-	    cssBorderLeftImage.print(printer);
-	}
-	if (cssBorderRightImage != null) {
-	    cssBorderRightImage.print(printer);
-	}
-	if (cssBorderImage != null) {
-	    cssBorderImage.print(printer);
-	}
-	if (cssBorderTopLeftImage != null) {
-	    cssBorderTopLeftImage.print(printer);
-	}
-	if (cssBorderTopRightImage != null) {
-	    cssBorderTopRightImage.print(printer);
-	}
-	if (cssBorderBottomLeftImage != null) {
-	    cssBorderBottomLeftImage.print(printer);
-	}
-	if (cssBorderBottomRightImage != null) {
-	    cssBorderBottomRightImage.print(printer);
-	}
-	if (cssBorderCornerImage != null) {
-	    cssBorderCornerImage.print(printer);
-	}
-	if (cssBorderTopFitLength != null) {
-	    cssBorderTopFitLength.print(printer);
-	}
-	if (cssBorderBottomFitLength != null) {
-	    cssBorderBottomFitLength.print(printer);
-	}
-	if (cssBorderLeftFitLength != null) {
-	    cssBorderLeftFitLength.print(printer);
-	}
-	if (cssBorderRightFitLength != null) {
-	    cssBorderRightFitLength.print(printer);
-	}
-	if (cssBorderTopFitWidth != null) {
-	    cssBorderTopFitWidth.print(printer);
-	}
-	if (cssBorderBottomFitWidth != null) {
-	    cssBorderBottomFitWidth.print(printer);
-	}
-	if (cssBorderLeftFitWidth != null) {
-	    cssBorderLeftFitWidth.print(printer);
-	}
-	if (cssBorderRightFitWidth != null) {
-	    cssBorderRightFitWidth.print(printer);
-	}
-	if (cssBorderTopLeftFitLength != null) {
-	    cssBorderTopLeftFitLength.print(printer);
-	}
-	if (cssBorderTopRightFitLength != null) {
-	    cssBorderTopRightFitLength.print(printer);
-	}
-	if (cssBorderBottomLeftFitLength != null) {
-	    cssBorderBottomLeftFitLength.print(printer);
-	}
-	if (cssBorderBottomRightFitLength != null) {
-	    cssBorderBottomRightFitLength.print(printer);
-	}
-	if (cssBorderTopLeftFitWidth != null) {
-	    cssBorderTopLeftFitWidth.print(printer);
-	}
-	if (cssBorderTopRightFitWidth != null) {
-	    cssBorderTopRightFitWidth.print(printer);
-	}
-	if (cssBorderBottomLeftFitWidth != null) {
-	    cssBorderBottomLeftFitWidth.print(printer);
-	}
-	if (cssBorderBottomRightFitWidth != null) {
-	    cssBorderBottomRightFitWidth.print(printer);
-	}
-	if (cssBorderFitLength != null) {
-	    cssBorderFitLength.print(printer);
-	}
-	if (cssBorderFitWidth != null) {
-	    cssBorderFitWidth.print(printer);
-	}
-	if (cssBorderFit != null) {
-	    cssBorderFit.print(printer);
-	}
-	if (cssBorderCornerFit != null) {
-	    cssBorderCornerFit.print(printer);
-	}
-	if (cssBorderImageTransform != null) {
-	    cssBorderImageTransform.print(printer);
-	}
-	if (cssBorderBreak != null) {
-	    cssBorderBreak.print(printer);
-	}
-	if (cssBoxShadow != null) {
-	    cssBoxShadow.print(printer);
-	}
-	if (cssTextIndentCSS3 != null) {
-	    cssTextIndentCSS3.print(printer);
-	}
-
-
-	// media features
-
-
-	if (mediaWidth != null) {
-	    mediaWidth.print(printer);
-	}
-	if (mediaMinWidth != null) {
-	    mediaMinWidth.print(printer);
-	}
-	if (mediaMaxWidth != null) {
-	    mediaMaxWidth.print(printer);
-	}
-	if (mediaHeight != null) {
-	    mediaHeight.print(printer);
-	}
-	if (mediaMinHeight != null) {
-	    mediaMinHeight.print(printer);
-	}
-	if (mediaMaxHeight != null) {
-	    mediaMaxHeight.print(printer);
-	}
-	if (mediaDeviceWidth != null) {
-	    mediaDeviceWidth.print(printer);
-	}
-	if (mediaMinDeviceWidth != null) {
-	    mediaMinDeviceWidth.print(printer);
-	}
-	if (mediaMaxDeviceWidth != null) {
-	    mediaMaxDeviceWidth.print(printer);
-	}
-	if (mediaDeviceHeight != null) {
-	    mediaDeviceHeight.print(printer);
-	}
-	if (mediaMinDeviceHeight != null) {
-	    mediaMinDeviceHeight.print(printer);
-	}
-	if (mediaMaxDeviceHeight != null) {
-	    mediaMaxDeviceHeight.print(printer);
-	}
-	if (mediaDeviceAspectRatio != null) {
-	    mediaDeviceAspectRatio.print(printer);
-	}
-	if (mediaMinDeviceAspectRatio != null) {
-	    mediaMinDeviceAspectRatio.print(printer);
-	}
-	if (mediaMaxDeviceAspectRatio != null) {
-	    mediaMaxDeviceAspectRatio.print(printer);
-	}
-	if (mediaColor != null) {
-	    mediaColor.print(printer);
-	}
-	if (mediaMinColor != null) {
-	    mediaMinColor.print(printer);
-	}
-	if (mediaMaxColor != null) {
-	    mediaMaxColor.print(printer);
-	}
-	if (mediaColorIndex != null) {
-	    mediaColorIndex.print(printer);
-	}
-	if (mediaMinColorIndex != null) {
-	    mediaMinColorIndex.print(printer);
-	}
-	if (mediaMaxColorIndex != null) {
-	    mediaMaxColorIndex.print(printer);
-	}
-	if (mediaMonochrome != null) {
-	    mediaMonochrome.print(printer);
-	}
-	if (mediaMinMonochrome != null) {
-	    mediaMinMonochrome.print(printer);
-	}
-	if (mediaMaxMonochrome != null) {
-	    mediaMaxMonochrome.print(printer);
-	}
-	if (mediaResolution != null) {
-	    mediaResolution.print(printer);
-	}
-	if (mediaMinResolution != null) {
-	    mediaMinResolution.print(printer);
-	}
-	if (mediaMaxResolution != null) {
-	    mediaMaxResolution.print(printer);
-	}
-	if (mediaScan != null) {
-	    mediaScan.print(printer);
-	}
-	if (mediaGrid != null) {
-	    mediaGrid.print(printer);
-	}
-    }
-
-    /**
      * Returns the name of the actual selector
      */
     public String getSelector()

Received on Friday, 9 September 2011 12:17:00 UTC