ilog.views.appframe.settings
Interface IlvSettingsModel

All Known Subinterfaces:
IlvMutableSettingsModel

public interface IlvSettingsModel

Defines the data model for IlvSettings.

See Also:
IlvSettings

Method Summary
 String[] getAttributes(Object element)
          Returns the attributes of the specified element.
 Object getAttributeValue(Object element, String attributeName)
          Returns an attribute value of the specified element.
 Object[] getChildren(Object element)
          Returns the children of the specified element.
 Object getParent(Object element)
          Returns the parent of the specified object.
 String getType(Object element)
          Returns the type of the specified element.
 

Method Detail

getParent

Object getParent(Object element)
Returns the parent of the specified object.

Parameters:
element - The object to retrieve the parent from.
Returns:
The parent object of the specified object or null if the specified object is a root of this query source.

getChildren

Object[] getChildren(Object element)
Returns the children of the specified element.

Parameters:
element - The element to retrieve the children from.
Returns:
The array of children of the specified element.

getAttributeValue

Object getAttributeValue(Object element,
                         String attributeName)
Returns an attribute value of the specified element.

Parameters:
element - The object to retrieve an attribute value from.
attributeName - The name of the attribute to retrieve the value from.
Returns:
The attribute value.

getType

String getType(Object element)
Returns the type of the specified element. The type is specific to the model the settings map and may not be the classname of the element. For example, if the settings access a DOM model read from an XML file, the elements accessed through the settings will be the Element elements of the DOM model and the type of those elements will be their tag name.

Parameters:
element - The element to retrieve the type of.
Returns:
The name of the type of the element.

getAttributes

String[] getAttributes(Object element)
Returns the attributes of the specified element.

Returns:
The array of names of the attributes of the element.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.