Primitive data types used in content models
This one is a little weak
IDL:
interface CMDataType {
const short STRING_DATATYPE = 1;
const short BOOLEAN_DATATYPE = 2;
const short FLOAT_DATATYPE = 3;
const short DOUBLE_DATATYPE = 4;
const short LONG_DATATYPE = 5;
const short INT_DATATYPE = 6;
const short SHORT_DATATYPE = 7;
const short BYTE_DATATYPE = 8;
attribute int lowValue;
attribute int highValue;
short getPrimitiveType();
};
Java binding:
package org.w3c.dom.contentModel;
public interface CMDataType {
public static final short STRING_DATATYPE = 1;
public static final short BOOLEAN_DATATYPE = 2;
public static final short FLOAT_DATATYPE = 3;
public static final short DOUBLE_DATATYPE = 4;
public static final short LONG_DATATYPE = 5;
public static final short INT_DATATYPE = 6;
public static final short SHORT_DATATYPE = 7;
public static final short BYTE_DATATYPE = 8;
public int getLowValue();
public void setLowValue(int lowValue);
public int getHighValue();
public void setHighValue(int highValue);
public short getPrimitiveType();
}