public class

Property

extends AbstractConfigurationElement
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.web.blocks.config.Property

Class Overview

THIS CLASS IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT. THE CLASS IS SUBJECT TO CHANGE IN FUTURE RELEASES AND SOME METHODS AND PROPERTIES MAY NOT BE SUITABLE FOR CUSTOM DEVELOPMENT.

Summary

Constants
String NODE_PROPERTY
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
Property()
Property(String name)
Public Methods
void addBlockConfig(BlockConfig blockConfig)
void addBlockListConfig(BlockListConfig blockListConfig)
String getAnnotation()
BlockConfig getBlockConfig()
BlockListConfig getBlockListConfig()
String getName()
String getType()
void setAnnotation(String annotation)
void setName(String name)
void setPropertyValue(String propertyValue)
void setType(String type)
Protected Methods
String getKeyAttribute()
This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.
void initElementsFromXML(Node root, String sourceKey, CustomizationInfo c)
Initializes the list of child-elements from given Node
void setNodeValue(String value)
Returns the node value for this element.
boolean useNodeValue()
Controls whether this element will use the node value as a property.
[Expand]
Inherited Methods
From class com.microstrategy.utils.config.AbstractConfigurationElement
From class java.lang.Object
From interface com.microstrategy.utils.config.ConfigurationElement
From interface com.microstrategy.utils.config.ConfigurationFile

Constants

public static final String NODE_PROPERTY

Constant Value: "property"

Public Constructors

public Property ()

public Property (String name)

Public Methods

public void addBlockConfig (BlockConfig blockConfig)

public void addBlockListConfig (BlockListConfig blockListConfig)

public String getAnnotation ()

public BlockConfig getBlockConfig ()

public BlockListConfig getBlockListConfig ()

public String getName ()

public String getType ()

public void setAnnotation (String annotation)

public void setName (String name)

public void setPropertyValue (String propertyValue)

public void setType (String type)

Protected Methods

protected String getKeyAttribute ()

This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.

protected void initElementsFromXML (Node root, String sourceKey, CustomizationInfo c)

Initializes the list of child-elements from given Node

protected void setNodeValue (String value)

Returns the node value for this element. The node value represents the inner context of the xml tag. If multiple ElementSources are defined for this element, it returns the value of the one with greater priority.

protected boolean useNodeValue ()

Controls whether this element will use the node value as a property. For example, nodes defined as:


  <a att="1">This is the node value</a>
 
can expose a property which will return the node's value (This is the node vale). When this is the case, though, the element can't have any sub elements. They're mutually exclusive.

Returns
  • false by default. Override this method if you want to associate the node value with some property.