package org.apache.fop.fo.properties;
import org.apache.fop.datatypes.*;
import org.apache.fop.fo.*;
import org.apache.fop.apps.FOPException;
import org.apache.fop.messaging.MessageHandler;
public class extends Property {
public static class Maker extends Property.Maker {
public boolean isInherited() { return ; }
public Property make(PropertyList propertyList, String value) throws FOPException {
v;
double d = toDouble(value);
if (value.equals("")) {
v = new ();
}
else if (!Double.isNaN(d)) {
v = new ( );
}
else {
v = new ();
}
return new (propertyList, v);
return new (propertyList, new (value));
}
public Property make(PropertyList propertyList) throws FOPException {
return make(propertyList, "");
}
}
public static Property.Maker maker() {
return new .Maker();
}
private value;
public (PropertyList propertyList, explicitValue) {
this.propertyList = propertyList;
this.value = explicitValue;
}
public get() {
return this.value;
}
}
package org.apache.fop.fo.properties;
import org.apache.fop.datatypes.*;
import org.apache.fop.fo.*;
import org.apache.fop.apps.FOPException;
import org.apache.fop.messaging.MessageHandler;
public class extends Property {
public final static int = ;
public static class Maker extends Property.Maker {
public boolean isInherited() { return ; }
public Property make(PropertyList propertyList, String value) throws FOPException {
int v;
if (value.equals("")) { v = ; }
else
{
MessageHandler.errorln("WARNING: Unknown value for : " + value);
return make(propertyList, "");
}
return new (propertyList, v);
}
public Property make(PropertyList propertyList) throws FOPException {
return make(propertyList, "");
}
public Property compute(PropertyList propertyList) {
Property computedProperty = null;
Property correspondingProperty = propertyList.get("");
if (correspondingProperty != null) {
int correspondingValue = correspondingProperty.getEnum();
if (correspondingValue == )
computedProperty = new (propertyList, );
else
;
}
return computedProperty;
}
}
public static Property.Maker maker() {
return new .Maker();
}
private int value;
public (PropertyList propertyList, int explicitValue) {
this.propertyList = propertyList;
this.value = explicitValue;
}
public int getEnum() {
return this.value;
}
}