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

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

public class IncludeCompactPropertyNode
extends java.lang.Object

The includeCompactProperty node is a data structure to store this syntax: border: 1px solid -tr-property-ref(".AFDarkColor:alias",color); which should resolve to border: 1px solid #cccccc; (if #cccccc is .AFDarkColor:alias's color. This is similar to includeProperty element, but it is used on compact css property values. An IncludePropertyNode is a data structure to store this syntax: color: -tr-property-ref(".AFDarkColor:alias",color); includeProperty element is used to include a single property of one style within another style. Thus, the includeProperty element is very similar to the includeStyle element. The only difference is that includeStyle includes all properties of the referenced style, whereas includeProperty includes only a single property.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/style/xml/parse/IncludeCompactPropertyNode.java#0 $) $Date: 10-nov-2005.18:58:07 $

Constructor Summary
IncludeCompactPropertyNode(java.lang.String propertyValues, java.util.List<IncludePropertyNode> includePropertyNodeList, java.lang.String localPropertyName)
          Creates an IncludeCompactPropertyNode.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Collection<IncludePropertyNode> getIncludedProperties()
           
 java.lang.String getLocalPropertyName()
          Returns the name of the style to include.
 java.lang.String getPropertyValues()
          Returns the name of the style to include.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncludeCompactPropertyNode

public IncludeCompactPropertyNode(java.lang.String propertyValues,
                                  java.util.List<IncludePropertyNode> includePropertyNodeList,
                                  java.lang.String localPropertyName)
Creates an IncludeCompactPropertyNode. If we have border: 1px solid -tr-property-ref(".AFDarkColor:alias",color); in the css file, then localPropertyName == border, propertyValues == {"1px solid"}, and includePropertyNodeList will contain the -tr-property-ref(".AFDarkColor:alias",color);

Parameters:
includePropertyNodeList -
propertyValues -
localPropertyName -
Method Detail

getLocalPropertyName

public java.lang.String getLocalPropertyName()
Returns the name of the style to include.


getPropertyValues

public java.lang.String getPropertyValues()
Returns the name of the style to include.


getIncludedProperties

public java.util.Collection<IncludePropertyNode> getIncludedProperties()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.