org.apache.myfaces.trinidadinternal.style.xml.parse
Class StyleNode

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.style.xml.parse.StyleNode

public class StyleNode
extends java.lang.Object

Private implementation of StyleNode.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/style/xml/parse/StyleNode.java#0 $) $Date: 10-nov-2005.18:58:11 $
Author:
The Oracle ADF Faces Team

Constructor Summary
StyleNode(java.lang.String name, java.lang.String selector, PropertyNode[] properties, CompoundPropertyNode[] compoundProperties, IncludeStyleNode[] includedStyles, IncludePropertyNode[] includedProperties, java.util.Set<java.lang.String> inhibitedProperties)
          Creates a Style with the specified properties
 
Method Summary
 java.util.Iterator<CompoundPropertyNode> getCompoundProperties()
          Returns an Iterator containing Strings and IncludePropertyNodes.
 java.util.Iterator<IncludePropertyNode> getIncludedProperties()
          Returns an Iterator of IncludePropertyNodes.
 java.util.Iterator<IncludeStyleNode> getIncludedStyles()
          Returns an Iterator of IncludeStyleNodes.
 java.util.Iterator<java.lang.String> getInhibitedProperties()
          Gets the properties specified by this node's parent that should be ignored.
 java.lang.String getName()
          Implementation of StyleNode.getName().
 java.util.Iterator<PropertyNode> getProperties()
          Implementation of StyleNode.getProperties().
 java.lang.String getSelector()
          Implementation of StyleNode.getSelector().
 boolean isEmpty()
          Returns true if the style node has no properties.
 boolean isInhibitingAll()
          Determines if this node inhibits all of its inherited properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleNode

public StyleNode(java.lang.String name,
                 java.lang.String selector,
                 PropertyNode[] properties,
                 CompoundPropertyNode[] compoundProperties,
                 IncludeStyleNode[] includedStyles,
                 IncludePropertyNode[] includedProperties,
                 java.util.Set<java.lang.String> inhibitedProperties)
Creates a Style with the specified properties

Method Detail

getName

public java.lang.String getName()
Implementation of StyleNode.getName().


getSelector

public java.lang.String getSelector()
Implementation of StyleNode.getSelector().


isEmpty

public boolean isEmpty()
Returns true if the style node has no properties.


getProperties

public java.util.Iterator<PropertyNode> getProperties()
Implementation of StyleNode.getProperties().


getCompoundProperties

public java.util.Iterator<CompoundPropertyNode> getCompoundProperties()
Returns an Iterator containing Strings and IncludePropertyNodes.


getIncludedStyles

public java.util.Iterator<IncludeStyleNode> getIncludedStyles()
Returns an Iterator of IncludeStyleNodes.


getIncludedProperties

public java.util.Iterator<IncludePropertyNode> getIncludedProperties()
Returns an Iterator of IncludePropertyNodes.


getInhibitedProperties

public java.util.Iterator<java.lang.String> getInhibitedProperties()
Gets the properties specified by this node's parent that should be ignored. This method will return an empty iterator if isInhibitingAll() returns true

Returns:
an iterator over the properties that should be ignored, an empty iterator if all properties should be.

isInhibitingAll

public boolean isInhibitingAll()
Determines if this node inhibits all of its inherited properties.

Returns:
true if this node ignores all properties defined by its parent, false otherwise.


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.