org.eclipse.birt.report.model.api
Class FactoryElementHandle

java.lang.Object
  extended by org.eclipse.birt.report.model.api.FactoryElementHandle

public class FactoryElementHandle
extends java.lang.Object

Factory element handle class to retrieve some factory styles.


Method Summary
 java.util.List<StyleHandle> getAllFactoryStyles()
          Gets all the factory style handle.
 FactoryPropertyHandle getFactoryPropertyHandle(java.lang.String propName)
          Returns a handle for a top-level property for use in preparing the Factory data structures.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAllFactoryStyles

public java.util.List<StyleHandle> getAllFactoryStyles()
Gets all the factory style handle. The list contains the shared style defined by 'style' property, the computed style that stores all the value inherited from all the ancestors of this element, all the selectors defined by this element and the style that stores the value computed from some related container. The list does not contain the private style that stores the local value set by this element itself and the cascading computed style from container.

Returns:
all the factory style handles

getFactoryPropertyHandle

public FactoryPropertyHandle getFactoryPropertyHandle(java.lang.String propName)
Returns a handle for a top-level property for use in preparing the Factory data structures. This handle follows specialized rules:

Parameters:
propName - the name of the property to get
Returns:
the factory property handle, or null if either 1) no property exists with the given name or 2) the property is a style property and is not set in a private style.


Copyright © 2008 Actuate Corp. All rights reserved.