link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,25 @@
package org.apache.batik.anim.timing;
public interface TimegraphListener {
void elementActivated(TimedElement timedElement, float f);
void elementAdded(TimedElement timedElement);
void elementDeactivated(TimedElement timedElement, float f);
void elementFilled(TimedElement timedElement, float f);
void elementInstanceTimesChanged(TimedElement timedElement, float f);
void elementRemoved(TimedElement timedElement);
void elementRepeated(TimedElement timedElement, int i, float f);
void intervalBegan(TimedElement timedElement, Interval interval);
void intervalChanged(TimedElement timedElement, Interval interval);
void intervalCreated(TimedElement timedElement, Interval interval);
void intervalRemoved(TimedElement timedElement, Interval interval);
}
@@ -0,0 +1,9 @@
package org.apache.batik.bridge;
public interface Bridge {
Bridge getInstance();
String getLocalName();
String getNamespaceURI();
}
@@ -0,0 +1,22 @@
package org.apache.batik.bridge;
import java.util.Iterator;
import org.w3c.dom.Element;
public interface BridgeExtension {
String getAuthor();
String getContactAddress();
String getDescription();
Iterator getImplementedExtensions();
float getPriority();
String getURL();
boolean isDynamicElement(Element element);
void registerTags(BridgeContext bridgeContext);
}
@@ -0,0 +1,23 @@
package org.apache.batik.bridge;
import org.apache.batik.css.engine.CSSEngineEvent;
import org.apache.batik.dom.svg.AnimatedLiveAttributeValue;
import org.w3c.dom.events.MutationEvent;
public interface BridgeUpdateHandler {
void dispose();
void handleAnimatedAttributeChanged(AnimatedLiveAttributeValue animatedLiveAttributeValue);
void handleCSSEngineEvent(CSSEngineEvent cSSEngineEvent);
void handleDOMAttrModifiedEvent(MutationEvent mutationEvent);
void handleDOMCharacterDataModified(MutationEvent mutationEvent);
void handleDOMNodeInsertedEvent(MutationEvent mutationEvent);
void handleDOMNodeRemovedEvent(MutationEvent mutationEvent);
void handleOtherAnimationChanged(String str);
}
@@ -0,0 +1,9 @@
package org.apache.batik.bridge;
import org.apache.batik.ext.awt.image.renderable.ClipRable;
import org.apache.batik.gvt.GraphicsNode;
import org.w3c.dom.Element;
public interface ClipBridge extends Bridge {
ClipRable createClip(BridgeContext bridgeContext, Element element, Element element2, GraphicsNode graphicsNode);
}
@@ -0,0 +1,10 @@
package org.apache.batik.bridge;
import org.apache.batik.gvt.RootGraphicsNode;
import org.w3c.dom.Document;
public interface DocumentBridge extends Bridge {
void buildGraphicsNode(BridgeContext bridgeContext, Document document, RootGraphicsNode rootGraphicsNode);
RootGraphicsNode createGraphicsNode(BridgeContext bridgeContext, Document document);
}
@@ -0,0 +1,18 @@
package org.apache.batik.bridge;
public interface ErrorConstants {
public static final String ERR_ATTRIBUTE_MISSING = "attribute.missing";
public static final String ERR_ATTRIBUTE_VALUE_MALFORMED = "attribute.malformed";
public static final String ERR_CSS_LENGTH_NEGATIVE = "css.length.negative";
public static final String ERR_CSS_URI_BAD_TARGET = "css.uri.badTarget";
public static final String ERR_LENGTH_NEGATIVE = "length.negative";
public static final String ERR_URI_BAD_TARGET = "uri.badTarget";
public static final String ERR_URI_IMAGE_BROKEN = "uri.image.broken";
public static final String ERR_URI_IMAGE_INVALID = "uri.image.invalid";
public static final String ERR_URI_IO = "uri.io";
public static final String ERR_URI_MALFORMED = "uri.malformed";
public static final String ERR_URI_REFERENCE_A_DOCUMENT = "uri.referenceDocument";
public static final String ERR_URI_UNSECURE = "uri.unsecure";
public static final String ERR_XLINK_HREF_CIRCULAR_DEPENDENCIES = "xlink.href.circularDependencies";
public static final String URI_IMAGE_ERROR = "uri.image.error";
}
@@ -0,0 +1,5 @@
package org.apache.batik.bridge;
public interface ExternalResourceSecurity {
void checkLoadExternalResource();
}
@@ -0,0 +1,9 @@
package org.apache.batik.bridge;
import org.apache.batik.ext.awt.image.renderable.Filter;
import org.apache.batik.gvt.GraphicsNode;
import org.w3c.dom.Element;
public interface FilterBridge extends Bridge {
Filter createFilter(BridgeContext bridgeContext, Element element, Element element2, GraphicsNode graphicsNode);
}
@@ -0,0 +1,11 @@
package org.apache.batik.bridge;
import java.awt.geom.Rectangle2D;
import java.util.Map;
import org.apache.batik.ext.awt.image.renderable.Filter;
import org.apache.batik.gvt.GraphicsNode;
import org.w3c.dom.Element;
public interface FilterPrimitiveBridge extends Bridge {
Filter createFilter(BridgeContext bridgeContext, Element element, Element element2, GraphicsNode graphicsNode, Filter filter, Rectangle2D rectangle2D, Map map);
}
@@ -0,0 +1,7 @@
package org.apache.batik.bridge;
import org.w3c.dom.Element;
public interface GenericBridge extends Bridge {
void handleElement(BridgeContext bridgeContext, Element element);
}
@@ -0,0 +1,16 @@
package org.apache.batik.bridge;
import org.apache.batik.gvt.GraphicsNode;
import org.w3c.dom.Element;
public interface GraphicsNodeBridge extends Bridge {
void buildGraphicsNode(BridgeContext bridgeContext, Element element, GraphicsNode graphicsNode);
GraphicsNode createGraphicsNode(BridgeContext bridgeContext, Element element);
boolean getDisplay(Element element);
Bridge getInstance();
boolean isComposite();
}
@@ -0,0 +1,8 @@
package org.apache.batik.bridge;
import org.apache.batik.gvt.Marker;
import org.w3c.dom.Element;
public interface MarkerBridge extends Bridge {
Marker createMarker(BridgeContext bridgeContext, Element element, Element element2);
}
@@ -0,0 +1,9 @@
package org.apache.batik.bridge;
import org.apache.batik.gvt.GraphicsNode;
import org.apache.batik.gvt.filter.Mask;
import org.w3c.dom.Element;
public interface MaskBridge extends Bridge {
Mask createMask(BridgeContext bridgeContext, Element element, Element element2, GraphicsNode graphicsNode);
}
@@ -0,0 +1,4 @@
package org.apache.batik.bridge;
public interface NoRepaintRunnable extends Runnable {
}
@@ -0,0 +1,9 @@
package org.apache.batik.bridge;
import java.awt.Paint;
import org.apache.batik.gvt.GraphicsNode;
import org.w3c.dom.Element;
public interface PaintBridge extends Bridge {
Paint createPaint(BridgeContext bridgeContext, Element element, Element element2, GraphicsNode graphicsNode, float f);
}
@@ -0,0 +1,5 @@
package org.apache.batik.bridge;
public interface ScriptSecurity {
void checkLoadScript();
}
@@ -0,0 +1,17 @@
package org.apache.batik.bridge;
public interface UpdateManagerListener {
void managerResumed(UpdateManagerEvent updateManagerEvent);
void managerStarted(UpdateManagerEvent updateManagerEvent);
void managerStopped(UpdateManagerEvent updateManagerEvent);
void managerSuspended(UpdateManagerEvent updateManagerEvent);
void updateCompleted(UpdateManagerEvent updateManagerEvent);
void updateFailed(UpdateManagerEvent updateManagerEvent);
void updateStarted(UpdateManagerEvent updateManagerEvent);
}
@@ -0,0 +1,86 @@
package org.apache.batik.bridge;
import java.awt.Cursor;
import java.awt.Point;
import java.awt.geom.AffineTransform;
import java.awt.geom.Dimension2D;
import org.apache.batik.gvt.event.EventDispatcher;
import org.apache.batik.gvt.text.Mark;
import org.apache.batik.util.ParsedURL;
import org.w3c.dom.Element;
import org.w3c.dom.svg.SVGAElement;
import org.w3c.dom.svg.SVGDocument;
public interface UserAgent {
void checkLoadExternalResource(ParsedURL parsedURL, ParsedURL parsedURL2) throws SecurityException;
void checkLoadScript(String str, ParsedURL parsedURL, ParsedURL parsedURL2) throws SecurityException;
void deselectAll();
void displayError(Exception exception);
void displayMessage(String str);
String getAlternateStyleSheet();
float getBolderFontWeight(float f);
SVGDocument getBrokenLinkDocument(Element element, String str, String str2);
Point getClientAreaLocationOnScreen();
String getDefaultFontFamily();
EventDispatcher getEventDispatcher();
ExternalResourceSecurity getExternalResourceSecurity(ParsedURL parsedURL, ParsedURL parsedURL2);
String getLanguages();
float getLighterFontWeight(float f);
String getMedia();
float getMediumFontSize();
float getPixelToMM();
float getPixelUnitToMillimeter();
ScriptSecurity getScriptSecurity(String str, ParsedURL parsedURL, ParsedURL parsedURL2);
AffineTransform getTransform();
String getUserStyleSheetURI();
Dimension2D getViewportSize();
String getXMLParserClassName();
void handleElement(Element element, Object obj);
boolean hasFeature(String str);
boolean isXMLParserValidating();
void openLink(SVGAElement sVGAElement);
void registerExtension(BridgeExtension bridgeExtension);
void setSVGCursor(Cursor cursor);
void setTextSelection(Mark mark, Mark mark2);
void setTransform(AffineTransform affineTransform);
void showAlert(String str);
boolean showConfirm(String str);
String showPrompt(String str);
String showPrompt(String str, String str2);
boolean supportExtension(String str);
}
@@ -0,0 +1,7 @@
package org.apache.batik.bridge;
public interface Viewport {
float getHeight();
float getWidth();
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 920 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 B

@@ -0,0 +1,8 @@
package org.apache.batik.bridge.svg12;
import java.util.EventListener;
import org.w3c.dom.Element;
public interface BindingListener extends EventListener {
void bindingChanged(Element element, Element element2);
}
@@ -0,0 +1,7 @@
package org.apache.batik.bridge.svg12;
import java.util.EventListener;
public interface ContentSelectionChangedListener extends EventListener {
void contentSelectionChanged(ContentSelectionChangedEvent contentSelectionChangedEvent);
}
@@ -0,0 +1,10 @@
package org.apache.batik.bridge.svg12;
import org.apache.batik.bridge.BridgeUpdateHandler;
import org.w3c.dom.Element;
public interface SVG12BridgeUpdateHandler extends BridgeUpdateHandler {
void handleBindingEvent(Element element, Element element2);
void handleContentSelectionChangedEvent(ContentSelectionChangedEvent contentSelectionChangedEvent);
}
@@ -0,0 +1,33 @@
package org.apache.batik.css.engine;
import org.apache.batik.css.engine.value.Value;
import org.apache.batik.util.ParsedURL;
import org.w3c.dom.Element;
public interface CSSContext {
void checkLoadExternalResource(ParsedURL parsedURL, ParsedURL parsedURL2) throws SecurityException;
float getBlockHeight(Element element);
float getBlockWidth(Element element);
float getBolderFontWeight(float f);
CSSEngine getCSSEngineForElement(Element element);
Value getDefaultFontFamily();
float getLighterFontWeight(float f);
float getMediumFontSize();
float getPixelToMillimeter();
float getPixelUnitToMillimeter();
Value getSystemColor(String str);
boolean isDynamic();
boolean isInteractive();
}
@@ -0,0 +1,5 @@
package org.apache.batik.css.engine;
public interface CSSEngineListener {
void propertiesChanged(CSSEngineEvent cSSEngineEvent);
}
@@ -0,0 +1,7 @@
package org.apache.batik.css.engine;
public interface CSSEngineUserAgent {
void displayError(Exception exception);
void displayMessage(String str);
}
@@ -0,0 +1,7 @@
package org.apache.batik.css.engine;
public interface CSSNavigableDocument {
void addCSSNavigableDocumentListener(CSSNavigableDocumentListener cSSNavigableDocumentListener);
void removeCSSNavigableDocumentListener(CSSNavigableDocumentListener cSSNavigableDocumentListener);
}
@@ -0,0 +1,23 @@
package org.apache.batik.css.engine;
import org.w3c.dom.Attr;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
public interface CSSNavigableDocumentListener {
void attrModified(Element element, Attr attr, short s, String str, String str2);
void characterDataModified(Node node);
void nodeInserted(Node node);
void nodeToBeRemoved(Node node);
void overrideStylePropertyChanged(CSSStylableElement cSSStylableElement, String str, String str2, String str3);
void overrideStylePropertyRemoved(CSSStylableElement cSSStylableElement, String str);
void overrideStyleTextChanged(CSSStylableElement cSSStylableElement, String str);
void subtreeModified(Node node);
}
@@ -0,0 +1,17 @@
package org.apache.batik.css.engine;
import org.w3c.dom.Node;
public interface CSSNavigableNode {
Node getCSSFirstChild();
Node getCSSLastChild();
Node getCSSNextSibling();
Node getCSSParentNode();
Node getCSSPreviousSibling();
boolean isHiddenFromSelectors();
}
@@ -0,0 +1,20 @@
package org.apache.batik.css.engine;
import org.apache.batik.util.ParsedURL;
import org.w3c.dom.Element;
public interface CSSStylableElement extends Element {
ParsedURL getCSSBase();
String getCSSClass();
StyleMap getComputedStyleMap(String str);
StyleDeclarationProvider getOverrideStyleDeclarationProvider();
String getXMLId();
boolean isPseudoInstanceOf(String str);
void setComputedStyleMap(String str, StyleMap styleMap);
}
@@ -0,0 +1,5 @@
package org.apache.batik.css.engine;
public interface CSSStyleSheetNode {
StyleSheet getCSSStyleSheet();
}
@@ -0,0 +1,7 @@
package org.apache.batik.css.engine;
public interface Rule {
short getType();
String toString(CSSEngine cSSEngine);
}
@@ -0,0 +1,7 @@
package org.apache.batik.css.engine;
public interface StyleDeclarationProvider {
StyleDeclaration getStyleDeclaration();
void setStyleDeclaration(StyleDeclaration styleDeclaration);
}
@@ -0,0 +1,13 @@
package org.apache.batik.css.engine.sac;
import java.util.Set;
import org.w3c.css.sac.Condition;
import org.w3c.dom.Element;
public interface ExtendedCondition extends Condition {
void fillAttributeSet(Set set);
int getSpecificity();
boolean match(Element element, String str);
}
@@ -0,0 +1,13 @@
package org.apache.batik.css.engine.sac;
import java.util.Set;
import org.w3c.css.sac.Selector;
import org.w3c.dom.Element;
public interface ExtendedSelector extends Selector {
void fillAttributeSet(Set set);
int getSpecificity();
boolean match(Element element, String str);
}
@@ -0,0 +1,20 @@
package org.apache.batik.css.engine.value;
import org.apache.batik.css.engine.CSSEngine;
import org.w3c.css.sac.LexicalUnit;
import org.w3c.dom.DOMException;
public interface ShorthandManager {
public interface PropertyHandler {
void property(String str, LexicalUnit lexicalUnit, boolean z);
}
String getPropertyName();
boolean isAdditiveProperty();
boolean isAnimatableProperty();
void setValues(CSSEngine cSSEngine, PropertyHandler propertyHandler, LexicalUnit lexicalUnit, boolean z) throws DOMException;
}
@@ -0,0 +1,39 @@
package org.apache.batik.css.engine.value;
import org.w3c.dom.DOMException;
public interface Value {
Value getBlue() throws DOMException;
Value getBottom() throws DOMException;
String getCssText();
short getCssValueType();
float getFloatValue() throws DOMException;
Value getGreen() throws DOMException;
String getIdentifier() throws DOMException;
Value getLeft() throws DOMException;
int getLength() throws DOMException;
String getListStyle() throws DOMException;
short getPrimitiveType();
Value getRed() throws DOMException;
Value getRight() throws DOMException;
String getSeparator() throws DOMException;
String getStringValue() throws DOMException;
Value getTop() throws DOMException;
Value item(int i) throws DOMException;
}
@@ -0,0 +1,29 @@
package org.apache.batik.css.engine.value;
import org.apache.batik.css.engine.CSSEngine;
import org.apache.batik.css.engine.CSSStylableElement;
import org.apache.batik.css.engine.StyleMap;
import org.w3c.css.sac.LexicalUnit;
import org.w3c.dom.DOMException;
public interface ValueManager {
Value computeValue(CSSStylableElement cSSStylableElement, String str, CSSEngine cSSEngine, int i, StyleMap styleMap, Value value);
Value createFloatValue(short s, float f) throws DOMException;
Value createStringValue(short s, String str, CSSEngine cSSEngine) throws DOMException;
Value createValue(LexicalUnit lexicalUnit, CSSEngine cSSEngine) throws DOMException;
Value getDefaultValue();
String getPropertyName();
int getPropertyType();
boolean isAdditiveProperty();
boolean isAnimatableProperty();
boolean isInheritedProperty();
}
@@ -0,0 +1,18 @@
package org.apache.batik.css.engine.value.svg;
import org.apache.batik.css.engine.value.Value;
import org.w3c.dom.DOMException;
public interface SVGValue extends Value {
float getColor(int i) throws DOMException;
String getColorProfile() throws DOMException;
short getColorType() throws DOMException;
int getNumberOfColors() throws DOMException;
short getPaintType() throws DOMException;
String getUri() throws DOMException;
}
@@ -0,0 +1,22 @@
package org.apache.batik.css.parser;
import java.io.IOException;
import org.w3c.css.sac.CSSException;
import org.w3c.css.sac.LexicalUnit;
import org.w3c.css.sac.Parser;
import org.w3c.css.sac.SACMediaList;
import org.w3c.css.sac.SelectorList;
public interface ExtendedParser extends Parser {
SACMediaList parseMedia(String str) throws CSSException, IOException;
boolean parsePriority(String str) throws CSSException, IOException;
LexicalUnit parsePropertyValue(String str) throws CSSException, IOException;
void parseRule(String str) throws CSSException, IOException;
SelectorList parseSelectors(String str) throws CSSException, IOException;
void parseStyleDeclaration(String str) throws CSSException, IOException;
}
@@ -0,0 +1,59 @@
package org.apache.batik.css.parser;
public interface LexicalUnits {
public static final int ANY = 13;
public static final int AT_KEYWORD = 29;
public static final int CDC = 22;
public static final int CDO = 21;
public static final int CHARSET_SYMBOL = 30;
public static final int CM = 37;
public static final int COLON = 16;
public static final int COMMA = 6;
public static final int COMMENT = 18;
public static final int DASHMATCH = 25;
public static final int DEG = 47;
public static final int DIMENSION = 34;
public static final int DIVIDE = 10;
public static final int DOT = 7;
public static final int EM = 36;
public static final int EOF = 0;
public static final int EQUAL = 3;
public static final int EX = 35;
public static final int FONT_FACE_SYMBOL = 31;
public static final int FUNCTION = 52;
public static final int GRAD = 49;
public static final int HASH = 27;
public static final int HZ = 41;
public static final int IDENTIFIER = 20;
public static final int IMPORTANT_SYMBOL = 23;
public static final int IMPORT_SYMBOL = 28;
public static final int IN = 39;
public static final int INCLUDES = 26;
public static final int INTEGER = 24;
public static final int KHZ = 50;
public static final int LEFT_BRACE = 14;
public static final int LEFT_BRACKET = 11;
public static final int LEFT_CURLY_BRACE = 1;
public static final int MEDIA_SYMBOL = 32;
public static final int MINUS = 5;
public static final int MM = 38;
public static final int MS = 40;
public static final int PAGE_SYMBOL = 33;
public static final int PC = 44;
public static final int PERCENTAGE = 42;
public static final int PLUS = 4;
public static final int PRECEDE = 9;
public static final int PT = 45;
public static final int PX = 46;
public static final int RAD = 48;
public static final int REAL = 54;
public static final int RIGHT_BRACE = 15;
public static final int RIGHT_BRACKET = 12;
public static final int RIGHT_CURLY_BRACE = 2;
public static final int S = 43;
public static final int SEMI_COLON = 8;
public static final int SPACE = 17;
public static final int STRING = 19;
public static final int UNICODE_RANGE = 53;
public static final int URI = 51;
}
@@ -0,0 +1,15 @@
package org.apache.batik.dom;
public interface DomExtension {
String getAuthor();
String getContactAddress();
String getDescription();
float getPriority();
String getURL();
void registerTags(ExtensibleDOMImplementation extensibleDOMImplementation);
}
@@ -0,0 +1,23 @@
package org.apache.batik.dom;
import org.apache.batik.dom.events.NodeEventTarget;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
public interface ExtendedNode extends Node, NodeEventTarget {
boolean isReadonly();
void setNextSibling(Node node);
void setNodeName(String str);
void setOwnerDocument(Document document);
void setParentNode(Node node);
void setPreviousSibling(Node node);
void setReadonly(boolean z);
void setSpecified(boolean z);
}
@@ -0,0 +1,9 @@
package org.apache.batik.dom;
import org.apache.batik.dom.util.HashTable;
import org.w3c.dom.Node;
import org.w3c.dom.stylesheets.StyleSheet;
public interface StyleSheetFactory {
StyleSheet createStyleSheet(Node node, HashTable hashTable);
}
@@ -0,0 +1,7 @@
package org.apache.batik.dom.anim;
import org.apache.batik.anim.values.AnimatableValue;
public interface AnimatableElement {
AnimatableValue getUnderlyingValue();
}
@@ -0,0 +1,31 @@
package org.apache.batik.dom.anim;
import org.apache.batik.anim.values.AnimatableValue;
import org.w3c.dom.Element;
public interface AnimationTarget {
public static final short PERCENTAGE_FONT_SIZE = (short) 0;
public static final short PERCENTAGE_VIEWPORT_HEIGHT = (short) 2;
public static final short PERCENTAGE_VIEWPORT_SIZE = (short) 3;
public static final short PERCENTAGE_VIEWPORT_WIDTH = (short) 1;
void addTargetListener(String str, String str2, boolean z, AnimationTargetListener animationTargetListener);
Element getElement();
short getPercentageInterpretation(String str, String str2, boolean z);
AnimatableValue getUnderlyingValue(String str, String str2);
void removeTargetListener(String str, String str2, boolean z, AnimationTargetListener animationTargetListener);
float svgToUserSpace(float f, short s, short s2);
void updateAttributeValue(String str, String str2, AnimatableValue animatableValue);
void updateOtherValue(String str, AnimatableValue animatableValue);
void updatePropertyValue(String str, AnimatableValue animatableValue);
boolean useLinearRGBColorInterpolation();
}
@@ -0,0 +1,5 @@
package org.apache.batik.dom.anim;
public interface AnimationTargetListener {
void baseValueChanged(AnimationTarget animationTarget, String str, String str2, boolean z);
}
@@ -0,0 +1,19 @@
package org.apache.batik.dom.events;
import org.w3c.dom.DOMException;
import org.w3c.dom.events.Event;
import org.w3c.dom.events.EventException;
import org.w3c.dom.events.EventListener;
import org.w3c.dom.events.EventTarget;
public interface NodeEventTarget extends EventTarget {
void addEventListenerNS(String str, String str2, EventListener eventListener, boolean z, Object obj);
boolean dispatchEvent(Event event) throws EventException, DOMException;
EventSupport getEventSupport();
NodeEventTarget getParentNodeEventTarget();
void removeEventListenerNS(String str, String str2, EventListener eventListener, boolean z);
}
@@ -0,0 +1,9 @@
package org.apache.batik.dom.svg;
import org.w3c.dom.Element;
public interface AnimatedAttributeListener {
void animatedAttributeChanged(Element element, AnimatedLiveAttributeValue animatedLiveAttributeValue);
void otherAnimationChanged(Element element, String str);
}
@@ -0,0 +1,16 @@
package org.apache.batik.dom.svg;
import org.apache.batik.anim.values.AnimatableValue;
import org.apache.batik.dom.anim.AnimationTarget;
public interface AnimatedLiveAttributeValue extends LiveAttributeValue {
void addAnimatedAttributeListener(AnimatedAttributeListener animatedAttributeListener);
String getLocalName();
String getNamespaceURI();
AnimatableValue getUnderlyingValue(AnimationTarget animationTarget);
void removeAnimatedAttributeListener(AnimatedAttributeListener animatedAttributeListener);
}
@@ -0,0 +1,23 @@
package org.apache.batik.dom.svg;
public interface ExtendedTraitAccess extends TraitAccess {
int getAttributeType(String str, String str2);
int getPropertyType(String str);
boolean hasProperty(String str);
boolean hasTrait(String str, String str2);
boolean isAttributeAdditive(String str, String str2);
boolean isAttributeAnimatable(String str, String str2);
boolean isPropertyAdditive(String str);
boolean isPropertyAnimatable(String str);
boolean isTraitAdditive(String str, String str2);
boolean isTraitAnimatable(String str, String str2);
}
@@ -0,0 +1,7 @@
package org.apache.batik.dom.svg;
import org.w3c.dom.Element;
public interface IdContainer {
Element getElementById(String str);
}
@@ -0,0 +1,9 @@
package org.apache.batik.dom.svg;
public interface ListHandler {
void endList();
void item(SVGItem sVGItem);
void startList();
}
@@ -0,0 +1,11 @@
package org.apache.batik.dom.svg;
import org.w3c.dom.Attr;
public interface LiveAttributeValue {
void attrAdded(Attr attr, String str);
void attrModified(Attr attr, String str, String str2);
void attrRemoved(Attr attr, String str);
}
@@ -0,0 +1,16 @@
package org.apache.batik.dom.svg;
import org.w3c.dom.smil.ElementTimeControl;
import org.w3c.dom.svg.SVGElement;
public interface SVGAnimationContext extends SVGContext, ElementTimeControl {
float getCurrentTime();
float getHyperlinkBeginTime();
float getSimpleDuration();
float getStartTime();
SVGElement getTargetElement();
}
@@ -0,0 +1,9 @@
package org.apache.batik.dom.svg;
import org.apache.batik.dom.anim.AnimationTargetListener;
public interface SVGAnimationTargetContext extends SVGContext {
void addTargetListener(String str, AnimationTargetListener animationTargetListener);
void removeTargetListener(String str, AnimationTargetListener animationTargetListener);
}
@@ -0,0 +1,31 @@
package org.apache.batik.dom.svg;
import java.awt.geom.AffineTransform;
import java.awt.geom.Rectangle2D;
public interface SVGContext {
public static final int PERCENTAGE_FONT_SIZE = 0;
public static final int PERCENTAGE_VIEWPORT_HEIGHT = 2;
public static final int PERCENTAGE_VIEWPORT_SIZE = 3;
public static final int PERCENTAGE_VIEWPORT_WIDTH = 1;
Rectangle2D getBBox();
AffineTransform getCTM();
float getFontSize();
AffineTransform getGlobalTransform();
float getPixelToMM();
float getPixelUnitToMillimeter();
AffineTransform getScreenTransform();
float getViewportHeight();
float getViewportWidth();
void setScreenTransform(AffineTransform affineTransform);
}
@@ -0,0 +1,15 @@
package org.apache.batik.dom.svg;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import org.apache.batik.dom.util.DocumentFactory;
import org.w3c.dom.svg.SVGDocument;
public interface SVGDocumentFactory extends DocumentFactory {
SVGDocument createSVGDocument(String str) throws IOException;
SVGDocument createSVGDocument(String str, InputStream inputStream) throws IOException;
SVGDocument createSVGDocument(String str, Reader reader) throws IOException;
}
@@ -0,0 +1,9 @@
package org.apache.batik.dom.svg;
public interface SVGItem {
AbstractSVGList getParent();
String getValueAsString();
void setParent(AbstractSVGList abstractSVGList);
}
@@ -0,0 +1,7 @@
package org.apache.batik.dom.svg;
import java.awt.geom.AffineTransform;
public interface SVGMotionAnimatableElement {
AffineTransform getMotionTransform();
}
@@ -0,0 +1,11 @@
package org.apache.batik.dom.svg;
import java.awt.geom.Point2D;
public interface SVGPathContext extends SVGContext {
int getPathSegAtLength(float f);
Point2D getPointAtLength(float f);
float getTotalLength();
}
@@ -0,0 +1,35 @@
package org.apache.batik.dom.svg;
import java.util.List;
import org.w3c.dom.Element;
import org.w3c.dom.svg.SVGRect;
public interface SVGSVGContext extends SVGContext {
boolean animationsPaused();
boolean checkEnclosure(Element element, SVGRect sVGRect);
boolean checkIntersection(Element element, SVGRect sVGRect);
void deselectAll();
void forceRedraw();
float getCurrentTime();
List getEnclosureList(SVGRect sVGRect, Element element);
List getIntersectionList(SVGRect sVGRect, Element element);
void pauseAnimations();
void setCurrentTime(float f);
int suspendRedraw(int i);
void unpauseAnimations();
boolean unsuspendRedraw(int i);
void unsuspendRedrawAll();
}
@@ -0,0 +1,24 @@
package org.apache.batik.dom.svg;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
public interface SVGTextContent {
int getCharNumAtPosition(float f, float f2);
float getComputedTextLength();
Point2D getEndPositionOfChar(int i);
Rectangle2D getExtentOfChar(int i);
int getNumberOfChars();
float getRotationOfChar(int i);
Point2D getStartPositionOfChar(int i);
float getSubStringLength(int i, int i2);
void selectSubString(int i, int i2);
}
@@ -0,0 +1,4 @@
package org.apache.batik.dom.svg;
public interface TraitAccess {
}
@@ -0,0 +1,4 @@
package org.apache.batik.dom.svg12;
public interface Global {
}
@@ -0,0 +1,9 @@
package org.apache.batik.dom.svg12;
import org.w3c.dom.events.EventTarget;
public interface SVGGlobal extends Global {
void startMouseCapture(EventTarget eventTarget, boolean z, boolean z2);
void stopMouseCapture();
}
@@ -0,0 +1,7 @@
package org.apache.batik.dom.util;
import org.w3c.dom.css.CSSStyleDeclaration;
public interface CSSStyleDeclarationFactory {
CSSStyleDeclaration createCSSStyleDeclaration();
}
@@ -0,0 +1,23 @@
package org.apache.batik.dom.util;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import org.w3c.dom.Document;
import org.xml.sax.XMLReader;
public interface DocumentFactory {
Document createDocument(String str, String str2, String str3) throws IOException;
Document createDocument(String str, String str2, String str3, InputStream inputStream) throws IOException;
Document createDocument(String str, String str2, String str3, Reader reader) throws IOException;
Document createDocument(String str, String str2, String str3, XMLReader xMLReader) throws IOException;
DocumentDescriptor getDocumentDescriptor();
boolean isValidating();
void setValidating(boolean z);
}
@@ -0,0 +1,48 @@
package org.apache.batik.dom.util;
import org.w3c.dom.Document;
import org.w3c.dom.events.EventListener;
public interface XMLHttpRequest {
public static final short DONE = (short) 4;
public static final short HEADERS_RECEIVED = (short) 2;
public static final short LOADING = (short) 3;
public static final short OPENED = (short) 1;
public static final short UNSENT = (short) 0;
void abort();
String getAllResponseHeaders();
EventListener getOnreadystatechange();
short getReadyState();
String getResponseHeader(String str);
String getResponseText();
String getResponseXML();
short getStatus();
String getStatusText();
void open(String str, String str2);
void open(String str, String str2, boolean z);
void open(String str, String str2, boolean z, String str3);
void open(String str, String str2, boolean z, String str3, String str4);
void send();
void send(String str);
void send(Document document);
void setOnreadystatechange(EventListener eventListener);
void setRequestHeader(String str, String str2);
}
@@ -0,0 +1,35 @@
package org.apache.batik.dom.xbl;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public interface NodeXBL {
Element getXblBoundElement();
NodeList getXblChildNodes();
NodeList getXblDefinitions();
Node getXblFirstChild();
Element getXblFirstElementChild();
Node getXblLastChild();
Element getXblLastElementChild();
Element getXblNextElementSibling();
Node getXblNextSibling();
Node getXblParentNode();
Element getXblPreviousElementSibling();
Node getXblPreviousSibling();
NodeList getXblScopedChildNodes();
Element getXblShadowTree();
}
@@ -0,0 +1,7 @@
package org.apache.batik.dom.xbl;
import org.w3c.dom.events.Event;
public interface OriginalEvent {
Event getOriginalEvent();
}
@@ -0,0 +1,11 @@
package org.apache.batik.dom.xbl;
import org.w3c.dom.events.Event;
public interface ShadowTreeEvent extends Event {
XBLShadowTreeElement getXblShadowTree();
void initShadowTreeEvent(String str, boolean z, boolean z2, XBLShadowTreeElement xBLShadowTreeElement);
void initShadowTreeEventNS(String str, String str2, boolean z, boolean z2, XBLShadowTreeElement xBLShadowTreeElement);
}
@@ -0,0 +1,41 @@
package org.apache.batik.dom.xbl;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public interface XBLManager {
Element getXblBoundElement(Node node);
NodeList getXblChildNodes(Node node);
NodeList getXblDefinitions(Node node);
Node getXblFirstChild(Node node);
Element getXblFirstElementChild(Node node);
Node getXblLastChild(Node node);
Element getXblLastElementChild(Node node);
Element getXblNextElementSibling(Node node);
Node getXblNextSibling(Node node);
Node getXblParentNode(Node node);
Element getXblPreviousElementSibling(Node node);
Node getXblPreviousSibling(Node node);
NodeList getXblScopedChildNodes(Node node);
Element getXblShadowTree(Node node);
boolean isProcessing();
void startProcessing();
void stopProcessing();
}
@@ -0,0 +1,7 @@
package org.apache.batik.dom.xbl;
public interface XBLManagerData {
Object getManagerData();
void setManagerData(Object obj);
}
@@ -0,0 +1,7 @@
package org.apache.batik.dom.xbl;
import org.w3c.dom.Element;
public interface XBLShadowTreeElement extends Element {
Element getElementById(String str);
}
@@ -0,0 +1,24 @@
package org.apache.batik.ext.awt.geom;
public interface ExtendedPathIterator {
public static final int SEG_ARCTO = 4321;
public static final int SEG_CLOSE = 4;
public static final int SEG_CUBICTO = 3;
public static final int SEG_LINETO = 1;
public static final int SEG_MOVETO = 0;
public static final int SEG_QUADTO = 2;
public static final int WIND_EVEN_ODD = 0;
public static final int WIND_NON_ZERO = 1;
int currentSegment();
int currentSegment(double[] dArr);
int currentSegment(float[] fArr);
int getWindingRule();
boolean isDone();
void next();
}
@@ -0,0 +1,7 @@
package org.apache.batik.ext.awt.geom;
import java.awt.Shape;
public interface ExtendedShape extends Shape {
ExtendedPathIterator getExtendedPathIterator();
}
@@ -0,0 +1,23 @@
package org.apache.batik.ext.awt.image;
public interface ComponentTransferFunction {
public static final int DISCRETE = 2;
public static final int GAMMA = 4;
public static final int IDENTITY = 0;
public static final int LINEAR = 3;
public static final int TABLE = 1;
float getAmplitude();
float getExponent();
float getIntercept();
float getOffset();
float getSlope();
float[] getTableValues();
int getType();
}
@@ -0,0 +1,17 @@
package org.apache.batik.ext.awt.image;
import java.awt.Color;
public interface Light {
double[] getColor(boolean z);
void getLight(double d, double d2, double d3, double[] dArr);
double[][][] getLightMap(double d, double d2, double d3, double d4, int i, int i2, double[][][] dArr);
double[][] getLightRow(double d, double d2, double d3, int i, double[][] dArr, double[][] dArr2);
boolean isConstant();
void setColor(Color color);
}
@@ -0,0 +1,5 @@
package org.apache.batik.ext.awt.image;
public interface TransferFunction {
byte[] getLookupTable();
}
@@ -0,0 +1,13 @@
package org.apache.batik.ext.awt.image.renderable;
import java.awt.geom.AffineTransform;
public interface AffineRable extends Filter {
AffineTransform getAffine();
Filter getSource();
void setAffine(AffineTransform affineTransform);
void setSource(Filter filter);
}
@@ -0,0 +1,17 @@
package org.apache.batik.ext.awt.image.renderable;
import java.awt.Shape;
public interface ClipRable extends Filter {
Shape getClipPath();
Filter getSource();
boolean getUseAntialiasedClip();
void setClipPath(Shape shape);
void setSource(Filter filter);
void setUseAntialiasedClip(boolean z);
}
@@ -0,0 +1,16 @@
package org.apache.batik.ext.awt.image.renderable;
public interface ColorMatrixRable extends FilterColorInterpolation {
public static final int TYPE_HUE_ROTATE = 2;
public static final int TYPE_LUMINANCE_TO_ALPHA = 3;
public static final int TYPE_MATRIX = 0;
public static final int TYPE_SATURATE = 1;
float[][] getMatrix();
Filter getSource();
int getType();
void setSource(Filter filter);
}
@@ -0,0 +1,25 @@
package org.apache.batik.ext.awt.image.renderable;
import org.apache.batik.ext.awt.image.ComponentTransferFunction;
public interface ComponentTransferRable extends FilterColorInterpolation {
ComponentTransferFunction getAlphaFunction();
ComponentTransferFunction getBlueFunction();
ComponentTransferFunction getGreenFunction();
ComponentTransferFunction getRedFunction();
Filter getSource();
void setAlphaFunction(ComponentTransferFunction componentTransferFunction);
void setBlueFunction(ComponentTransferFunction componentTransferFunction);
void setGreenFunction(ComponentTransferFunction componentTransferFunction);
void setRedFunction(ComponentTransferFunction componentTransferFunction);
void setSource(Filter filter);
}
@@ -0,0 +1,12 @@
package org.apache.batik.ext.awt.image.renderable;
import java.util.List;
import org.apache.batik.ext.awt.image.CompositeRule;
public interface CompositeRable extends FilterColorInterpolation {
CompositeRule getCompositeRule();
void setCompositeRule(CompositeRule compositeRule);
void setSources(List list);
}
@@ -0,0 +1,35 @@
package org.apache.batik.ext.awt.image.renderable;
import java.awt.Point;
import java.awt.image.Kernel;
import org.apache.batik.ext.awt.image.PadMode;
public interface ConvolveMatrixRable extends FilterColorInterpolation {
double getBias();
PadMode getEdgeMode();
Kernel getKernel();
double[] getKernelUnitLength();
boolean getPreserveAlpha();
Filter getSource();
Point getTarget();
void setBias(double d);
void setEdgeMode(PadMode padMode);
void setKernel(Kernel kernel);
void setKernelUnitLength(double[] dArr);
void setPreserveAlpha(boolean z);
void setSource(Filter filter);
void setTarget(Point point);
}
@@ -0,0 +1,30 @@
package org.apache.batik.ext.awt.image.renderable;
import java.awt.geom.Rectangle2D;
import org.apache.batik.ext.awt.image.Light;
public interface DiffuseLightingRable extends FilterColorInterpolation {
double getKd();
double[] getKernelUnitLength();
Light getLight();
Rectangle2D getLitRegion();
Filter getSource();
double getSurfaceScale();
void setKd(double d);
void setKernelUnitLength(double[] dArr);
void setLight(Light light);
void setLitRegion(Rectangle2D rectangle2D);
void setSource(Filter filter);
void setSurfaceScale(double d);
}
@@ -0,0 +1,25 @@
package org.apache.batik.ext.awt.image.renderable;
import java.util.List;
import org.apache.batik.ext.awt.image.ARGBChannel;
public interface DisplacementMapRable extends FilterColorInterpolation {
public static final int CHANNEL_A = 4;
public static final int CHANNEL_B = 3;
public static final int CHANNEL_G = 2;
public static final int CHANNEL_R = 1;
double getScale();
ARGBChannel getXChannelSelector();
ARGBChannel getYChannelSelector();
void setScale(double d);
void setSources(List list);
void setXChannelSelector(ARGBChannel aRGBChannel);
void setYChannelSelector(ARGBChannel aRGBChannel);
}
@@ -0,0 +1,15 @@
package org.apache.batik.ext.awt.image.renderable;
import java.awt.Shape;
import java.awt.geom.Rectangle2D;
import java.awt.image.renderable.RenderableImage;
public interface Filter extends RenderableImage {
Rectangle2D getBounds2D();
Shape getDependencyRegion(int i, Rectangle2D rectangle2D);
Shape getDirtyRegion(int i, Rectangle2D rectangle2D);
long getTimeStamp();
}
@@ -0,0 +1,21 @@
package org.apache.batik.ext.awt.image.renderable;
import java.awt.geom.Rectangle2D;
public interface FilterChainRable extends Filter {
Rectangle2D getFilterRegion();
int getFilterResolutionX();
int getFilterResolutionY();
Filter getSource();
void setFilterRegion(Rectangle2D rectangle2D);
void setFilterResolutionX(int i);
void setFilterResolutionY(int i);
void setSource(Filter filter);
}
@@ -0,0 +1,11 @@
package org.apache.batik.ext.awt.image.renderable;
import java.awt.color.ColorSpace;
public interface FilterColorInterpolation extends Filter {
ColorSpace getOperationColorSpace();
boolean isColorSpaceLinear();
void setColorSpaceLinear(boolean z);
}
@@ -0,0 +1,15 @@
package org.apache.batik.ext.awt.image.renderable;
public interface FilterResRable extends Filter {
int getFilterResolutionX();
int getFilterResolutionY();
Filter getSource();
void setFilterResolutionX(int i);
void setFilterResolutionY(int i);
void setSource(Filter filter);
}
@@ -0,0 +1,14 @@
package org.apache.batik.ext.awt.image.renderable;
import java.awt.Paint;
import java.awt.geom.Rectangle2D;
public interface FloodRable extends Filter {
Paint getFloodPaint();
Rectangle2D getFloodRegion();
void setFloodPaint(Paint paint);
void setFloodRegion(Rectangle2D rectangle2D);
}
@@ -0,0 +1,15 @@
package org.apache.batik.ext.awt.image.renderable;
public interface GaussianBlurRable extends FilterColorInterpolation {
Filter getSource();
double getStdDeviationX();
double getStdDeviationY();
void setSource(Filter filter);
void setStdDeviationX(double d);
void setStdDeviationY(double d);
}
@@ -0,0 +1,19 @@
package org.apache.batik.ext.awt.image.renderable;
public interface MorphologyRable extends Filter {
boolean getDoDilation();
double getRadiusX();
double getRadiusY();
Filter getSource();
void setDoDilation(boolean z);
void setRadiusX(double d);
void setRadiusY(double d);
void setSource(Filter filter);
}
@@ -0,0 +1,15 @@
package org.apache.batik.ext.awt.image.renderable;
public interface OffsetRable extends Filter {
Filter getSource();
double getXoffset();
double getYoffset();
void setSource(Filter filter);
void setXoffset(double d);
void setYoffset(double d);
}
@@ -0,0 +1,18 @@
package org.apache.batik.ext.awt.image.renderable;
import java.awt.geom.Rectangle2D;
import org.apache.batik.ext.awt.image.PadMode;
public interface PadRable extends Filter {
PadMode getPadMode();
Rectangle2D getPadRect();
Filter getSource();
void setPadMode(PadMode padMode);
void setPadRect(Rectangle2D rectangle2D);
void setSource(Filter filter);
}
@@ -0,0 +1,7 @@
package org.apache.batik.ext.awt.image.renderable;
import java.awt.Graphics2D;
public interface PaintRable {
boolean paintRable(Graphics2D graphics2D);
}

Some files were not shown because too many files have changed in this diff Show More