info.informatica.doc.style.css.property
Class CSSPropertyName

java.lang.Object
  extended by info.informatica.doc.style.css.property.CSSPropertyName
Direct Known Subclasses:
ShorthandPropertyName, SubPropertyName

public class CSSPropertyName
extends Object

CSS property name.

Author:
Carlos Amengual (amengual at informatica.info)

Constructor Summary
CSSPropertyName(String name, boolean inherits)
           
 
Method Summary
 String getName()
          Gets the name of this property.
 boolean inherits()
          Does this property inherit value from ancestors ?
 boolean isShorthand()
          Is this property name a shorthand for other (sub)properties?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSSPropertyName

public CSSPropertyName(String name,
                       boolean inherits)
Method Detail

getName

public String getName()
Gets the name of this property.

Returns:
the name.

inherits

public boolean inherits()
Does this property inherit value from ancestors ?

Returns:
true if this property inherits value, false if not.

isShorthand

public boolean isShorthand()
Is this property name a shorthand for other (sub)properties?

Returns:
true if this is a shorthand, false otherwise.


Copyright © 2011 informatica.info. All Rights Reserved.