Interface Perspective

  • All Superinterfaces:
    Domable, PerspectiveView
    All Known Implementing Classes:
    PerspectiveI

    public interface Perspective
    extends PerspectiveView
    Interface for adhoc and dynamic trees.

    There is no distinction between text, attributes and elements like in XML, as there is no actual meaning in this distinction. In XML this is used for rendering and helps to distinct between text and elements in XSL. In Perspective this distinction is done via name spaces.

    IDEA Create alternative to XSL.

    A perspective is like an variable. An variable may only hold one value, that may be a list of values. A perspective holds a value and a list of perspectives. In other words, a Perspective is an structure for variables.

    It has a name in a certain scope which is the namespace. The name is only valid in this scope and may restrict the possible values of the perspective. In other words the namespace may have an type encoded in it, that is described externally. A perspective has a value, if it only contains exactly one value. A perspective has children, if it contains multiple values.