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,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);
}