com.adactus.mpeg21.didl.model
Interface Condition

All Known Implementing Classes:
ConditionType

public interface Condition

The condition is part of a simple boolean-algebra-style mechanism for selecting and/or discriminating parts of a digital item.

A condition describes the enclosing element as being conditional (thus in other words optional).

When determining whether to include the element, a single condition may reference multiple selections, which resolve together (AND relationship - all must be true). If the enclosing element contains multiple conditions, each condition resolves alone (OR relationship - one must be true).


Method Summary
 java.lang.String[] getExcepts()
          Get the selections which together resolve this condition to false
 java.lang.String[] getRequires()
          Get the selections which together resolve this condition to true
 

Method Detail

getExcepts

java.lang.String[] getExcepts()
Get the selections which together resolve this condition to false

Returns:
an array of selections which will resolve this condition to false

getRequires

java.lang.String[] getRequires()
Get the selections which together resolve this condition to true

Returns:
an array of selections which will resolve this condition to true