You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by ca...@apache.org on 2006/11/16 12:16:21 UTC
svn commit: r475685 [21/35] - in /xmlgraphics/batik/trunk: ./
contrib/charts/xsl/ contrib/rasterizertask/
contrib/rasterizertask/sources/org/apache/tools/ant/taskdefs/optional/
contrib/scroll/ resources/org/apache/batik/apps/svgbrowser/resources/
resou...
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ClipPathManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ClipPathManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ClipPathManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ClipPathManager.java Thu Nov 16 03:16:05 2006
@@ -43,14 +43,14 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return false;
+ return false;
}
/**
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_CLIP_PATH_PROPERTY;
+ return CSSConstants.CSS_CLIP_PATH_PROPERTY;
}
/**
@@ -86,17 +86,17 @@
*/
public Value createValue(LexicalUnit lu, CSSEngine engine)
throws DOMException {
- switch (lu.getLexicalUnitType()) {
- case LexicalUnit.SAC_INHERIT:
- return ValueConstants.INHERIT_VALUE;
+ switch (lu.getLexicalUnitType()) {
+ case LexicalUnit.SAC_INHERIT:
+ return ValueConstants.INHERIT_VALUE;
- case LexicalUnit.SAC_URI:
+ case LexicalUnit.SAC_URI:
return new URIValue(lu.getStringValue(),
resolveURI(engine.getCSSBaseURI(),
lu.getStringValue()));
- case LexicalUnit.SAC_IDENT:
- if (lu.getStringValue().equalsIgnoreCase
+ case LexicalUnit.SAC_IDENT:
+ if (lu.getStringValue().equalsIgnoreCase
(CSSConstants.CSS_NONE_VALUE)) {
return ValueConstants.NONE_VALUE;
}
@@ -120,7 +120,7 @@
case CSSPrimitiveValue.CSS_URI:
return new URIValue(value,
resolveURI(engine.getCSSBaseURI(), value));
- }
+ }
throw createInvalidStringTypeDOMException(type);
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ClipRuleManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ClipRuleManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ClipRuleManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ClipRuleManager.java Thu Nov 16 03:16:05 2006
@@ -38,9 +38,9 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_EVENODD_VALUE,
+ values.put(CSSConstants.CSS_EVENODD_VALUE,
SVGValueConstants.EVENODD_VALUE);
- values.put(CSSConstants.CSS_NONZERO_VALUE,
+ values.put(CSSConstants.CSS_NONZERO_VALUE,
SVGValueConstants.NONZERO_VALUE);
}
@@ -49,7 +49,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -78,7 +78,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_CLIP_RULE_PROPERTY;
+ return CSSConstants.CSS_CLIP_RULE_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorInterpolationFiltersManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorInterpolationFiltersManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorInterpolationFiltersManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorInterpolationFiltersManager.java Thu Nov 16 03:16:05 2006
@@ -34,7 +34,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_COLOR_INTERPOLATION_FILTERS_PROPERTY;
+ return CSSConstants.CSS_COLOR_INTERPOLATION_FILTERS_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorInterpolationManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorInterpolationManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorInterpolationManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorInterpolationManager.java Thu Nov 16 03:16:05 2006
@@ -38,11 +38,11 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_AUTO_VALUE,
+ values.put(CSSConstants.CSS_AUTO_VALUE,
SVGValueConstants.AUTO_VALUE);
- values.put(CSSConstants.CSS_LINEARRGB_VALUE,
+ values.put(CSSConstants.CSS_LINEARRGB_VALUE,
SVGValueConstants.LINEARRGB_VALUE);
- values.put(CSSConstants.CSS_SRGB_VALUE,
+ values.put(CSSConstants.CSS_SRGB_VALUE,
SVGValueConstants.SRGB_VALUE);
}
@@ -51,7 +51,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -80,7 +80,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_COLOR_INTERPOLATION_PROPERTY;
+ return CSSConstants.CSS_COLOR_INTERPOLATION_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorManager.java Thu Nov 16 03:16:05 2006
@@ -617,7 +617,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -646,7 +646,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_COLOR_PROPERTY;
+ return CSSConstants.CSS_COLOR_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorProfileManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorProfileManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorProfileManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorProfileManager.java Thu Nov 16 03:16:05 2006
@@ -42,14 +42,14 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_COLOR_PROFILE_PROPERTY;
+ return CSSConstants.CSS_COLOR_PROFILE_PROPERTY;
}
/**
@@ -85,11 +85,11 @@
*/
public Value createValue(LexicalUnit lu, CSSEngine engine)
throws DOMException {
- switch (lu.getLexicalUnitType()) {
- case LexicalUnit.SAC_INHERIT:
- return SVGValueConstants.INHERIT_VALUE;
+ switch (lu.getLexicalUnitType()) {
+ case LexicalUnit.SAC_INHERIT:
+ return SVGValueConstants.INHERIT_VALUE;
- case LexicalUnit.SAC_IDENT:
+ case LexicalUnit.SAC_IDENT:
String s = lu.getStringValue().toLowerCase();
if (s.equals(CSSConstants.CSS_AUTO_VALUE)) {
return SVGValueConstants.AUTO_VALUE;
@@ -112,7 +112,7 @@
* ValueManager#createStringValue(short,String,CSSEngine)}.
*/
public Value createStringValue(short type, String value, CSSEngine engine)
- throws DOMException {
+ throws DOMException {
switch (type) {
case CSSPrimitiveValue.CSS_IDENT:
String s = value.toLowerCase();
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorRenderingManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorRenderingManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorRenderingManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ColorRenderingManager.java Thu Nov 16 03:16:05 2006
@@ -38,11 +38,11 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_AUTO_VALUE,
+ values.put(CSSConstants.CSS_AUTO_VALUE,
SVGValueConstants.AUTO_VALUE);
- values.put(CSSConstants.CSS_OPTIMIZEQUALITY_VALUE,
+ values.put(CSSConstants.CSS_OPTIMIZEQUALITY_VALUE,
SVGValueConstants.OPTIMIZEQUALITY_VALUE);
- values.put(CSSConstants.CSS_OPTIMIZESPEED_VALUE,
+ values.put(CSSConstants.CSS_OPTIMIZESPEED_VALUE,
SVGValueConstants.OPTIMIZESPEED_VALUE);
}
@@ -51,7 +51,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -80,7 +80,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_COLOR_RENDERING_PROPERTY;
+ return CSSConstants.CSS_COLOR_RENDERING_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/DominantBaselineManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/DominantBaselineManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/DominantBaselineManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/DominantBaselineManager.java Thu Nov 16 03:16:05 2006
@@ -38,33 +38,33 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_AUTO_VALUE,
+ values.put(CSSConstants.CSS_AUTO_VALUE,
SVGValueConstants.AUTO_VALUE);
- values.put(CSSConstants.CSS_ALPHABETIC_VALUE,
+ values.put(CSSConstants.CSS_ALPHABETIC_VALUE,
SVGValueConstants.ALPHABETIC_VALUE);
- values.put(CSSConstants.CSS_CENTRAL_VALUE,
+ values.put(CSSConstants.CSS_CENTRAL_VALUE,
SVGValueConstants.CENTRAL_VALUE);
- values.put(CSSConstants.CSS_HANGING_VALUE,
+ values.put(CSSConstants.CSS_HANGING_VALUE,
SVGValueConstants.HANGING_VALUE);
- values.put(CSSConstants.CSS_IDEOGRAPHIC_VALUE,
+ values.put(CSSConstants.CSS_IDEOGRAPHIC_VALUE,
SVGValueConstants.IDEOGRAPHIC_VALUE);
- values.put(CSSConstants.CSS_MATHEMATICAL_VALUE,
+ values.put(CSSConstants.CSS_MATHEMATICAL_VALUE,
SVGValueConstants.MATHEMATICAL_VALUE);
- values.put(CSSConstants.CSS_MIDDLE_VALUE,
+ values.put(CSSConstants.CSS_MIDDLE_VALUE,
SVGValueConstants.MIDDLE_VALUE);
- values.put(CSSConstants.CSS_NO_CHANGE_VALUE,
+ values.put(CSSConstants.CSS_NO_CHANGE_VALUE,
SVGValueConstants.NO_CHANGE_VALUE);
- values.put(CSSConstants.CSS_RESET_SIZE_VALUE,
+ values.put(CSSConstants.CSS_RESET_SIZE_VALUE,
SVGValueConstants.RESET_SIZE_VALUE);
- values.put(CSSConstants.CSS_TEXT_AFTER_EDGE_VALUE,
+ values.put(CSSConstants.CSS_TEXT_AFTER_EDGE_VALUE,
SVGValueConstants.TEXT_AFTER_EDGE_VALUE);
- values.put(CSSConstants.CSS_TEXT_BEFORE_EDGE_VALUE,
+ values.put(CSSConstants.CSS_TEXT_BEFORE_EDGE_VALUE,
SVGValueConstants.TEXT_BEFORE_EDGE_VALUE);
- values.put(CSSConstants.CSS_TEXT_BOTTOM_VALUE,
+ values.put(CSSConstants.CSS_TEXT_BOTTOM_VALUE,
SVGValueConstants.TEXT_BOTTOM_VALUE);
- values.put(CSSConstants.CSS_TEXT_TOP_VALUE,
+ values.put(CSSConstants.CSS_TEXT_TOP_VALUE,
SVGValueConstants.TEXT_TOP_VALUE);
- values.put(CSSConstants.CSS_USE_SCRIPT_VALUE,
+ values.put(CSSConstants.CSS_USE_SCRIPT_VALUE,
SVGValueConstants.USE_SCRIPT_VALUE);
}
@@ -73,7 +73,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return false;
+ return false;
}
/**
@@ -102,7 +102,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_DOMINANT_BASELINE_PROPERTY;
+ return CSSConstants.CSS_DOMINANT_BASELINE_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/EnableBackgroundManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/EnableBackgroundManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/EnableBackgroundManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/EnableBackgroundManager.java Thu Nov 16 03:16:05 2006
@@ -50,7 +50,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return false;
+ return false;
}
/**
@@ -78,7 +78,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_ENABLE_BACKGROUND_PROPERTY;
+ return CSSConstants.CSS_ENABLE_BACKGROUND_PROPERTY;
}
/**
@@ -133,20 +133,20 @@
*/
public Value createStringValue(short type, String value,
CSSEngine engine) {
- if (type != CSSPrimitiveValue.CSS_IDENT) {
+ if (type != CSSPrimitiveValue.CSS_IDENT) {
throw createInvalidStringTypeDOMException(type);
- }
- if (!value.equalsIgnoreCase(CSSConstants.CSS_ACCUMULATE_VALUE)) {
+ }
+ if (!value.equalsIgnoreCase(CSSConstants.CSS_ACCUMULATE_VALUE)) {
throw createInvalidIdentifierDOMException(value);
}
- return SVGValueConstants.ACCUMULATE_VALUE;
+ return SVGValueConstants.ACCUMULATE_VALUE;
}
/**
* Implements {@link ValueManager#createFloatValue(short,float)}.
*/
public Value createFloatValue(short unitType, float floatValue)
- throws DOMException {
+ throws DOMException {
throw createDOMException();
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/FillRuleManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/FillRuleManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/FillRuleManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/FillRuleManager.java Thu Nov 16 03:16:05 2006
@@ -38,9 +38,9 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_EVENODD_VALUE,
+ values.put(CSSConstants.CSS_EVENODD_VALUE,
SVGValueConstants.EVENODD_VALUE);
- values.put(CSSConstants.CSS_NONZERO_VALUE,
+ values.put(CSSConstants.CSS_NONZERO_VALUE,
SVGValueConstants.NONZERO_VALUE);
}
@@ -49,7 +49,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -78,7 +78,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_FILL_RULE_PROPERTY;
+ return CSSConstants.CSS_FILL_RULE_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/FilterManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/FilterManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/FilterManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/FilterManager.java Thu Nov 16 03:16:05 2006
@@ -42,14 +42,14 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return false;
+ return false;
}
/**
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_FILTER_PROPERTY;
+ return CSSConstants.CSS_FILTER_PROPERTY;
}
/**
@@ -85,9 +85,9 @@
*/
public Value createValue(LexicalUnit lu, CSSEngine engine)
throws DOMException {
- switch (lu.getLexicalUnitType()) {
- case LexicalUnit.SAC_INHERIT:
- return SVGValueConstants.INHERIT_VALUE;
+ switch (lu.getLexicalUnitType()) {
+ case LexicalUnit.SAC_INHERIT:
+ return SVGValueConstants.INHERIT_VALUE;
case LexicalUnit.SAC_URI:
return new URIValue(lu.getStringValue(),
@@ -95,10 +95,10 @@
lu.getStringValue()));
case LexicalUnit.SAC_IDENT:
- if (lu.getStringValue().equalsIgnoreCase
+ if (lu.getStringValue().equalsIgnoreCase
(CSSConstants.CSS_NONE_VALUE)) {
- return SVGValueConstants.NONE_VALUE;
- }
+ return SVGValueConstants.NONE_VALUE;
+ }
throw createInvalidIdentifierDOMException(lu.getStringValue());
}
throw createInvalidLexicalUnitDOMException(lu.getLexicalUnitType());
@@ -110,16 +110,16 @@
*/
public Value createStringValue(short type, String value, CSSEngine engine)
throws DOMException {
- if (type == CSSPrimitiveValue.CSS_IDENT) {
+ if (type == CSSPrimitiveValue.CSS_IDENT) {
if (value.equalsIgnoreCase(CSSConstants.CSS_NONE_VALUE)) {
return SVGValueConstants.NONE_VALUE;
}
throw createInvalidIdentifierDOMException(value);
- }
- if (type == CSSPrimitiveValue.CSS_URI) {
- return new URIValue(value,
+ }
+ if (type == CSSPrimitiveValue.CSS_URI) {
+ return new URIValue(value,
resolveURI(engine.getCSSBaseURI(), value));
- }
+ }
throw createInvalidStringTypeDOMException(type);
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationHorizontalManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationHorizontalManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationHorizontalManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationHorizontalManager.java Thu Nov 16 03:16:05 2006
@@ -36,7 +36,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_GLYPH_ORIENTATION_HORIZONTAL_PROPERTY;
+ return CSSConstants.CSS_GLYPH_ORIENTATION_HORIZONTAL_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationManager.java Thu Nov 16 03:16:05 2006
@@ -42,7 +42,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -108,12 +108,12 @@
*/
public Value createFloatValue(short type, float floatValue)
throws DOMException {
- switch (type) {
+ switch (type) {
case CSSPrimitiveValue.CSS_DEG:
case CSSPrimitiveValue.CSS_GRAD:
case CSSPrimitiveValue.CSS_RAD:
return new FloatValue(type, floatValue);
- }
+ }
throw createInvalidFloatValueDOMException(floatValue);
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationVerticalManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationVerticalManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationVerticalManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/GlyphOrientationVerticalManager.java Thu Nov 16 03:16:05 2006
@@ -40,7 +40,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_GLYPH_ORIENTATION_VERTICAL_PROPERTY;
+ return CSSConstants.CSS_GLYPH_ORIENTATION_VERTICAL_PROPERTY;
}
/**
@@ -70,11 +70,11 @@
* ValueManager#createStringValue(short,String,CSSEngine)}.
*/
public Value createStringValue(short type, String value, CSSEngine engine)
- throws DOMException {
- if (type != CSSPrimitiveValue.CSS_IDENT) {
+ throws DOMException {
+ if (type != CSSPrimitiveValue.CSS_IDENT) {
throw createInvalidStringTypeDOMException(type);
- }
- if (value.equalsIgnoreCase(CSSConstants.CSS_AUTO_VALUE)) {
+ }
+ if (value.equalsIgnoreCase(CSSConstants.CSS_AUTO_VALUE)) {
return SVGValueConstants.AUTO_VALUE;
}
throw createInvalidIdentifierDOMException(value);
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ImageRenderingManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ImageRenderingManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ImageRenderingManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ImageRenderingManager.java Thu Nov 16 03:16:05 2006
@@ -38,11 +38,11 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_AUTO_VALUE,
+ values.put(CSSConstants.CSS_AUTO_VALUE,
SVGValueConstants.AUTO_VALUE);
- values.put(CSSConstants.CSS_OPTIMIZEQUALITY_VALUE,
+ values.put(CSSConstants.CSS_OPTIMIZEQUALITY_VALUE,
SVGValueConstants.OPTIMIZEQUALITY_VALUE);
- values.put(CSSConstants.CSS_OPTIMIZESPEED_VALUE,
+ values.put(CSSConstants.CSS_OPTIMIZESPEED_VALUE,
SVGValueConstants.OPTIMIZESPEED_VALUE);
}
@@ -51,7 +51,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -80,7 +80,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_IMAGE_RENDERING_PROPERTY;
+ return CSSConstants.CSS_IMAGE_RENDERING_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/KerningManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/KerningManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/KerningManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/KerningManager.java Thu Nov 16 03:16:05 2006
@@ -41,14 +41,14 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_KERNING_PROPERTY;
+ return CSSConstants.CSS_KERNING_PROPERTY;
}
/**
@@ -84,8 +84,8 @@
*/
public Value createValue(LexicalUnit lu, CSSEngine engine)
throws DOMException {
- switch (lu.getLexicalUnitType()) {
- case LexicalUnit.SAC_INHERIT:
+ switch (lu.getLexicalUnitType()) {
+ case LexicalUnit.SAC_INHERIT:
return SVGValueConstants.INHERIT_VALUE;
case LexicalUnit.SAC_IDENT:
@@ -103,11 +103,11 @@
* ValueManager#createStringValue(short,String,CSSEngine)}.
*/
public Value createStringValue(short type, String value, CSSEngine engine)
- throws DOMException {
- if (type != CSSPrimitiveValue.CSS_IDENT) {
+ throws DOMException {
+ if (type != CSSPrimitiveValue.CSS_IDENT) {
throw createInvalidStringTypeDOMException(type);
- }
- if (value.equalsIgnoreCase(CSSConstants.CSS_AUTO_VALUE)) {
+ }
+ if (value.equalsIgnoreCase(CSSConstants.CSS_AUTO_VALUE)) {
return SVGValueConstants.AUTO_VALUE;
}
throw createInvalidIdentifierDOMException(value);
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MarkerManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MarkerManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MarkerManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MarkerManager.java Thu Nov 16 03:16:05 2006
@@ -55,7 +55,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -83,7 +83,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return property;
+ return property;
}
/**
@@ -98,17 +98,17 @@
*/
public Value createValue(LexicalUnit lu, CSSEngine engine)
throws DOMException {
- switch (lu.getLexicalUnitType()) {
- case LexicalUnit.SAC_INHERIT:
- return ValueConstants.INHERIT_VALUE;
+ switch (lu.getLexicalUnitType()) {
+ case LexicalUnit.SAC_INHERIT:
+ return ValueConstants.INHERIT_VALUE;
- case LexicalUnit.SAC_URI:
+ case LexicalUnit.SAC_URI:
return new URIValue(lu.getStringValue(),
resolveURI(engine.getCSSBaseURI(),
lu.getStringValue()));
- case LexicalUnit.SAC_IDENT:
- if (lu.getStringValue().equalsIgnoreCase
+ case LexicalUnit.SAC_IDENT:
+ if (lu.getStringValue().equalsIgnoreCase
(CSSConstants.CSS_NONE_VALUE)) {
return ValueConstants.NONE_VALUE;
}
@@ -132,7 +132,7 @@
case CSSPrimitiveValue.CSS_URI:
return new URIValue(value,
resolveURI(engine.getCSSBaseURI(), value));
- }
+ }
throw createInvalidStringTypeDOMException(type);
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MarkerShorthandManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MarkerShorthandManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MarkerShorthandManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MarkerShorthandManager.java Thu Nov 16 03:16:05 2006
@@ -41,7 +41,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_MARKER_PROPERTY;
+ return CSSConstants.CSS_MARKER_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MaskManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MaskManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MaskManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/MaskManager.java Thu Nov 16 03:16:05 2006
@@ -43,7 +43,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return false;
+ return false;
}
/**
@@ -71,7 +71,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_MASK_PROPERTY;
+ return CSSConstants.CSS_MASK_PROPERTY;
}
/**
@@ -86,17 +86,17 @@
*/
public Value createValue(LexicalUnit lu, CSSEngine engine)
throws DOMException {
- switch (lu.getLexicalUnitType()) {
- case LexicalUnit.SAC_INHERIT:
- return ValueConstants.INHERIT_VALUE;
+ switch (lu.getLexicalUnitType()) {
+ case LexicalUnit.SAC_INHERIT:
+ return ValueConstants.INHERIT_VALUE;
- case LexicalUnit.SAC_URI:
+ case LexicalUnit.SAC_URI:
return new URIValue(lu.getStringValue(),
resolveURI(engine.getCSSBaseURI(),
lu.getStringValue()));
- case LexicalUnit.SAC_IDENT:
- if (lu.getStringValue().equalsIgnoreCase
+ case LexicalUnit.SAC_IDENT:
+ if (lu.getStringValue().equalsIgnoreCase
(CSSConstants.CSS_NONE_VALUE)) {
return ValueConstants.NONE_VALUE;
}
@@ -120,7 +120,7 @@
case CSSPrimitiveValue.CSS_URI:
return new URIValue(value,
resolveURI(engine.getCSSBaseURI(), value));
- }
+ }
throw createInvalidStringTypeDOMException(type);
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/OpacityManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/OpacityManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/OpacityManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/OpacityManager.java Thu Nov 16 03:16:05 2006
@@ -59,7 +59,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return inherited;
+ return inherited;
}
/**
@@ -87,7 +87,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return property;
+ return property;
}
/**
@@ -102,9 +102,9 @@
*/
public Value createValue(LexicalUnit lu, CSSEngine engine)
throws DOMException {
- switch (lu.getLexicalUnitType()) {
- case LexicalUnit.SAC_INHERIT:
- return SVGValueConstants.INHERIT_VALUE;
+ switch (lu.getLexicalUnitType()) {
+ case LexicalUnit.SAC_INHERIT:
+ return SVGValueConstants.INHERIT_VALUE;
case LexicalUnit.SAC_INTEGER:
return new FloatValue(CSSPrimitiveValue.CSS_NUMBER,
@@ -122,9 +122,9 @@
*/
public Value createFloatValue(short type, float floatValue)
throws DOMException {
- if (type == CSSPrimitiveValue.CSS_NUMBER) {
- return new FloatValue(type, floatValue);
- }
+ if (type == CSSPrimitiveValue.CSS_NUMBER) {
+ return new FloatValue(type, floatValue);
+ }
throw createInvalidFloatTypeDOMException(type);
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/PointerEventsManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/PointerEventsManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/PointerEventsManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/PointerEventsManager.java Thu Nov 16 03:16:05 2006
@@ -38,27 +38,27 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_ALL_VALUE,
+ values.put(CSSConstants.CSS_ALL_VALUE,
SVGValueConstants.ALL_VALUE);
- values.put(CSSConstants.CSS_FILL_VALUE,
+ values.put(CSSConstants.CSS_FILL_VALUE,
SVGValueConstants.FILL_VALUE);
- values.put(CSSConstants.CSS_FILLSTROKE_VALUE,
+ values.put(CSSConstants.CSS_FILLSTROKE_VALUE,
SVGValueConstants.FILLSTROKE_VALUE);
- values.put(CSSConstants.CSS_NONE_VALUE,
+ values.put(CSSConstants.CSS_NONE_VALUE,
SVGValueConstants.NONE_VALUE);
- values.put(CSSConstants.CSS_PAINTED_VALUE,
+ values.put(CSSConstants.CSS_PAINTED_VALUE,
SVGValueConstants.PAINTED_VALUE);
- values.put(CSSConstants.CSS_STROKE_VALUE,
+ values.put(CSSConstants.CSS_STROKE_VALUE,
SVGValueConstants.STROKE_VALUE);
- values.put(CSSConstants.CSS_VISIBLE_VALUE,
+ values.put(CSSConstants.CSS_VISIBLE_VALUE,
SVGValueConstants.VISIBLE_VALUE);
- values.put(CSSConstants.CSS_VISIBLEFILL_VALUE,
+ values.put(CSSConstants.CSS_VISIBLEFILL_VALUE,
SVGValueConstants.VISIBLEFILL_VALUE);
- values.put(CSSConstants.CSS_VISIBLEFILLSTROKE_VALUE,
+ values.put(CSSConstants.CSS_VISIBLEFILLSTROKE_VALUE,
SVGValueConstants.VISIBLEFILLSTROKE_VALUE);
- values.put(CSSConstants.CSS_VISIBLEPAINTED_VALUE,
+ values.put(CSSConstants.CSS_VISIBLEPAINTED_VALUE,
SVGValueConstants.VISIBLEPAINTED_VALUE);
- values.put(CSSConstants.CSS_VISIBLESTROKE_VALUE,
+ values.put(CSSConstants.CSS_VISIBLESTROKE_VALUE,
SVGValueConstants.VISIBLESTROKE_VALUE);
}
@@ -67,7 +67,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -96,7 +96,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_POINTER_EVENTS_PROPERTY;
+ return CSSConstants.CSS_POINTER_EVENTS_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SVGColorManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SVGColorManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SVGColorManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SVGColorManager.java Thu Nov 16 03:16:05 2006
@@ -69,7 +69,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return false;
+ return false;
}
/**
@@ -97,7 +97,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return property;
+ return property;
}
@@ -192,12 +192,12 @@
* Creates a float value usable as a component of an RGBColor.
*/
protected float getColorValue(LexicalUnit lu) {
- switch (lu.getLexicalUnitType()) {
- case LexicalUnit.SAC_INTEGER:
- return lu.getIntegerValue();
- case LexicalUnit.SAC_REAL:
- return lu.getFloatValue();
- }
+ switch (lu.getLexicalUnitType()) {
+ case LexicalUnit.SAC_INTEGER:
+ return lu.getIntegerValue();
+ case LexicalUnit.SAC_REAL:
+ return lu.getFloatValue();
+ }
throw createInvalidLexicalUnitDOMException(lu.getLexicalUnitType());
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SVGPaintManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SVGPaintManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SVGPaintManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SVGPaintManager.java Thu Nov 16 03:16:05 2006
@@ -61,7 +61,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -90,7 +90,7 @@
*/
public Value createValue(LexicalUnit lu, CSSEngine engine)
throws DOMException {
- switch (lu.getLexicalUnitType()) {
+ switch (lu.getLexicalUnitType()) {
case LexicalUnit.SAC_IDENT:
if (lu.getStringValue().equalsIgnoreCase
(CSSConstants.CSS_NONE_VALUE)) {
@@ -111,7 +111,7 @@
ListValue result = new ListValue(' ');
result.append(new URIValue(value, uri));
- if (lu.getLexicalUnitType() == LexicalUnit.SAC_IDENT) {
+ if (lu.getLexicalUnitType() == LexicalUnit.SAC_IDENT) {
if (lu.getStringValue().equalsIgnoreCase
(CSSConstants.CSS_NONE_VALUE)) {
result.append(SVGValueConstants.NONE_VALUE);
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ShapeRenderingManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ShapeRenderingManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ShapeRenderingManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/ShapeRenderingManager.java Thu Nov 16 03:16:05 2006
@@ -38,13 +38,13 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_AUTO_VALUE,
+ values.put(CSSConstants.CSS_AUTO_VALUE,
SVGValueConstants.AUTO_VALUE);
- values.put(CSSConstants.CSS_CRISPEDGES_VALUE,
+ values.put(CSSConstants.CSS_CRISPEDGES_VALUE,
SVGValueConstants.CRISPEDGES_VALUE);
- values.put(CSSConstants.CSS_GEOMETRICPRECISION_VALUE,
+ values.put(CSSConstants.CSS_GEOMETRICPRECISION_VALUE,
SVGValueConstants.GEOMETRICPRECISION_VALUE);
- values.put(CSSConstants.CSS_OPTIMIZESPEED_VALUE,
+ values.put(CSSConstants.CSS_OPTIMIZESPEED_VALUE,
SVGValueConstants.OPTIMIZESPEED_VALUE);
}
@@ -53,7 +53,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -82,7 +82,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_SHAPE_RENDERING_PROPERTY;
+ return CSSConstants.CSS_SHAPE_RENDERING_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SpacingManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SpacingManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SpacingManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/SpacingManager.java Thu Nov 16 03:16:05 2006
@@ -54,7 +54,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -82,7 +82,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return property;
+ return property;
}
/**
@@ -97,8 +97,8 @@
*/
public Value createValue(LexicalUnit lu, CSSEngine engine)
throws DOMException {
- switch (lu.getLexicalUnitType()) {
- case LexicalUnit.SAC_INHERIT:
+ switch (lu.getLexicalUnitType()) {
+ case LexicalUnit.SAC_INHERIT:
return SVGValueConstants.INHERIT_VALUE;
case LexicalUnit.SAC_IDENT:
@@ -116,11 +116,11 @@
* ValueManager#createStringValue(short,String,CSSEngine)}.
*/
public Value createStringValue(short type, String value, CSSEngine engine)
- throws DOMException {
- if (type != CSSPrimitiveValue.CSS_IDENT) {
+ throws DOMException {
+ if (type != CSSPrimitiveValue.CSS_IDENT) {
throw createInvalidStringTypeDOMException(type);
- }
- if (value.equalsIgnoreCase(CSSConstants.CSS_NORMAL_VALUE)) {
+ }
+ if (value.equalsIgnoreCase(CSSConstants.CSS_NORMAL_VALUE)) {
return SVGValueConstants.NORMAL_VALUE;
}
throw createInvalidIdentifierDOMException(value);
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeDasharrayManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeDasharrayManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeDasharrayManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeDasharrayManager.java Thu Nov 16 03:16:05 2006
@@ -45,7 +45,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -73,7 +73,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_STROKE_DASHARRAY_PROPERTY;
+ return CSSConstants.CSS_STROKE_DASHARRAY_PROPERTY;
}
/**
@@ -92,14 +92,14 @@
case LexicalUnit.SAC_INHERIT:
return SVGValueConstants.INHERIT_VALUE;
- case LexicalUnit.SAC_IDENT:
- if (lu.getStringValue().equalsIgnoreCase
+ case LexicalUnit.SAC_IDENT:
+ if (lu.getStringValue().equalsIgnoreCase
(CSSConstants.CSS_NONE_VALUE)) {
- return SVGValueConstants.NONE_VALUE;
- }
+ return SVGValueConstants.NONE_VALUE;
+ }
throw createInvalidIdentifierDOMException(lu.getStringValue());
- default:
+ default:
ListValue lv = new ListValue(' ');
do {
Value v = super.createValue(lu, engine);
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeDashoffsetManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeDashoffsetManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeDashoffsetManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeDashoffsetManager.java Thu Nov 16 03:16:05 2006
@@ -40,7 +40,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -68,7 +68,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_STROKE_DASHOFFSET_PROPERTY;
+ return CSSConstants.CSS_STROKE_DASHOFFSET_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeLinecapManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeLinecapManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeLinecapManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeLinecapManager.java Thu Nov 16 03:16:05 2006
@@ -38,11 +38,11 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_BUTT_VALUE,
+ values.put(CSSConstants.CSS_BUTT_VALUE,
SVGValueConstants.BUTT_VALUE);
- values.put(CSSConstants.CSS_ROUND_VALUE,
+ values.put(CSSConstants.CSS_ROUND_VALUE,
SVGValueConstants.ROUND_VALUE);
- values.put(CSSConstants.CSS_SQUARE_VALUE,
+ values.put(CSSConstants.CSS_SQUARE_VALUE,
SVGValueConstants.SQUARE_VALUE);
}
@@ -51,7 +51,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -80,7 +80,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_STROKE_LINECAP_PROPERTY;
+ return CSSConstants.CSS_STROKE_LINECAP_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeLinejoinManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeLinejoinManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeLinejoinManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeLinejoinManager.java Thu Nov 16 03:16:05 2006
@@ -38,11 +38,11 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_MITER_VALUE,
+ values.put(CSSConstants.CSS_MITER_VALUE,
SVGValueConstants.MITER_VALUE);
- values.put(CSSConstants.CSS_ROUND_VALUE,
+ values.put(CSSConstants.CSS_ROUND_VALUE,
SVGValueConstants.ROUND_VALUE);
- values.put(CSSConstants.CSS_BEVEL_VALUE,
+ values.put(CSSConstants.CSS_BEVEL_VALUE,
SVGValueConstants.BEVEL_VALUE);
}
@@ -51,7 +51,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -80,7 +80,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_STROKE_LINEJOIN_PROPERTY;
+ return CSSConstants.CSS_STROKE_LINEJOIN_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeMiterlimitManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeMiterlimitManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeMiterlimitManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeMiterlimitManager.java Thu Nov 16 03:16:05 2006
@@ -42,7 +42,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -70,7 +70,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_STROKE_MITERLIMIT_PROPERTY;
+ return CSSConstants.CSS_STROKE_MITERLIMIT_PROPERTY;
}
/**
@@ -85,19 +85,19 @@
*/
public Value createValue(LexicalUnit lu, CSSEngine engine)
throws DOMException {
- switch (lu.getLexicalUnitType()) {
- case LexicalUnit.SAC_INHERIT:
- return SVGValueConstants.INHERIT_VALUE;
+ switch (lu.getLexicalUnitType()) {
+ case LexicalUnit.SAC_INHERIT:
+ return SVGValueConstants.INHERIT_VALUE;
- case LexicalUnit.SAC_INTEGER:
- return new FloatValue(CSSPrimitiveValue.CSS_NUMBER,
+ case LexicalUnit.SAC_INTEGER:
+ return new FloatValue(CSSPrimitiveValue.CSS_NUMBER,
lu.getIntegerValue());
- case LexicalUnit.SAC_REAL:
- return new FloatValue(CSSPrimitiveValue.CSS_NUMBER,
+ case LexicalUnit.SAC_REAL:
+ return new FloatValue(CSSPrimitiveValue.CSS_NUMBER,
lu.getFloatValue());
- default:
+ default:
throw createInvalidLexicalUnitDOMException
(lu.getLexicalUnitType());
}
@@ -107,10 +107,10 @@
* Implements {@link ValueManager#createFloatValue(short,float)}.
*/
public Value createFloatValue(short unitType, float floatValue)
- throws DOMException {
- if (unitType == CSSPrimitiveValue.CSS_NUMBER) {
- return new FloatValue(unitType, floatValue);
- }
+ throws DOMException {
+ if (unitType == CSSPrimitiveValue.CSS_NUMBER) {
+ return new FloatValue(unitType, floatValue);
+ }
throw createInvalidFloatTypeDOMException(unitType);
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeWidthManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeWidthManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeWidthManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/StrokeWidthManager.java Thu Nov 16 03:16:05 2006
@@ -40,7 +40,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -68,7 +68,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_STROKE_WIDTH_PROPERTY;
+ return CSSConstants.CSS_STROKE_WIDTH_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/TextAnchorManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/TextAnchorManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/TextAnchorManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/TextAnchorManager.java Thu Nov 16 03:16:05 2006
@@ -38,11 +38,11 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_START_VALUE,
+ values.put(CSSConstants.CSS_START_VALUE,
SVGValueConstants.START_VALUE);
- values.put(CSSConstants.CSS_MIDDLE_VALUE,
+ values.put(CSSConstants.CSS_MIDDLE_VALUE,
SVGValueConstants.MIDDLE_VALUE);
- values.put(CSSConstants.CSS_END_VALUE,
+ values.put(CSSConstants.CSS_END_VALUE,
SVGValueConstants.END_VALUE);
}
@@ -51,7 +51,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -80,7 +80,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_TEXT_ANCHOR_PROPERTY;
+ return CSSConstants.CSS_TEXT_ANCHOR_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/TextRenderingManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/TextRenderingManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/TextRenderingManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/TextRenderingManager.java Thu Nov 16 03:16:05 2006
@@ -38,13 +38,13 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_AUTO_VALUE,
+ values.put(CSSConstants.CSS_AUTO_VALUE,
SVGValueConstants.AUTO_VALUE);
- values.put(CSSConstants.CSS_OPTIMIZESPEED_VALUE,
+ values.put(CSSConstants.CSS_OPTIMIZESPEED_VALUE,
SVGValueConstants.OPTIMIZESPEED_VALUE);
- values.put(CSSConstants.CSS_GEOMETRICPRECISION_VALUE,
+ values.put(CSSConstants.CSS_GEOMETRICPRECISION_VALUE,
SVGValueConstants.GEOMETRICPRECISION_VALUE);
- values.put(CSSConstants.CSS_OPTIMIZELEGIBILITY_VALUE,
+ values.put(CSSConstants.CSS_OPTIMIZELEGIBILITY_VALUE,
SVGValueConstants.OPTIMIZELEGIBILITY_VALUE);
}
@@ -53,7 +53,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -82,7 +82,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_TEXT_RENDERING_PROPERTY;
+ return CSSConstants.CSS_TEXT_RENDERING_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/WritingModeManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/WritingModeManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/WritingModeManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg/WritingModeManager.java Thu Nov 16 03:16:05 2006
@@ -39,17 +39,17 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(CSSConstants.CSS_LR_VALUE,
+ values.put(CSSConstants.CSS_LR_VALUE,
SVGValueConstants.LR_VALUE);
- values.put(CSSConstants.CSS_LR_TB_VALUE,
+ values.put(CSSConstants.CSS_LR_TB_VALUE,
SVGValueConstants.LR_TB_VALUE);
- values.put(CSSConstants.CSS_RL_VALUE,
+ values.put(CSSConstants.CSS_RL_VALUE,
SVGValueConstants.RL_VALUE);
- values.put(CSSConstants.CSS_RL_TB_VALUE,
+ values.put(CSSConstants.CSS_RL_TB_VALUE,
SVGValueConstants.RL_TB_VALUE);
- values.put(CSSConstants.CSS_TB_VALUE,
+ values.put(CSSConstants.CSS_TB_VALUE,
SVGValueConstants.TB_VALUE);
- values.put(CSSConstants.CSS_TB_RL_VALUE,
+ values.put(CSSConstants.CSS_TB_RL_VALUE,
SVGValueConstants.TB_RL_VALUE);
}
@@ -58,7 +58,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -87,7 +87,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return CSSConstants.CSS_WRITING_MODE_PROPERTY;
+ return CSSConstants.CSS_WRITING_MODE_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/LineHeightManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/LineHeightManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/LineHeightManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/LineHeightManager.java Thu Nov 16 03:16:05 2006
@@ -49,7 +49,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -77,7 +77,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return SVG12CSSConstants.CSS_LINE_HEIGHT_PROPERTY;
+ return SVG12CSSConstants.CSS_LINE_HEIGHT_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/LineHeightValue.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/LineHeightValue.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/LineHeightValue.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/LineHeightValue.java Thu Nov 16 03:16:05 2006
@@ -40,7 +40,7 @@
public LineHeightValue(short unitType, float floatValue,
boolean fontSizeRelative) {
super(unitType, floatValue);
- this.fontSizeRelative = fontSizeRelative;
+ this.fontSizeRelative = fontSizeRelative;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/MarginLengthManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/MarginLengthManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/MarginLengthManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/MarginLengthManager.java Thu Nov 16 03:16:05 2006
@@ -47,7 +47,7 @@
* Implements {@link ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -75,7 +75,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return prop;
+ return prop;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/MarginShorthandManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/MarginShorthandManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/MarginShorthandManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/MarginShorthandManager.java Thu Nov 16 03:16:05 2006
@@ -43,7 +43,7 @@
* Implements {@link ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return SVG12CSSConstants.CSS_MARGIN_PROPERTY;
+ return SVG12CSSConstants.CSS_MARGIN_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/TextAlignManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/TextAlignManager.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/TextAlignManager.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/engine/value/svg12/TextAlignManager.java Thu Nov 16 03:16:05 2006
@@ -40,13 +40,13 @@
*/
protected final static StringMap values = new StringMap();
static {
- values.put(SVG12CSSConstants.CSS_START_VALUE,
+ values.put(SVG12CSSConstants.CSS_START_VALUE,
SVG12ValueConstants.START_VALUE);
- values.put(SVG12CSSConstants.CSS_MIDDLE_VALUE,
+ values.put(SVG12CSSConstants.CSS_MIDDLE_VALUE,
SVG12ValueConstants.MIDDLE_VALUE);
- values.put(SVG12CSSConstants.CSS_END_VALUE,
+ values.put(SVG12CSSConstants.CSS_END_VALUE,
SVG12ValueConstants.END_VALUE);
- values.put(SVG12CSSConstants.CSS_FULL_VALUE,
+ values.put(SVG12CSSConstants.CSS_FULL_VALUE,
SVG12ValueConstants.FULL_VALUE);
}
@@ -55,7 +55,7 @@
* org.apache.batik.css.engine.value.ValueManager#isInheritedProperty()}.
*/
public boolean isInheritedProperty() {
- return true;
+ return true;
}
/**
@@ -84,7 +84,7 @@
* org.apache.batik.css.engine.value.ValueManager#getPropertyName()}.
*/
public String getPropertyName() {
- return SVG12CSSConstants.CSS_TEXT_ALIGN_PROPERTY;
+ return SVG12CSSConstants.CSS_TEXT_ALIGN_PROPERTY;
}
/**
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractAttributeCondition.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractAttributeCondition.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractAttributeCondition.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractAttributeCondition.java Thu Nov 16 03:16:05 2006
@@ -39,13 +39,13 @@
* Creates a new AbstractAttributeCondition object.
*/
protected AbstractAttributeCondition(String value) {
- this.value = value;
+ this.value = value;
}
/**
* <b>SAC</b>: Implements {@link AttributeCondition#getValue()}.
*/
public String getValue() {
- return value;
+ return value;
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractCombinatorCondition.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractCombinatorCondition.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractCombinatorCondition.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractCombinatorCondition.java Thu Nov 16 03:16:05 2006
@@ -46,21 +46,21 @@
* Creates a new CombinatorCondition object.
*/
protected AbstractCombinatorCondition(Condition c1, Condition c2) {
- firstCondition = c1;
- secondCondition = c2;
+ firstCondition = c1;
+ secondCondition = c2;
}
/**
* <b>SAC</b>: Implements {@link CombinatorCondition#getFirstCondition()}.
*/
public Condition getFirstCondition() {
- return firstCondition;
+ return firstCondition;
}
/**
* <b>SAC</b>: Implements {@link CombinatorCondition#getSecondCondition()}.
*/
public Condition getSecondCondition() {
- return secondCondition;
+ return secondCondition;
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractDescendantSelector.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractDescendantSelector.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractDescendantSelector.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractDescendantSelector.java Thu Nov 16 03:16:05 2006
@@ -47,21 +47,21 @@
*/
protected AbstractDescendantSelector(Selector ancestor,
SimpleSelector simple) {
- ancestorSelector = ancestor;
- simpleSelector = simple;
+ ancestorSelector = ancestor;
+ simpleSelector = simple;
}
/**
* <b>SAC</b>: Implements {@link DescendantSelector#getAncestorSelector()}.
*/
public Selector getAncestorSelector() {
- return ancestorSelector;
+ return ancestorSelector;
}
/**
* <b>SAC</b>: Implements {@link DescendantSelector#getSimpleSelector()}.
*/
public SimpleSelector getSimpleSelector() {
- return simpleSelector;
+ return simpleSelector;
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractElementSelector.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractElementSelector.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractElementSelector.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractElementSelector.java Thu Nov 16 03:16:05 2006
@@ -44,21 +44,21 @@
* Creates a new ElementSelector object.
*/
protected AbstractElementSelector(String uri, String name) {
- namespaceURI = uri;
- localName = name;
+ namespaceURI = uri;
+ localName = name;
}
/**
* <b>SAC</b>: Implements {@link ElementSelector#getNamespaceURI()}.
*/
public String getNamespaceURI() {
- return namespaceURI;
+ return namespaceURI;
}
/**
* <b>SAC</b>: Implements {@link ElementSelector#getLocalName()}.
*/
public String getLocalName() {
- return localName;
+ return localName;
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractSiblingSelector.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractSiblingSelector.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractSiblingSelector.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/AbstractSiblingSelector.java Thu Nov 16 03:16:05 2006
@@ -54,8 +54,8 @@
Selector sel,
SimpleSelector simple) {
nodeType = type;
- selector = sel;
- simpleSelector = simple;
+ selector = sel;
+ simpleSelector = simple;
}
/**
@@ -70,7 +70,7 @@
* org.w3c.css.sac.SiblingSelector#getSelector()}.
*/
public Selector getSelector() {
- return selector;
+ return selector;
}
/**
@@ -78,6 +78,6 @@
* org.w3c.css.sac.SiblingSelector#getSiblingSelector()}.
*/
public SimpleSelector getSiblingSelector() {
- return simpleSelector;
+ return simpleSelector;
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultAndCondition.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultAndCondition.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultAndCondition.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultAndCondition.java Thu Nov 16 03:16:05 2006
@@ -33,7 +33,7 @@
* Creates a new CombinatorCondition object.
*/
public DefaultAndCondition(Condition c1, Condition c2) {
- super(c1, c2);
+ super(c1, c2);
}
/**
@@ -41,13 +41,13 @@
* org.w3c.css.sac.Condition#getConditionType()}.
*/
public short getConditionType() {
- return SAC_AND_CONDITION;
+ return SAC_AND_CONDITION;
}
/**
* Returns a text representation of this object.
*/
public String toString() {
- return "" + getFirstCondition() + getSecondCondition();
+ return "" + getFirstCondition() + getSecondCondition();
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultAttributeCondition.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultAttributeCondition.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultAttributeCondition.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultAttributeCondition.java Thu Nov 16 03:16:05 2006
@@ -50,10 +50,10 @@
String namespaceURI,
boolean specified,
String value) {
- super(value);
- this.localName = localName;
- this.namespaceURI = namespaceURI;
- this.specified = specified;
+ super(value);
+ this.localName = localName;
+ this.namespaceURI = namespaceURI;
+ this.specified = specified;
}
/**
@@ -61,7 +61,7 @@
* org.w3c.css.sac.Condition#getConditionType()}.
*/
public short getConditionType() {
- return SAC_ATTRIBUTE_CONDITION;
+ return SAC_ATTRIBUTE_CONDITION;
}
/**
@@ -69,7 +69,7 @@
* org.w3c.css.sac.AttributeCondition#getNamespaceURI()}.
*/
public String getNamespaceURI() {
- return namespaceURI;
+ return namespaceURI;
}
/**
@@ -77,7 +77,7 @@
* org.w3c.css.sac.AttributeCondition#getLocalName()}.
*/
public String getLocalName() {
- return localName;
+ return localName;
}
/**
@@ -85,16 +85,16 @@
* org.w3c.css.sac.AttributeCondition#getSpecified()}.
*/
public boolean getSpecified() {
- return specified;
+ return specified;
}
/**
* Returns a text representation of this object.
*/
public String toString() {
- if (value == null) {
- return "[" + localName + "]";
- }
- return "[" + localName + "=\"" + value + "\"]";
+ if (value == null) {
+ return "[" + localName + "]";
+ }
+ return "[" + localName + "=\"" + value + "\"]";
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultBeginHyphenAttributeCondition.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultBeginHyphenAttributeCondition.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultBeginHyphenAttributeCondition.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultBeginHyphenAttributeCondition.java Thu Nov 16 03:16:05 2006
@@ -35,7 +35,7 @@
String namespaceURI,
boolean specified,
String value) {
- super(localName, namespaceURI, specified, value);
+ super(localName, namespaceURI, specified, value);
}
/**
@@ -43,13 +43,13 @@
* org.w3c.css.sac.Condition#getConditionType()}.
*/
public short getConditionType() {
- return SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION;
+ return SAC_BEGIN_HYPHEN_ATTRIBUTE_CONDITION;
}
/**
* Returns a text representation of this object.
*/
public String toString() {
- return "[" + getLocalName() + "|=\"" + getValue() + "\"]";
+ return "[" + getLocalName() + "|=\"" + getValue() + "\"]";
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultChildSelector.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultChildSelector.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultChildSelector.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultChildSelector.java Thu Nov 16 03:16:05 2006
@@ -34,7 +34,7 @@
* Creates a new DefaultChildSelector object.
*/
public DefaultChildSelector(Selector ancestor, SimpleSelector simple) {
- super(ancestor, simple);
+ super(ancestor, simple);
}
/**
@@ -42,17 +42,17 @@
* org.w3c.css.sac.Selector#getSelectorType()}.
*/
public short getSelectorType() {
- return SAC_CHILD_SELECTOR;
+ return SAC_CHILD_SELECTOR;
}
/**
* Returns a representation of the selector.
*/
public String toString() {
- SimpleSelector s = getSimpleSelector();
- if (s.getSelectorType() == SAC_PSEUDO_ELEMENT_SELECTOR) {
- return "" + getAncestorSelector() + s;
- }
- return getAncestorSelector() + " > " + s;
+ SimpleSelector s = getSimpleSelector();
+ if (s.getSelectorType() == SAC_PSEUDO_ELEMENT_SELECTOR) {
+ return "" + getAncestorSelector() + s;
+ }
+ return getAncestorSelector() + " > " + s;
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultClassCondition.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultClassCondition.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultClassCondition.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultClassCondition.java Thu Nov 16 03:16:05 2006
@@ -32,7 +32,7 @@
*/
public DefaultClassCondition(String namespaceURI,
String value) {
- super("class", namespaceURI, true, value);
+ super("class", namespaceURI, true, value);
}
/**
@@ -40,13 +40,13 @@
* org.w3c.css.sac.Condition#getConditionType()}.
*/
public short getConditionType() {
- return SAC_CLASS_CONDITION;
+ return SAC_CLASS_CONDITION;
}
/**
* Returns a text representation of this object.
*/
public String toString() {
- return "." + getValue();
+ return "." + getValue();
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultConditionFactory.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultConditionFactory.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultConditionFactory.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultConditionFactory.java Thu Nov 16 03:16:05 2006
@@ -57,8 +57,8 @@
*/
public CombinatorCondition createAndCondition(Condition first,
Condition second)
- throws CSSException {
- return new DefaultAndCondition(first, second);
+ throws CSSException {
+ return new DefaultAndCondition(first, second);
}
/**
@@ -67,8 +67,8 @@
*/
public CombinatorCondition createOrCondition(Condition first,
Condition second)
- throws CSSException {
- throw new CSSException("Not implemented in CSS2");
+ throws CSSException {
+ throw new CSSException("Not implemented in CSS2");
}
/**
@@ -76,8 +76,8 @@
* org.w3c.css.sac.ConditionFactory#createNegativeCondition(Condition)}.
*/
public NegativeCondition createNegativeCondition(Condition condition)
- throws CSSException {
- throw new CSSException("Not implemented in CSS2");
+ throws CSSException {
+ throw new CSSException("Not implemented in CSS2");
}
/**
@@ -85,10 +85,10 @@
* ConditionFactory#createPositionalCondition(int,boolean,boolean)}.
*/
public PositionalCondition createPositionalCondition(int position,
- boolean typeNode,
- boolean type)
- throws CSSException {
- throw new CSSException("Not implemented in CSS2");
+ boolean typeNode,
+ boolean type)
+ throws CSSException {
+ throw new CSSException("Not implemented in CSS2");
}
/**
@@ -96,11 +96,11 @@
*ConditionFactory#createAttributeCondition(String,String,boolean,String)}.
*/
public AttributeCondition createAttributeCondition(String localName,
- String namespaceURI,
- boolean specified,
- String value)
- throws CSSException {
- return new DefaultAttributeCondition(localName, namespaceURI,
+ String namespaceURI,
+ boolean specified,
+ String value)
+ throws CSSException {
+ return new DefaultAttributeCondition(localName, namespaceURI,
specified, value);
}
@@ -110,7 +110,7 @@
*/
public AttributeCondition createIdCondition(String value)
throws CSSException {
- return new DefaultIdCondition(value);
+ return new DefaultIdCondition(value);
}
/**
@@ -118,7 +118,7 @@
* org.w3c.css.sac.ConditionFactory#createLangCondition(String)}.
*/
public LangCondition createLangCondition(String lang) throws CSSException {
- return new DefaultLangCondition(lang);
+ return new DefaultLangCondition(lang);
}
/**
@@ -126,11 +126,11 @@
ConditionFactory#createOneOfAttributeCondition(String,String,boolean,String)}.
*/
public AttributeCondition createOneOfAttributeCondition(String localName,
- String nsURI,
- boolean specified,
- String value)
- throws CSSException {
- return new DefaultOneOfAttributeCondition(localName, nsURI, specified,
+ String nsURI,
+ boolean specified,
+ String value)
+ throws CSSException {
+ return new DefaultOneOfAttributeCondition(localName, nsURI, specified,
value);
}
@@ -143,9 +143,9 @@
String namespaceURI,
boolean specified,
String value)
- throws CSSException {
- return new DefaultBeginHyphenAttributeCondition
- (localName, namespaceURI, specified, value);
+ throws CSSException {
+ return new DefaultBeginHyphenAttributeCondition
+ (localName, namespaceURI, specified, value);
}
/**
@@ -153,9 +153,9 @@
* org.w3c.css.sac.ConditionFactory#createClassCondition(String,String)}.
*/
public AttributeCondition createClassCondition(String namespaceURI,
- String value)
- throws CSSException {
- return new DefaultClassCondition(namespaceURI, value);
+ String value)
+ throws CSSException {
+ return new DefaultClassCondition(namespaceURI, value);
}
/**
@@ -163,9 +163,9 @@
* ConditionFactory#createPseudoClassCondition(String,String)}.
*/
public AttributeCondition createPseudoClassCondition(String namespaceURI,
- String value)
- throws CSSException {
- return new DefaultPseudoClassCondition(namespaceURI, value);
+ String value)
+ throws CSSException {
+ return new DefaultPseudoClassCondition(namespaceURI, value);
}
/**
@@ -173,7 +173,7 @@
* org.w3c.css.sac.ConditionFactory#createOnlyChildCondition()}.
*/
public Condition createOnlyChildCondition() throws CSSException {
- throw new CSSException("Not implemented in CSS2");
+ throw new CSSException("Not implemented in CSS2");
}
/**
@@ -181,7 +181,7 @@
* org.w3c.css.sac.ConditionFactory#createOnlyTypeCondition()}.
*/
public Condition createOnlyTypeCondition() throws CSSException {
- throw new CSSException("Not implemented in CSS2");
+ throw new CSSException("Not implemented in CSS2");
}
/**
@@ -190,6 +190,6 @@
*/
public ContentCondition createContentCondition(String data)
throws CSSException {
- throw new CSSException("Not implemented in CSS2");
+ throw new CSSException("Not implemented in CSS2");
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultConditionalSelector.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultConditionalSelector.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultConditionalSelector.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultConditionalSelector.java Thu Nov 16 03:16:05 2006
@@ -45,8 +45,8 @@
* Creates a new ConditionalSelector object.
*/
public DefaultConditionalSelector(SimpleSelector s, Condition c) {
- simpleSelector = s;
- condition = c;
+ simpleSelector = s;
+ condition = c;
}
/**
@@ -54,7 +54,7 @@
* org.w3c.css.sac.Selector#getSelectorType()}.
*/
public short getSelectorType() {
- return SAC_CONDITIONAL_SELECTOR;
+ return SAC_CONDITIONAL_SELECTOR;
}
/**
@@ -62,7 +62,7 @@
* org.w3c.css.sac.ConditionalSelector#getSimpleSelector()}.
*/
public SimpleSelector getSimpleSelector() {
- return simpleSelector;
+ return simpleSelector;
}
/**
@@ -70,13 +70,13 @@
* org.w3c.css.sac.ConditionalSelector#getCondition()}.
*/
public Condition getCondition() {
- return condition;
+ return condition;
}
/**
* Returns a representation of the selector.
*/
public String toString() {
- return "" + simpleSelector + condition;
+ return "" + simpleSelector + condition;
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultDescendantSelector.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultDescendantSelector.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultDescendantSelector.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultDescendantSelector.java Thu Nov 16 03:16:05 2006
@@ -35,7 +35,7 @@
*/
public DefaultDescendantSelector(Selector ancestor,
SimpleSelector simple) {
- super(ancestor, simple);
+ super(ancestor, simple);
}
/**
@@ -43,13 +43,13 @@
* org.w3c.css.sac.Selector#getSelectorType()}.
*/
public short getSelectorType() {
- return SAC_DESCENDANT_SELECTOR;
+ return SAC_DESCENDANT_SELECTOR;
}
/**
* Returns a representation of the selector.
*/
public String toString() {
- return getAncestorSelector() + " " + getSimpleSelector();
+ return getAncestorSelector() + " " + getSimpleSelector();
}
}
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultDirectAdjacentSelector.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultDirectAdjacentSelector.java?view=diff&rev=475685&r1=475684&r2=475685
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultDirectAdjacentSelector.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/css/parser/DefaultDirectAdjacentSelector.java Thu Nov 16 03:16:05 2006
@@ -37,7 +37,7 @@
public DefaultDirectAdjacentSelector(short type,
Selector parent,
SimpleSelector simple) {
- super(type, parent, simple);
+ super(type, parent, simple);
}
/**
@@ -45,13 +45,13 @@
* org.w3c.css.sac.Selector#getSelectorType()}.
*/
public short getSelectorType() {
- return SAC_DIRECT_ADJACENT_SELECTOR;
+ return SAC_DIRECT_ADJACENT_SELECTOR;
}
/**
* Returns a representation of the selector.
*/
public String toString() {
- return getSelector() + " + " + getSiblingSelector();
+ return getSelector() + " + " + getSiblingSelector();
}
}