Package org.apache.batik.css.engine
Class SVGCSSEngine
java.lang.Object
org.apache.batik.css.engine.CSSEngine
org.apache.batik.css.engine.SVGCSSEngine
- Direct Known Subclasses:
SVG12CSSEngine
This class provides a CSS engine initialized for SVG.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.batik.css.engine.CSSEngine
CSSEngine.CSSNavigableDocumentHandler, CSSEngine.DocumentAdapter, CSSEngine.DOMAttrModifiedListener, CSSEngine.DOMCharacterDataModifiedListener, CSSEngine.DOMNodeInsertedListener, CSSEngine.DOMNodeRemovedListener, CSSEngine.DOMSubtreeModifiedListener, CSSEngine.MainPropertyReceiver, CSSEngine.StyleDeclarationBuilder, CSSEngine.StyleDeclarationDocumentHandler, CSSEngine.StyleDeclarationUpdateHandler, CSSEngine.StyleSheetDocumentHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final ShorthandManager[]
The shorthand managers for SVG.static final ValueManager[]
The value managers for SVG.static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class org.apache.batik.css.engine.CSSEngine
ALL_PROPERTIES, alternateStyleSheet, classLocalName, classNamespaceURI, colorIndex, cssBaseURI, cssConditionFactory, cssContext, cssNavigableDocumentListener, document, documentURI, domAttrModifiedListener, domCharacterDataModifiedListener, domNodeInsertedListener, domNodeRemovedListener, domSubtreeModifiedListener, element, fontFaces, fontSizeIndex, indexes, isCSSNavigableDocument, lineHeightIndex, LISTENER_ARRAY, listeners, media, nonCSSPresentationalHints, nonCSSPresentationalHintsNamespaceURI, parser, pseudoElementNames, removedStylableElementSibling, selectorAttributes, shorthandIndexes, shorthandManagers, styleDeclarationBuilder, styleDeclarationDocumentHandler, styleDeclarationUpdateHandler, styleLocalName, styleNamespaceURI, styleSheetDocumentHandler, styleSheetNodes, styleSheetRemoved, userAgent, userAgentStyleSheet, userStyleSheet, valueManagers
-
Constructor Summary
ConstructorsModifierConstructorDescriptionSVGCSSEngine
(Document doc, ParsedURL uri, ExtendedParser p, CSSContext ctx) Creates a new SVGCSSEngine.protected
SVGCSSEngine
(Document doc, ParsedURL uri, ExtendedParser p, ValueManager[] vms, ShorthandManager[] sms, String[] pe, String sns, String sln, String cns, String cln, boolean hints, String hintsNS, CSSContext ctx) SVGCSSEngine
(Document doc, ParsedURL uri, ExtendedParser p, ValueManager[] vms, ShorthandManager[] sms, CSSContext ctx) Creates a new SVGCSSEngine. -
Method Summary
Modifier and TypeMethodDescriptionprotected static ShorthandManager[]
mergeArrays
(ShorthandManager[] a1, ShorthandManager[] a2) Merges the given arrays.protected static ValueManager[]
mergeArrays
(ValueManager[] a1, ValueManager[] a2) Merges the given arrays.Methods inherited from class org.apache.batik.css.engine.CSSEngine
addCSSEngineListener, addEventListeners, addMatchingRules, addRules, dispose, disposeStyleMaps, findSelectorAttributes, findStyleSheetNodes, firePropertiesChangedEvent, getCascadedStyleMap, getColorIndex, getComputedStyle, getCSSBaseURI, getCSSContext, getCSSEngineUserAgent, getCSSFirstChild, getCSSNextSibling, getCSSParentNode, getCSSPreviousSibling, getDocument, getFontFaces, getFontSizeIndex, getLineHeightIndex, getNumberOfProperties, getParentCSSStylableElement, getPropertyIndex, getPropertyName, getShorthandIndex, getShorthandManagers, getStyleSheetNodes, getValueManagers, handleAttrModified, handleCharacterDataModified, handleNodeInserted, handleNodeRemoved, handleSubtreeModified, hasStyleSheetNode, importCascadedStyleMaps, inlineStyleAttributeUpdated, invalidateProperties, mediaMatch, nonCSSPresentationalHintUpdated, parsePropertyValue, parseStyleDeclaration, parseStyleSheet, parseStyleSheet, parseStyleSheet, parseStyleSheet, parseStyleSheet, parseStyleSheet, propagateChanges, putAuthorProperty, removeCSSEngineListener, removeEventListeners, setAlternateStyleSheet, setCSSEngineUserAgent, setMainProperties, setMedia, setUserAgentStyleSheet, setUserStyleSheet, sortRules
-
Field Details
-
SVG_VALUE_MANAGERS
The value managers for SVG. -
SVG_SHORTHAND_MANAGERS
The shorthand managers for SVG. -
ALIGNMENT_BASELINE_INDEX
public static final int ALIGNMENT_BASELINE_INDEX- See Also:
-
BASELINE_SHIFT_INDEX
public static final int BASELINE_SHIFT_INDEX- See Also:
-
CLIP_INDEX
public static final int CLIP_INDEX- See Also:
-
CLIP_PATH_INDEX
public static final int CLIP_PATH_INDEX- See Also:
-
CLIP_RULE_INDEX
public static final int CLIP_RULE_INDEX- See Also:
-
COLOR_INDEX
public static final int COLOR_INDEX- See Also:
-
COLOR_INTERPOLATION_INDEX
public static final int COLOR_INTERPOLATION_INDEX- See Also:
-
COLOR_INTERPOLATION_FILTERS_INDEX
public static final int COLOR_INTERPOLATION_FILTERS_INDEX- See Also:
-
COLOR_PROFILE_INDEX
public static final int COLOR_PROFILE_INDEX- See Also:
-
COLOR_RENDERING_INDEX
public static final int COLOR_RENDERING_INDEX- See Also:
-
CURSOR_INDEX
public static final int CURSOR_INDEX- See Also:
-
DIRECTION_INDEX
public static final int DIRECTION_INDEX- See Also:
-
DISPLAY_INDEX
public static final int DISPLAY_INDEX- See Also:
-
DOMINANT_BASELINE_INDEX
public static final int DOMINANT_BASELINE_INDEX- See Also:
-
ENABLE_BACKGROUND_INDEX
public static final int ENABLE_BACKGROUND_INDEX- See Also:
-
FILL_INDEX
public static final int FILL_INDEX- See Also:
-
FILL_OPACITY_INDEX
public static final int FILL_OPACITY_INDEX- See Also:
-
FILL_RULE_INDEX
public static final int FILL_RULE_INDEX- See Also:
-
FILTER_INDEX
public static final int FILTER_INDEX- See Also:
-
FLOOD_COLOR_INDEX
public static final int FLOOD_COLOR_INDEX- See Also:
-
FLOOD_OPACITY_INDEX
public static final int FLOOD_OPACITY_INDEX- See Also:
-
FONT_FAMILY_INDEX
public static final int FONT_FAMILY_INDEX- See Also:
-
FONT_SIZE_INDEX
public static final int FONT_SIZE_INDEX- See Also:
-
FONT_SIZE_ADJUST_INDEX
public static final int FONT_SIZE_ADJUST_INDEX- See Also:
-
FONT_STRETCH_INDEX
public static final int FONT_STRETCH_INDEX- See Also:
-
FONT_STYLE_INDEX
public static final int FONT_STYLE_INDEX- See Also:
-
FONT_VARIANT_INDEX
public static final int FONT_VARIANT_INDEX- See Also:
-
FONT_WEIGHT_INDEX
public static final int FONT_WEIGHT_INDEX- See Also:
-
GLYPH_ORIENTATION_HORIZONTAL_INDEX
public static final int GLYPH_ORIENTATION_HORIZONTAL_INDEX- See Also:
-
GLYPH_ORIENTATION_VERTICAL_INDEX
public static final int GLYPH_ORIENTATION_VERTICAL_INDEX- See Also:
-
IMAGE_RENDERING_INDEX
public static final int IMAGE_RENDERING_INDEX- See Also:
-
KERNING_INDEX
public static final int KERNING_INDEX- See Also:
-
LETTER_SPACING_INDEX
public static final int LETTER_SPACING_INDEX- See Also:
-
LIGHTING_COLOR_INDEX
public static final int LIGHTING_COLOR_INDEX- See Also:
-
MARKER_END_INDEX
public static final int MARKER_END_INDEX- See Also:
-
MARKER_MID_INDEX
public static final int MARKER_MID_INDEX- See Also:
-
MARKER_START_INDEX
public static final int MARKER_START_INDEX- See Also:
-
MASK_INDEX
public static final int MASK_INDEX- See Also:
-
OPACITY_INDEX
public static final int OPACITY_INDEX- See Also:
-
OVERFLOW_INDEX
public static final int OVERFLOW_INDEX- See Also:
-
POINTER_EVENTS_INDEX
public static final int POINTER_EVENTS_INDEX- See Also:
-
SRC_INDEX
public static final int SRC_INDEX- See Also:
-
SHAPE_RENDERING_INDEX
public static final int SHAPE_RENDERING_INDEX- See Also:
-
STOP_COLOR_INDEX
public static final int STOP_COLOR_INDEX- See Also:
-
STOP_OPACITY_INDEX
public static final int STOP_OPACITY_INDEX- See Also:
-
STROKE_INDEX
public static final int STROKE_INDEX- See Also:
-
STROKE_DASHARRAY_INDEX
public static final int STROKE_DASHARRAY_INDEX- See Also:
-
STROKE_DASHOFFSET_INDEX
public static final int STROKE_DASHOFFSET_INDEX- See Also:
-
STROKE_LINECAP_INDEX
public static final int STROKE_LINECAP_INDEX- See Also:
-
STROKE_LINEJOIN_INDEX
public static final int STROKE_LINEJOIN_INDEX- See Also:
-
STROKE_MITERLIMIT_INDEX
public static final int STROKE_MITERLIMIT_INDEX- See Also:
-
STROKE_OPACITY_INDEX
public static final int STROKE_OPACITY_INDEX- See Also:
-
STROKE_WIDTH_INDEX
public static final int STROKE_WIDTH_INDEX- See Also:
-
TEXT_ANCHOR_INDEX
public static final int TEXT_ANCHOR_INDEX- See Also:
-
TEXT_DECORATION_INDEX
public static final int TEXT_DECORATION_INDEX- See Also:
-
TEXT_RENDERING_INDEX
public static final int TEXT_RENDERING_INDEX- See Also:
-
UNICODE_BIDI_INDEX
public static final int UNICODE_BIDI_INDEX- See Also:
-
VISIBILITY_INDEX
public static final int VISIBILITY_INDEX- See Also:
-
WORD_SPACING_INDEX
public static final int WORD_SPACING_INDEX- See Also:
-
WRITING_MODE_INDEX
public static final int WRITING_MODE_INDEX- See Also:
-
FINAL_INDEX
public static final int FINAL_INDEX- See Also:
-
-
Constructor Details
-
SVGCSSEngine
Creates a new SVGCSSEngine.- Parameters:
doc
- The associated document.uri
- The document URI.p
- The CSS parser to use.ctx
- The CSS context.
-
SVGCSSEngine
public SVGCSSEngine(Document doc, ParsedURL uri, ExtendedParser p, ValueManager[] vms, ShorthandManager[] sms, CSSContext ctx) Creates a new SVGCSSEngine.- Parameters:
doc
- The associated document.uri
- The document URI.p
- The CSS parser to use.vms
- Extension value managers.sms
- Extension shorthand managers.ctx
- The CSS context.
-
SVGCSSEngine
protected SVGCSSEngine(Document doc, ParsedURL uri, ExtendedParser p, ValueManager[] vms, ShorthandManager[] sms, String[] pe, String sns, String sln, String cns, String cln, boolean hints, String hintsNS, CSSContext ctx)
-
-
Method Details
-
mergeArrays
Merges the given arrays. -
mergeArrays
Merges the given arrays.
-