| Package | Description |
|---|---|
| org.mmbase.bridge.jsp.taglib |
The MMBase taglib implementation.
|
| org.mmbase.datatypes |
This package defines and implements
DataTypes, which are a way to apply restrictions to and
annotate certain data. |
| org.mmbase.datatypes.processors |
Plugins into set- and getValue methods on Node (Setting and getting Fields).
|
| org.mmbase.datatypes.util.xml | |
| org.mmbase.framework |
The package contains the component framework of MMBase.
|
| org.mmbase.util.functions |
The function framework is all about the creation of
Function instances, from which
then, subsequently, function values can be acquired. |
| org.mmbase.util.xml |
| Modifier and Type | Method and Description |
|---|---|
protected BasicDataType |
DataTypeTag.getBaseDataType(DataTypeCollector collector) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLengthDataType<E>
A LengthDataType is a datatype that defines a length for its values (
AbstractLengthDataType.getLength(Object)) ,
and restrictions on that (minimal an maximal length). |
class |
BinaryDataType
The datatype associated with byte arrays ('blobs').
|
class |
BinaryStringDataType |
class |
BooleanDataType
The DataType associated with a boolean value.
|
class |
CaptchaDataType |
class |
CheckEqualityDataType
A confirmed datatype must have the same value as another field of the node (and makes
only sense as a field of a node).
|
class |
ComparableDataType<E extends Serializable & Comparable<E>>
Comparable datatypes have values which are
Comparable, so can be ordered, and
therefore can have a minimum and a maximum value. |
class |
ComponentNamesDataType
A StringDataType with the names of all installed components.
|
class |
ConfirmPasswordDataType
A confirmed password datatype must have the same value as another field of the node (and makes
only sense as a field of a node).
|
class |
DateTimeDataType
The date-time datatype further describes
Date objects. |
class |
DecimalDataType
DataType associated with
BigDecimal, a NumberDataType. |
class |
DoubleDataType
DataType associated with
Double, as NumberDataType, but provides getMin and getMax as double. |
class |
FloatDataType
DataType associated with
Float, as NumberDataType, but provides getMin and getMax as float. |
class |
IntegerDataType
DataType associated with
Integer, a NumberDataType, but provides getMin and getMax as int. |
class |
InternetAddressDataType
Validates a value by putting it into
InternetAddress.parse(String),
if no exception is caused by that, the value is valid. |
class |
LanguageDataType
Returns the current language as a default value.
|
class |
ListDataType |
class |
LongDataType
DataType associated with
Long, as NumberDataType, but provides getMin and getMax as long. |
class |
MustBeTrueDataType
A boolean datatype of which the value must be true.
|
class |
NodeDataType
The Node data type describes a data type which is based on an MMBase 'node' field.
|
class |
NodeManagerNamesDataType
A StringDataType with can take all possible node manager as values.
|
class |
NumberDataType<E extends Number & Comparable<E>>
A DataType representing some kind of numeric value, like a floating point number or an integer number.
|
class |
SecurityContextDataType
A StringDataType with all security contexts strings as possible value.
|
class |
StringDataType
The datatype for String fields.
|
class |
UniqueStringDataType
Like
StringDataType, but with an alternative implementation for the default value,
namely, ensuring that it is unique already. |
class |
UserNodeDataType
This 'Node' datatypes uses the framework to determin the currently logged in user object.
|
class |
WeekdaysDataType
An enumeration datatype representing all days of a week, so an integer with the value 1 through
7.
|
class |
XmlDataType
The data associated with 'XML' values (
Document). |
| Modifier and Type | Field and Description |
|---|---|
static BasicDataType |
Constants.DATATYPE_BINARY |
static BasicDataType |
Constants.DATATYPE_BOOLEAN |
static BasicDataType |
Constants.DATATYPE_DATETIME |
static BasicDataType |
Constants.DATATYPE_DOUBLE |
static BasicDataType |
Constants.DATATYPE_FLOAT |
static BasicDataType |
Constants.DATATYPE_INTEGER |
static BasicDataType |
Constants.DATATYPE_LONG |
static BasicDataType |
Constants.DATATYPE_NODE |
static BasicDataType |
Constants.DATATYPE_STRING |
static BasicDataType |
Constants.DATATYPE_UNKNOWN |
static BasicDataType |
Constants.DATATYPE_XML |
protected BasicDataType<?> |
BasicDataType.origin
The datatype from which this datatype originally inherited it's properties.
|
protected BasicDataType<?> |
BasicDataType.StaticAbstractRestriction.parent |
protected BasicDataType<D> |
BasicDataType.DataTypeComparator.parent |
| Modifier and Type | Method and Description |
|---|---|
BasicDataType<?> |
DataTypeCollector.addDataType(BasicDataType<?> dataType)
Adds a datatype to this collector.
|
BasicDataType<C> |
BasicDataType.clone()
Returns a cloned instance of this datatype, inheriting all validation rules.
|
BasicDataType<C> |
BasicDataType.clone(String name)
Returns a cloned instance of this datatype, inheriting all validation rules.
|
static <C> BasicDataType<C> |
DataTypes.createDataType(String name,
Class<C> classType)
Create an instance of a DataType based on the class passed.
|
static BasicDataType |
DataTypes.getDataType(int type)
Returns the basic DataType that matches the passed type.
|
static BasicDataType |
DataTypes.getDataType(String name)
Returns a DataType from the the available set of datatypes accessible throughout the application,
or
null if that type does not exist. |
BasicDataType<?> |
DataTypeCollector.getDataType(String name)
Get a datatype defined for this collector.
|
BasicDataType<?> |
DataTypeCollector.getDataType(String name,
boolean recursive)
Get a datatype defined for this collector, and possibly any collectors it depends on.
|
static BasicDataType |
DataTypes.getDataTypeForFieldAttribute(String fieldAttribute)
Get the datatype a defined for a certain field of a certain node manager, of a certain cloud context.
|
static BasicDataType |
DataTypes.getDataTypeInstance(String name,
BasicDataType baseDataType)
Returns a DataType instance.
|
BasicDataType<?> |
DataTypeCollector.getDataTypeInstance(String name,
DataType<?> baseDataType)
Get a datatype instance through this collector.
|
static BasicDataType |
DataTypes.getDataTypeInstance(String name,
int type)
Returns a DataType instance.
|
BasicDataType<?> |
BasicDataType.getOrigin()
Return the DataType from which this one inherited, or
null |
| Modifier and Type | Method and Description |
|---|---|
Map<String,BasicDataType<?>> |
DataTypeCollector.getDataTypes()
Set local datatypes of the collector
|
| Modifier and Type | Method and Description |
|---|---|
BasicDataType<?> |
DataTypeCollector.addDataType(BasicDataType<?> dataType)
Adds a datatype to this collector.
|
static DataType |
DataTypes.addFinalDataType(BasicDataType dataType)
Add an instance of a DataType to the set of data types that are available thoughout the application.
|
protected void |
InternetAddressDataType.cloneRestrictions(BasicDataType origin) |
protected void |
NodeDataType.cloneRestrictions(BasicDataType origin) |
protected void |
ListDataType.cloneRestrictions(BasicDataType origin) |
protected void |
StringDataType.cloneRestrictions(BasicDataType origin) |
protected void |
DecimalDataType.cloneRestrictions(BasicDataType origin) |
protected void |
CheckEqualityDataType.cloneRestrictions(BasicDataType origin) |
protected void |
BinaryDataType.cloneRestrictions(BasicDataType origin) |
protected void |
BasicDataType.cloneRestrictions(BasicDataType<C> origin)
If a datatype is cloned, the restrictions of it (normally implemented as inner classes), must be reinstantiated.
|
protected void |
ComparableDataType.cloneRestrictions(BasicDataType<E> origin) |
protected void |
AbstractLengthDataType.cloneRestrictions(BasicDataType<E> origin) |
static BasicDataType |
DataTypes.getDataTypeInstance(String name,
BasicDataType baseDataType)
Returns a DataType instance.
|
void |
BasicDataType.inherit(BasicDataType<C> origin)
|
protected void |
DateTimeDataType.inheritProperties(BasicDataType origin) |
protected void |
BasicDataType.inheritProperties(BasicDataType<C> origin)
Properties are members of the datatype that can easily be copied/clones.
|
protected void |
StringDataType.inheritProperties(BasicDataType<String> origin) |
protected void |
InternetAddressDataType.inheritRestrictions(BasicDataType origin) |
protected void |
NodeDataType.inheritRestrictions(BasicDataType origin) |
protected void |
ListDataType.inheritRestrictions(BasicDataType origin) |
protected void |
StringDataType.inheritRestrictions(BasicDataType origin) |
protected void |
DecimalDataType.inheritRestrictions(BasicDataType origin) |
protected void |
CheckEqualityDataType.inheritRestrictions(BasicDataType origin) |
protected void |
IntegerDataType.inheritRestrictions(BasicDataType origin) |
protected void |
BasicDataType.inheritRestrictions(BasicDataType<C> origin)
If a datatype inherits from another datatype all its restrictions inherit too.
|
protected void |
ComparableDataType.inheritRestrictions(BasicDataType<E> origin) |
protected void |
AbstractLengthDataType.inheritRestrictions(BasicDataType<E> origin) |
| Modifier and Type | Method and Description |
|---|---|
void |
DataTypeCollector.setDataTypes(Map<String,BasicDataType<?>> dataTypes)
Set local datatypes of the collector
|
| Constructor and Description |
|---|
DataTypeComparator(BasicDataType<D> p) |
MaxRestriction(BasicDataType<?> dt,
AbstractLengthDataType.MaxRestriction source) |
MaxRestriction(BasicDataType<?> dt,
long max) |
MinRestriction(BasicDataType<?> dt,
AbstractLengthDataType.MinRestriction source) |
MinRestriction(BasicDataType<?> dt,
long min) |
StaticAbstractRestriction(BasicDataType<?> parent,
BasicDataType.StaticAbstractRestriction<?> source)
Instantaties new restriction for a clone of the parent DataType.
|
StaticAbstractRestriction(BasicDataType<?> parent,
String name,
D value) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Duration.DataType |
| Modifier and Type | Field and Description |
|---|---|
BasicDataType<?> |
DataTypeDefinition.dataType
The data type which will be produced
|
| Modifier and Type | Method and Description |
|---|---|
BasicDataType |
DependencyException.fallback() |
| Modifier and Type | Method and Description |
|---|---|
(package private) DataTypeDefinition |
DataTypeDefinition.configure(Element dataTypeElement,
BasicDataType<?> requestBaseDataType)
Configures the data type definition, using data from a DOM element
|
static DataTypeDefinition |
DataTypeReader.readDataType(Element typeElement,
BasicDataType baseDataType,
DataTypeCollector collector)
Reads a datatype.
|
static List<DependencyException> |
DataTypeReader.readDataTypes(Element dataTypesElement,
DataTypeCollector collector,
BasicDataType baseDataType)
Initialize the data types default supported by the system.
|
| Constructor and Description |
|---|
DependencyException(Element el,
BasicDataType rdt,
DataTypeDefinition def) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Setting.DataType |
| Modifier and Type | Method and Description |
|---|---|
static DataType |
BeanFunction.getDataType(String value,
BasicDataType base)
Given a string and a 'base' datatype, produces a new
DataType. |
| Modifier and Type | Method and Description |
|---|---|
protected BasicDataType |
BuilderReader.getDataTypeForFieldAttribute(String fieldAttribute) |
protected BasicDataType |
AbstractBuilderReader.getDataTypeForFieldAttribute(String fieldAttribute) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,BasicDataType<?>> |
AbstractBuilderReader.getDataTypes(DataTypeCollector collector)
Get the datatypes defined for this builder.
|
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}