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